Kernel compilation failure

Steven W Hsu (shteeveh@WPI.EDU)
Mon, 3 Mar 1997 07:38:15 -0500 (EST)


I was compiling the 2.0.29 kernel on my RedHat 4.0 distribution on a
486SX 20. For configuration options, I chose Network support and a dummy
driver. I got this error message:

ld -m elf_i386 -r -o 802.o p8023.o sysctl_net_802.o
make[3]: Leaving directory `/usr/src/linux/net/802'
make[2]: Leaving directory `/usr/src/linux/net/802'
make all_targets
make[2]: Entering directory `/usr/src/linux/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o netsyms.o netsyms.c
netsyms.c:71: `sock_setsockopt' undeclared here (not in a function)
netsyms.c:71: initializer element for `net_syms.symbol[3].addr' is not constant
netsyms.c:72: `sock_getsockopt' undeclared here (not in a function)
netsyms.c:72: initializer element for `net_syms.symbol[4].addr' is not constant
netsyms.c:73: `sk_alloc' undeclared here (not in a function)
netsyms.c:73: initializer element for `net_syms.symbol[5].addr' is not constant
netsyms.c:74: `sk_free' undeclared here (not in a function)
netsyms.c:74: initializer element for `net_syms.symbol[6].addr' is not constant
netsyms.c:76: `sock_alloc_send_skb' undeclared here (not in a function)
netsyms.c:76: initializer element for `net_syms.symbol[8].addr' is not constant
make[2]: *** [netsyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux/net'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [linuxsubdirs] Error 2