Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: SAINT on Alpha... no go..
Date: Thu, 04 Feb 1999 06:23:44 +0000	[thread overview]
Message-ID: <36B93CF0.25409219@paralleldata.com> (raw)
In-Reply-To: 19990204033828.2402.qmail@hotmail.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


  reply	other threads:[~1999-02-04  5:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-04  3:38 SAINT on Alpha... no go Designer 7
1999-02-04  6:23 ` Wes Bauske [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-04  5:30 Designer 7
1999-02-04 13:32 Tommy, King
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox