HOWEVER.
Compiliation proceeds fine for me until I get to net/core/sock.h. I
got a LOT of error messages, which seem to come from including extra
header files from libc6. Here is a snipped version of my error
messages:
make[3]: Entering directory `/usr/src/linux-2.1.81/net/core'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.81/include -Wall
-Wstrict-prototypes -O6 -
fomit-frame-pointer -pipe -fno-strength-reduce -mpentiumpro -DCPU=686
-c -o so
ck.o sock.c
In file included from /usr/include/sys/socket.h:34,
from /usr/src/linux-2.1.81/include/net/route.h:26,
from /usr/src/linux-2.1.81/include/net/ip.h:30,
from sock.c:114:
/usr/include/socketbits.h:40: warning: `SOCK_STREAM' redefined
/usr/src/linux-2.1.81/include/linux/socket.h:120: warning: this is the
location
of the previous definition
/usr/include/socketbits.h:43: warning: `SOCK_DGRAM' redefined
/usr/src/linux-2.1.81/include/linux/socket.h:121: warning: this is the
location
of the previous definition
[SNIP... A lot more of this]
In file included from /usr/include/sys/types.h:30,
from /usr/src/linux-2.1.81/include/net/route.h:27,
from /usr/src/linux-2.1.81/include/net/ip.h:30,
from sock.c:114:
/usr/include/gnu/types.h:75: warning: `__NFDBITS' redefined
/usr/src/linux-2.1.81/include/linux/posix_types.h:30: warning: this is
the locat
ion of the previous definition
/usr/include/gnu/types.h:77: warning: `__FDMASK' redefined
/usr/src/linux-2.1.81/include/linux/posix_types.h:42: warning: this is
the locat
ion of the previous definition
[snip]
In file included from /usr/include/sys/select.h:31,
from /usr/include/sys/types.h:126,
from /usr/src/linux-2.1.81/include/net/route.h:27,
from /usr/src/linux-2.1.81/include/net/ip.h:30,
from sock.c:114:
/usr/include/selectbits.h:30: warning: `__FD_ZERO' redefined
/usr/src/linux-2.1.81/include/asm/posix_types.h:63: warning: this is the
locatio
n of the previous definition
[snip]
In file included from /usr/include/sys/types.h:126,
from /usr/src/linux-2.1.81/include/net/route.h:27,
from /usr/src/linux-2.1.81/include/net/ip.h:30,
from sock.c:114:
/usr/include/sys/select.h:60: warning: `FD_SET' redefined
/usr/src/linux-2.1.81/include/linux/time.h:59: warning: this is the
location of
the previous definition
[snip]
etc,etc.
Thanks for any help!
-BenRI