make
cc -c -Wall -Wwrite-strings -O2 -march=i486 -mcpu=i686
-DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -fPIC
"-I/usr/lib/perl5/5.8.7/i486-linux/CORE" -DHAVE_BLANK
-DHAVE_PCAP_LIB_VERSION Pcap.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from Pcap.xs:43:
stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is
not available, but will be emulated"
In file included from Pcap.xs:43:
stubs.inc:91: error: redefinition of ‘struct
pcap_if’
stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is
not available"
stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is
not available"
stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is
not available"
stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is
not available"
stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is
not available"
stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks()
is not available"
stubs.inc:202:2: warning: #warning "the function pcap_set_datalink()
is not available"
stubs.inc:217:2: warning: #warning "the function
pcap_datalink_name_to_val() is not available"
stubs.inc:232:2: warning: #warning "the function
pcap_datalink_val_to_name() is not available"
stubs.inc:247:2: warning: #warning "the function
pcap_datalink_val_to_description() is not available"
stubs.inc:262:2: warning: #warning "the function pcap_compile_nopcap()
is not available"
stubs.inc:267: error: conflicting types for
‘pcap_compile_nopcap’
/usr/include/pcap.h:245: error: previous declaration of
‘pcap_compile_nopcap’ was here
stubs.inc:268: error: conflicting types for
‘pcap_compile_nopcap’
/usr/include/pcap.h:245: error: previous declaration of
‘pcap_compile_nopcap’ was here
stubs.inc:277:2: warning: #warning "the function
pcap_get_selectable_fd() is not available"
stubs.inc:292:2: warning: #warning "the function pcap_next_ex() is not
available"
stubs.inc:307:2: warning: #warning "the function pcap_sendpacket() is
not available"
stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr()
is not available"
stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is
not available"
stubs.inc:352:2: warning: #warning "the function pcap_open() is not
available"
stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not
available"
stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer()
is not available"
stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not
available"
stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy()
is not available"
stubs.inc:433:2: warning: #warning "the function
pcap_sendqueue_alloc() is not available"
stubs.inc:455:2: warning: #warning "the function
pcap_sendqueue_destroy() is not available"
stubs.inc:469:2: warning: #warning "the function
pcap_sendqueue_queue() is not available"
stubs.inc:484:2: warning: #warning "the function
pcap_sendqueue_transmit() is not available"
stubs.inc:499:2: warning: #warning "the function pcap_event() is not
available"
stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is
not available"
Pcap.xs: In function ‘callback_wrapper’:
Pcap.xs:57: warning: pointer targets in passing argument 1 of
‘Perl_newSVpv’ differ in signedness
Pcap.xs: In function ‘XS_Net__Pcap_next_ex’:
Pcap.xs:494: warning: pointer targets in passing argument 2 of
‘Perl_sv_setpvn’ differ in signedness
Pcap.xs: In function ‘XS_Net__Pcap_dump’:
Pcap.xs:553: warning: pointer targets in passing argument 3 of
‘pcap_dump’ differ in signedness
Pcap.c: In function ‘XS_Net__Pcap_dump_file’:
Pcap.c:1060: warning: passing argument 1 of
‘Perl_newGVgen’
discards qualifiers from pointer target type
Pcap.c:1062: warning: passing argument 2 of
‘Perl_do_open’
discards qualifiers from pointer target type
Pcap.c: In function ‘XS_Net__Pcap_strerror’:
Pcap.c:1348: warning: assignment discards qualifiers from pointer
target type
Pcap.c: In function ‘XS_Net__Pcap_file’:
Pcap.c:1390: warning: passing argument 1 of
‘Perl_newGVgen’
discards qualifiers from pointer target type
Pcap.c:1392: warning: passing argument 2 of
‘Perl_do_open’
discards qualifiers from pointer target type
Pcap.xs: In function ‘XS_Net__Pcap_sendpacket’:
Pcap.xs:963: warning: pointer targets in passing argument 2 of
‘pcap_sendpacket’ differ in signedness
Pcap.c: In function ‘boot_Net__Pcap’:
Pcap.c:1996: warning: initialization discards qualifiers from pointer
target type
Pcap.c:1998: warning: assignment discards qualifiers from pointer
target type
Pcap.c:1998: warning: assignment discards qualifiers from pointer
target type
Pcap.c:2000: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2001: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2002: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2003: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2004: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2005: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2006: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2007: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2008: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2009: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2010: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2011: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2012: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2013: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2014: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2015: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2016: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2017: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2018: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2019: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2020: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2021: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2022: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2023: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2024: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2025: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2026: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2027: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2028: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2029: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2030: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2031: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2032: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2033: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2034: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2035: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2036: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2037: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2038: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2039: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2040: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2041: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2042: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2043: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2044: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2045: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2046: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2047: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2048: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2049: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2050: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2051: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2052: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
Pcap.c:2053: warning: passing argument 1 of
‘Perl_newXS’ discards
qualifiers from pointer target type
make: *** [Pcap.o] Error 1
Any ideas?