From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <57c1aba1a5624e75a133235a7f128be7.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199706061704.NAA14392@shell.ncm.com> Date: Fri, 06 Jun 1997 21:45:23 -0800 From: Mike Tibor Subject: Compile Problems on RH 4.0 UDB Almost any time I try to compile anything on my UDB, gcc throws a fit, complaining about /usr/src/linux/include/linux/socketbits.h gcc -O2 -Wall -g -I. -I/home/tibor/rpms/net-tools -I/home/tibor/rpms/net-tools/include -c getargs.c -o getargs.o /usr/include/socketbits.h: In function `__cmsg_nxthdr': In file included from /usr/include/sys/socket.h:34, from getargs.c:17: /usr/include/socketbits.h:160: `NULL' undeclared (first use this function) /usr/include/socketbits.h:160: (Each undeclared identifier is reported only once /usr/include/socketbits.h:160: for each function it appears in.) make[1]: *** [getargs.o] Error 1 The box is running kernel 2.0.30, and had the original 2.0.30 source tree patched with the azstarnet diffs. I then replaced that tree with the redhat kernel source headers, but I keep getting the same errors. I did upgrade from glibc 960606 to 961212 using instructions I found in the axp-list archive, and I'm guessing it may have something to do with that. Any ideas? Thanks, Mike -- 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