GateD Compile Problems

HUGHESJEH@gvltec.edu
Mon, 29 Apr 1996 12:24:26 -0400 (EDT)


Hello All,

I have upgraded my system libraries and such to run the 95'+
kernels. I am trying to re-compile gated to get rid of the flock
messages. I've had a few problems and have a question.

I'm using gated-r3_5alpha_11.tar.gz with linux-1.3-gated.diffs
applied.

and...

binutils-2.6.0.12.bin.tar.gz
libg++-2.7.1.4.bin.tar.gz
gcc-2.7.2.bin.tar.gz
ld.so-1.7.14.tar.gz
modules-1.3.57.tar.gz
libc-5.3.12.bin.tar.gz
termcap-2.0.8.tar.gz
linux-1.3.95.tar.gz

The question first...

I put the flag for variable lengtn subnet masks in the Config
file. Can we do variable length subnet masks?

Now the problems...

I had errors in if.c (sizeof applied to incomplete type 'struct ip')

I commented out the '#ifdef __BSD_SOURCE' in <netinet/ip.h> and
the file compiled. I'm sure this is the wrong way to fix this (what is
the proper way to fix it?).

The file task.c is looking for 'struct cmsghdr'. I have looked
through all the header files in the /usr/include tree and the gated
source and haven't found anything close. If it's there, where can I
find it?

Thanks,

James Hughes
Engineering Technology Div.
Greenville Technical College

PS: BTW the new compiler/libs & '95 combination is much better on my system!