lkml.org 
[lkml]   [1996]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectCannot compile libpcap under 1.99.11 (libc 5.3.12)
Date
libpcap from tcpdump 3.0.2

rm -f pcap-linux.o; gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -O -I. -I../linux-include -c pcap-linux.c
In file included from /usr/include/linux/interrupt.h:6,
from /usr/include/linux/netdevice.h:31,
from pcap-linux.c:23:
/usr/include/asm/bitops.h:32: warning: no previous prototype for `set_bit'
/usr/include/asm/bitops.h:43: warning: no previous prototype for `clear_bit'
/usr/include/asm/bitops.h:54: warning: no previous prototype for `change_bit'
/usr/include/asm/bitops.h:68: warning: no previous prototype for `test_bit'
/usr/include/asm/bitops.h:76: warning: no previous prototype for `find_first_zero_bit'
/usr/include/asm/bitops.h:99: warning: no previous prototype for `find_next_zero_bit'
/usr/include/asm/bitops.h:130: warning: no previous prototype for `ffz'
In file included from /usr/include/linux/netdevice.h:31,
from pcap-linux.c:23:
/usr/include/linux/interrupt.h:9: warning: `struct pt_regs' declared inside parameter list
/usr/include/linux/interrupt.h:9: warning: its scope is only this definition or declaration,
/usr/include/linux/interrupt.h:9: warning: which is probably not what you want.
/usr/include/linux/interrupt.h:24: syntax error before `void'
/usr/include/linux/interrupt.h:44: warning: no previous prototype for `init_bh'
/usr/include/linux/interrupt.h:51: warning: no previous prototype for `mark_bh'
/usr/include/linux/interrupt.h:60: warning: no previous prototype for `disable_bh'
/usr/include/linux/interrupt.h:66: warning: no previous prototype for `enable_bh'
/usr/include/linux/interrupt.h:76: warning: no previous prototype for `start_bh_atomic'
/usr/include/linux/interrupt.h: In function `start_bh_atomic':
/usr/include/linux/interrupt.h:78: warning: implicit declaration of function `barrier'
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:82: warning: no previous prototype for `end_bh_atomic'
pcap-linux.c:39: warning: function declaration isn't a prototype
pcap-linux.c: In function `pcap_open_live':
pcap-linux.c:171: warning: implicit declaration of function `atexit'
make: *** [pcap-linux.o] Error 1


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.024 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site