🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #55882

Re: SATAN on Linux RH 4.1 probs

#55882
From: James Youngman
Date: Tue, 29 Apr 1997 00:00
43 lines
2231 bytes
In article <01bc4f13$0adf23a0$011a05cb@lenny>, edy@egan.com.au says...
>
>
>Greetings,
>
>I've downloaded SATAN 1.1.1 (with Linux patch) and am having probs
>compiling under Linux RedHat 4.1 (2.0.27).
>
>The reconfig works OK, but I get the following when I run make linux:
>
>% make linux
>The LINUX rules are untested and may be wrong
>make[1]: Entering directory `/usr/local/src/satan-1.1.1.clean'
>cd src/misc; make "LIBS=" "XFLAGS=-DAUTH_GID_T=gid_t" "RPCGEN=rpcgen"
>make[2]: Entering directory `/usr/local/src/satan-1.1.1.clean/src/misc'
>cc -O2 -m486 -I. -DAUTH_GID_T=gid_t   -c rex_xdr.c -o rex_xdr.o
>rex_xdr.c: In function `xdr_sgttyb':
>rex_xdr.c:171: parse error before `int'
>rex_xdr.c: In function `xdr_tchars':
>rex_xdr.c:191: parse error before `int'
>rex_xdr.c: In function `xdr_ltchars':
>rex_xdr.c:208: parse error before `int'
>make[2]: *** [rex_xdr.o] Error 1
>make[2]: Leaving directory `/usr/local/src/satan-1.1.1.clean/src/misc'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/usr/local/src/satan-1.1.1.clean'
>make: *** [linux] Error 2
>%
>
>Any ideas? I'd appreciate any hints ...

This is caused by what appears to be a bug in the latest version of NetKit-B -- 
in the rpcgen program.  If you run rex_xdr.c through the filter

grep -v '$(void)buf;'

the result will (1) be correct C, and (2) compile.   

-- 
James Youngman       VG Gas Analysis Systems  The trouble with the rat-race 
Before sending advertising material, read     is, even if you win, you're 
http://www.law.cornell.edu/uscode/47/227.html         still a rat.
Technical Details
Message-ID: <5k4h15$p1$5@halon.vggas.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bc4f13$0adf23a0$011a05cb@lenny>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f922c,943f606c8cdf1f89
X-Google-Attributes: gidf922c,public
X-Google-Thread: 10669a,943f606c8cdf1f89
X-Google-Attributes: gid10669a,public
X-Google-Thread: 102983,943f606c8cdf1f89
X-Google-Attributes: gid102983,public
From: JYoungman@vggas.com (James Youngman)
Subject: Re: SATAN on Linux RH 4.1 probs
Date: 1997/04/29
Message-ID: <5k4h15$p1$5@halon.vggas.com>
X-Deja-AN: 238186207
References: <01bc4f13$0adf23a0$011a05cb@lenny>
Organization: VG Gas Analysis Systems
Newsgroups: aus.computers.linux,comp.os.linux.networking,comp.security.firewalls