* Re: SAINT on Alpha... no go..
@ 1999-02-04 5:30 Designer 7
0 siblings, 0 replies; 4+ messages in thread
From: Designer 7 @ 1999-02-04 5:30 UTC (permalink / raw)
To: axp-list
AH.... damn.. I'd kiss you if I could... I see what it was..
Thanks so much!!!! man.... don't take my kiss offer seriously.. but
really, thanks!!! I've been looking at this code over and over and
over..... I should have looked in the makefile...
D.
>Date: Thu, 04 Feb 1999 06:23:44 +0000
>From: "Wes Bauske" <wsb@paralleldata.com>
>To: axp-list@redhat.com
>Subject: Re: SAINT on Alpha... no go..
>Reply-To: axp-list@redhat.com
>
>Designer 7 wrote:
>>
>> Hi,
>>
>> Well... I had several buddies at work (long time experienced
>> programmers) take a look at the problem I'm having compiling SAINT on
>> Alpha.... no one seems to understand what's going on... check the
>> preprocessor output.. seems fine. Odd things happening though... when
I
>> added an extra var to the function that was giving the problem.. I
got
>> some really odd results... bascially, I added:
>>
>> int foo;
>> foo = ip->ip_v;
>>
>> and I got some error saying that:
>> parse error before line xxx (the int foo line above)
>> undeclared variable foo (first used in this function) ...
>>
>> or something along those lines. The thing is, I can't visually see
>> anything wrong at ALL. there is just a block of comments right above
>> those two lines that are from the original code.
>>
>> Seeing that this code compiled without any problems at all on
>> i386/Linux.... I'm not sure if architecture differences is causing
the
>> problem.. and even if there are such issues.. these don't look like
the
>> type of errors I would get. I'm beginning to think that perhaps there
is
>> something odd with my compiler system, or there are some quirks with
>> egcs-1.1.1-7....
>>
>
>Well, after looking at the source code, it appears this
>package has it's OWN version of <netinet/ip.h> that has
>the wrong #ifdef's in it for Alphas. Fix the Makefile
>as follows:
>
>linux:
> @$(MAKE) all LIBS= XFLAGS=" -O2 -D__USE_BSD -D_BSD_SOURCE
-DSYS_ERRLIST_DECLARED
>-DAUTH_GID_T=int -g"
>
>I added the -O2 just in case this code needs some optimization.
>
>Didn't bother to run it since I don't plan on using it.
>
>It built with this on my system but did bitch about things
>a bit.
>
>Good luck.
>
>
>Wes
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SAINT on Alpha... no go..
@ 1999-02-04 13:32 Tommy, King
0 siblings, 0 replies; 4+ messages in thread
From: Tommy, King @ 1999-02-04 13:32 UTC (permalink / raw)
To: axp-list
Seen this before, it happened when I was OUT OF DISK SPACE :-).
Tommy
-----Original Message-----
From: Designer 7 <designer_7@hotmail.com>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Thursday, February 04, 1999 11:39 AM
Subject: SAINT on Alpha... no go..
>Hi,
>
>Well... I had several buddies at work (long time experienced
>programmers) take a look at the problem I'm having compiling SAINT on
>Alpha.... no one seems to understand what's going on... check the
>preprocessor output.. seems fine. Odd things happening though... when I
>added an extra var to the function that was giving the problem.. I got
>some really odd results... bascially, I added:
>
>int foo;
>foo = ip->ip_v;
>
>and I got some error saying that:
>parse error before line xxx (the int foo line above)
>undeclared variable foo (first used in this function) ...
>
>or something along those lines. The thing is, I can't visually see
>anything wrong at ALL. there is just a block of comments right above
>those two lines that are from the original code.
>
>Seeing that this code compiled without any problems at all on
>i386/Linux.... I'm not sure if architecture differences is causing the
>problem.. and even if there are such issues.. these don't look like the
>type of errors I would get. I'm beginning to think that perhaps there is
>something odd with my compiler system, or there are some quirks with
>egcs-1.1.1-7....
>
>D.
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* SAINT on Alpha... no go..
@ 1999-02-04 3:38 Designer 7
1999-02-04 6:23 ` Wes Bauske
0 siblings, 1 reply; 4+ messages in thread
From: Designer 7 @ 1999-02-04 3:38 UTC (permalink / raw)
To: axp-list
Hi,
Well... I had several buddies at work (long time experienced
programmers) take a look at the problem I'm having compiling SAINT on
Alpha.... no one seems to understand what's going on... check the
preprocessor output.. seems fine. Odd things happening though... when I
added an extra var to the function that was giving the problem.. I got
some really odd results... bascially, I added:
int foo;
foo = ip->ip_v;
and I got some error saying that:
parse error before line xxx (the int foo line above)
undeclared variable foo (first used in this function) ...
or something along those lines. The thing is, I can't visually see
anything wrong at ALL. there is just a block of comments right above
those two lines that are from the original code.
Seeing that this code compiled without any problems at all on
i386/Linux.... I'm not sure if architecture differences is causing the
problem.. and even if there are such issues.. these don't look like the
type of errors I would get. I'm beginning to think that perhaps there is
something odd with my compiler system, or there are some quirks with
egcs-1.1.1-7....
D.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: SAINT on Alpha... no go..
1999-02-04 3:38 Designer 7
@ 1999-02-04 6:23 ` Wes Bauske
0 siblings, 0 replies; 4+ messages in thread
From: Wes Bauske @ 1999-02-04 6:23 UTC (permalink / raw)
To: axp-list
Designer 7 wrote:
>
> Hi,
>
> Well... I had several buddies at work (long time experienced
> programmers) take a look at the problem I'm having compiling SAINT on
> Alpha.... no one seems to understand what's going on... check the
> preprocessor output.. seems fine. Odd things happening though... when I
> added an extra var to the function that was giving the problem.. I got
> some really odd results... bascially, I added:
>
> int foo;
> foo = ip->ip_v;
>
> and I got some error saying that:
> parse error before line xxx (the int foo line above)
> undeclared variable foo (first used in this function) ...
>
> or something along those lines. The thing is, I can't visually see
> anything wrong at ALL. there is just a block of comments right above
> those two lines that are from the original code.
>
> Seeing that this code compiled without any problems at all on
> i386/Linux.... I'm not sure if architecture differences is causing the
> problem.. and even if there are such issues.. these don't look like the
> type of errors I would get. I'm beginning to think that perhaps there is
> something odd with my compiler system, or there are some quirks with
> egcs-1.1.1-7....
>
Well, after looking at the source code, it appears this
package has it's OWN version of <netinet/ip.h> that has
the wrong #ifdef's in it for Alphas. Fix the Makefile
as follows:
linux:
@$(MAKE) all LIBS= XFLAGS=" -O2 -D__USE_BSD -D_BSD_SOURCE -DSYS_ERRLIST_DECLARED
-DAUTH_GID_T=int -g"
I added the -O2 just in case this code needs some optimization.
Didn't bother to run it since I don't plan on using it.
It built with this on my system but did bitch about things
a bit.
Good luck.
Wes
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-02-04 14:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-04 5:30 SAINT on Alpha... no go Designer 7
-- strict thread matches above, loose matches on Subject: below --
1999-02-04 13:32 Tommy, King
1999-02-04 3:38 Designer 7
1999-02-04 6:23 ` Wes Bauske
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox