I want to use 'tcpdump', so I used 'make config' to change the
parameter CONFIG_PACKET to 'y' and ran:
# make dep clean vmlinux
....
make[3]: Entering directory `/usr/src/linux/net/packet'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -c -o af_packet.o af_packet.c
af_packet.c: In function `packet_sendmsg':
af_packet.c:447: union has no member named `af_packet'
af_packet.c:433: warning: `ifindex' might be used uninitialized in this function
af_packet.c: In function `packet_release':
af_packet.c:549: union has no member named `af_packet'
af_packet.c:555: union has no member named `af_packet'
af_packet.c:556: union has no member named `af_packet'
af_packet.c: In function `packet_do_bind':
af_packet.c:601: union has no member named `af_packet'
af_packet.c:602: union has no member named `af_packet'
af_packet.c:603: union has no member named `af_packet'
af_packet.c:607: union has no member named `af_packet'
af_packet.c:608: union has no member named `af_packet'
af_packet.c:614: union has no member named `af_packet'
af_packet.c:616: union has no member named `af_packet'
af_packet.c:617: union has no member named `af_packet'
af_packet.c:623: union has no member named `af_packet'
af_packet.c:624: union has no member named `af_packet'
af_packet.c:625: union has no member named `af_packet'
af_packet.c: In function `packet_create':
af_packet.c:716: union has no member named `af_packet'
af_packet.c:717: union has no member named `af_packet'
af_packet.c:719: union has no member named `af_packet'
af_packet.c:719: union has no member named `af_packet'
af_packet.c:728: union has no member named `af_packet'
af_packet.c:731: union has no member named `af_packet'
af_packet.c:733: union has no member named `af_packet'
af_packet.c:736: union has no member named `af_packet'
af_packet.c:737: union has no member named `af_packet'
af_packet.c:738: union has no member named `af_packet'
af_packet.c: In function `packet_getname_spkt':
af_packet.c:853: union has no member named `af_packet'
af_packet.c: In function `packet_getname':
af_packet.c:875: union has no member named `af_packet'
af_packet.c:877: union has no member named `af_packet'
af_packet.c: In function `packet_mc_add':
af_packet.c:942: union has no member named `af_packet'
af_packet.c:959: union has no member named `af_packet'
af_packet.c:960: union has no member named `af_packet'
af_packet.c:921: warning: `ml' might be used uninitialized in this function
af_packet.c: In function `packet_mc_drop':
af_packet.c:972: union has no member named `af_packet'
af_packet.c:970: warning: `mlp' might be used uninitialized in this function
af_packet.c: In function `packet_flush_mclist':
af_packet.c:995: union has no member named `af_packet'
af_packet.c:997: union has no member named `af_packet'
af_packet.c: In function `packet_notifier':
af_packet.c:1038: union has no member named `af_packet'
af_packet.c:1034: warning: `po' might be used uninitialized in this function
make[3]: *** [af_packet.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/packet'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/net/packet'
make[1]: *** [_subdir_packet] Error 2
make[1]: Leaving directory `/usr/src/linux/net'
make: *** [_dir_net] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/