cannot install p5-Net-Pcap

Piotr piotrekk at excite.com
Thu Jan 3 15:27:30 PST 2008


hi

I cannot install p5-Net-Pcap on freeBSD 6.2 due to the following errors:

# cd /usr/ports/net/p5-Net-Pcap
# make install clean
===>  Building for p5-Net-Pcap-0.15_1
cc -c    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION=\"0.15\"  -DXS_VERSION=\"0.15\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DHAVE_PCAP_LIST_DATALINKS -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION Pcap.c
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: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: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.c: In function `XS_Net__Pcap_dump_open':
Pcap.c:541: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setnonblock':
Pcap.c:574: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_getnonblock':
Pcap.c:624: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dispatch':
Pcap.c:676: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_loop':
Pcap.c:724: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_next':
Pcap.c:767: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_next_ex':
Pcap.c:831: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump':
Pcap.c:898: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_compile':
Pcap.c:970: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setfilter':
Pcap.c:1050: warning: cast to pointer from integer of different size
Pcap.c:1057: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_freecode':
Pcap.c:1085: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_breakloop':
Pcap.c:1112: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_close':
Pcap.c:1139: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_close':
Pcap.c:1166: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_file':
Pcap.c:1194: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_dump_flush':
Pcap.c:1232: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_datalink':
Pcap.c:1262: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_set_datalink':
Pcap.c:1293: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_snapshot':
Pcap.c:1392: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_is_swapped':
Pcap.c:1422: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_major_version':
Pcap.c:1452: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_minor_version':
Pcap.c:1482: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_perror':
Pcap.c:1511: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_geterr':
Pcap.c:1540: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_file':
Pcap.c:1614: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_fileno':
Pcap.c:1652: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_get_selectable_fd':
Pcap.c:1682: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_stats':
Pcap.c:1713: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setuserbuffer':
Pcap.c:1981: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setbuff':
Pcap.c:2012: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setmode':
Pcap.c:2043: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_setmintocopy':
Pcap.c:2074: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_getevent':
Pcap.c:2108: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_sendpacket':
Pcap.c:2143: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_sendqueue_queue':
Pcap.c:2228: warning: cast to pointer from integer of different size
Pcap.c: In function `XS_Net__Pcap_sendqueue_transmit':
Pcap.c:2300: warning: cast to pointer from integer of different size
Pcap.c:2307: warning: cast to pointer from integer of different size
*** Error code 1

Stop in /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.15.
*** Error code 1

Stop in /usr/ports/net/p5-Net-Pcap.


knows someone howto solve this problem ?





_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




More information about the freebsd-ports mailing list