[Chicago-talk] Net::Pcap Prob

Craig Petty fasteliteprogrammer at yahoo.com
Sun Mar 9 18:36:57 PDT 2008



Here my error message.I useing Net::Pcap-0.14


oot at localhost Net-Pcap-0.16]# perl Makefile.PL
looking for -lpcap... yes
checking for pcap_lib_version() in -lpcap... yes
detecting available functions... ok
Writing Makefile for Net::Pcap
[root at localhost Net-Pcap-0.16]# make
cc -c -Wall -Wwrite-strings -O2 -DVERSION=\"0.16\"
-DXS_VERSION=\"0.16\" -fP
IC
"-I/usr/local/lib/perl5/5.10.0/i686-linux-thread-multi/CORE"
-DHAVE_BLANK -D
HAVE_PCAP_LIB_VERSION -DHAVE_PCAP_BREAKLOOP
-DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PC
AP_DATALINK_NAME_TO_VAL
-DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION
-DHAVE_PCAP_DATA
LINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE
-DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDAL
LDEVS -DHAVE_PCAP_GETNONBLOCK
-DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERS
ION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OPEN_DEAD
-DHAVE_PCAP_SENDPACKET -DHAVE_PCAP
_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK Pcap.c
In file included from Pcap.xs:43:
stubs.inc:187:2: warning: #warning "the function
pcap_list_datalinks() is not av
ailable"
stubs.inc:322:2: warning: #warning "the function
pcap_createsrcstr() is not avai
lable"
stubs.inc:337:2: warning: #warning "the function
pcap_parsesrcstr() is not avail
able"
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 ava
ilable"
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 avai
lable"
stubs.inc:433:2: warning: #warning "the function
pcap_sendqueue_alloc() is not a
vailable"
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 a
vailable"
stubs.inc:484:2: warning: #warning "the function
pcap_sendqueue_transmit() is no
t 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 avail
able"
Pcap.xs: In function ‘callback_wrapper’:
Pcap.xs:57: warning: pointer targets in passing
argument 2 of ‘Perl_newSVpv’ dif
fer in signedness
Pcap.xs:62: warning: value computed is not used
Pcap.xs:63: warning: value computed is not used
Pcap.xs:64: warning: value computed is not used
Pcap.xs:65: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_findalldevs_xs’:
Pcap.xs:196: warning: value computed is not used
Pcap.xs:199: warning: value computed is not used
Pcap.xs:202: warning: value computed is not used
Pcap.xs:220: warning: value computed is not used
Pcap.xs:222: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_next’:
Pcap.xs:447: warning: value computed is not used
Pcap.xs:448: warning: value computed is not used
Pcap.xs:449: warning: value computed is not used
Pcap.xs:450: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_next_ex’:
Pcap.xs:489: warning: value computed is not used
Pcap.xs:490: warning: value computed is not used
Pcap.xs:491: warning: value computed is not used
Pcap.xs:492: warning: value computed is not used
Pcap.xs:494: warning: pointer targets in passing
argument 3 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’ diffe
r in signedness
Pcap.c: In function ‘XS_Net__Pcap_strerror’:
Pcap.c:1572: warning: assignment discards qualifiers
from pointer target type
Pcap.xs: In function ‘XS_Net__Pcap_stats’:
Pcap.xs:742: warning: value computed is not used
Pcap.xs:744: warning: value computed is not used
Pcap.xs:746: warning: value computed is not used
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:2335: warning: initialization discards
qualifiers from pointer target typ
e
Running Mkbootstrap for Net::Pcap ()
chmod 644 Pcap.bs
rm -f blib/arch/auto/Net/Pcap/Pcap.so
LD_RUN_PATH="/usr/lib" cc -shared -O2
-L/usr/local/lib Pcap.o -o blib/arch/aut
o/Net/Pcap/Pcap.so
\
-lpcap \

chmod 755 blib/arch/auto/Net/Pcap/Pcap.so
cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs
chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs
cp bin/pcapinfo blib/script/pcapinfo
/usr/local/bin/perl "-MExtUtils::MY" -e
"MY->fixin(shift)" blib/script/pcapinfo
Manifying blib/man1/pcapinfo.1
Manifying blib/man3/Net::Pcap.3


make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-load..................ok 1/1# Testing Net::Pcap
0.16 under Perl 5.010000
t/00-load..................ok
t/01-api...................ok
t/02-lookup................ok
23/45 skipped: various reasons
t/03-openlive..............ok
4/14 skipped: various reasons
t/04-loop..................ok 1/195









Does anyone know what is going on here with the errors?


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the Chicago-talk mailing list