All pastes #741056 Raw Edit

Joel

public text v1 · immutable
·published 2007-10-18 13:09 UTC
rendered paste body
Writing Makefile for Net::Arping
cp Arping.pm blib/lib/Net/Arping.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.
8/ExtUtils/typemap  Arping.xs > Arping.xsc && mv Arping.xsc Arping.c
Please specify prototyping behavior for Arping.xs (see perlxs manual)
cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-a
liasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_B
ITS=64 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 
-g -Wall -pipe   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl
5/5.8.8/i586-linux-thread-multi/CORE"  INC Arping.c
cc: INC: No such file or directory
Arping.xs:17:20: error: libnet.h: No such file or directory
Arping.xs: In function ‘XS_Net__Arping_send_arp’:
Arping.xs:44: error: ‘LIBNET_ERRBUF_SIZE’ undeclared (first use in this function
)
Arping.xs:44: error: (Each undeclared identifier is reported only once
Arping.xs:44: error: for each function it appears in.)
Arping.xs: In function ‘handlepacket’:
Arping.xs:79: error: invalid application of ‘sizeof’ to incomplete type ‘struct 
libnet_ethernet_hdr’ 
Arping.xs: In function ‘XS_Net__Arping_send_arp’:
Arping.xs:116: warning: implicit declaration of function ‘libnet_name_resolve’
Arping.xs:116: error: ‘LIBNET_RESOLVE’ undeclared (first use in this function)
Arping.xs:124: warning: implicit declaration of function ‘libnet_select_device’
Arping.xs:130: warning: implicit declaration of function ‘libnet_open_link_inter
face’
Arping.xs:130: warning: assignment makes pointer from integer without a cast
Arping.xs:135: warning: implicit declaration of function ‘libnet_get_ipaddr’
Arping.xs:140: error: ‘LIBNET_IP_H’ undeclared (first use in this function)
Arping.xs:140: error: ‘LIBNET_ETH_H’ undeclared (first use in this function)
Arping.xs:140: error: ‘LIBNET_ARP_H’ undeclared (first use in this function)
Arping.xs:143: warning: implicit declaration of function ‘libnet_init_packet’
Arping.xs:148: warning: implicit declaration of function ‘libnet_get_hwaddr’
Arping.xs:148: warning: assignment makes pointer from integer without a cast
Arping.xs:153: error: dereferencing pointer to incomplete type
Arping.xs:153: error: dereferencing pointer to incomplete type
Arping.xs:156: warning: implicit declaration of function ‘libnet_build_ethernet’
Arping.xs:156: error: ‘ETHERTYPE_ARP’ undeclared (first use in this function)
Arping.xs:161: warning: implicit declaration of function ‘libnet_build_arp’
Arping.xs:161: error: ‘ETHERTYPE_IP’ undeclared (first use in this function)
Arping.xs:166: warning: pointer targets in passing argument 1 of ‘pcap_open_live
’ differ in signedness
Arping.xs:185: warning: implicit declaration of function ‘libnet_write_link_laye
r’
Arping.xs:196: warning: implicit declaration of function ‘libnet_close_link_inte
rface’
Arping.xs:197: warning: implicit declaration of function ‘libnet_destroy_packet’
Arping.xs:44: warning: unused variable ‘err_buf’
make: *** [Arping.o] Error 1
RIIKI/Net-Arping-0.02.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 RIIKI/Net-Arping-0.02.tar.gz                 : make NO