Skip to contentSkip to conversation

Compile breakage in 2415p1 in net/core

DISCUSSION Rasmus Andersen 1 participant 1 message Nov 9, 2001

lore
Share & tools
lore
#0 lore raw

Hi.

Compiling a 2415p1 kernel with no networking support, I get the following during make bzImage:

make[3]: Entering directory `/home/rasmus/kernel/linux-2415p1/net/core'
gcc -D__KERNEL__ -I/home/rasmus/kernel/linux-2415p1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o sock.o sock.c
In file included from /home/rasmus/kernel/linux-2415p1/include/net/tcp.h:1036,

                 from sock.c:122:

/home/rasmus/kernel/linux-2415p1/include/net/tcp_ecn.h: In function `TCP_ECN_send':
/home/rasmus/kernel/linux-2415p1/include/net/tcp_ecn.h:54: union has no member named af_inet' /home/rasmus/kernel/linux-2415p1/include/net/tcp_ecn.h:61: union has no member named af_inet' make[3]: *** [sock.o] Error 1
make[3]: Leaving directory `/home/rasmus/kernel/linux-2415p1/net/core'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/rasmus/kernel/linux-2415p1/net/core'
make[1]: *** [_subdir_core] Error 2
make[1]: Leaving directory `/home/rasmus/kernel/linux-2415p1/net'
make: *** [_dir_net] Error 2

This is with CONFIG_NET unset.

Signature · 2 lines
Regards,
        Rasmus([email protected])