Subject: | install Net::ARP error (Net-ARP-1.0.2) |
Date: | Wed, 9 Jan 2008 22:02:33 +0800 |
To: | bug-Perl-Dist-Strawberry [...] rt.cpan.org |
From: | guava <gguava [...] gmail.com> |
Show quoted text
cpan> install Net::ARP
Running install for module 'Net::ARP'
Running make for C/CR/CRAZYDJ/Net-ARP-1.0.2.tgz
Checksum for C:\strawberry\cpan\sources\authors\id\C\CR\CRAZYDJ\Net-
ARP-1.0.2.tg
z ok
CPAN.pm: Going to build C/CR/CRAZYDJ/Net-ARP-1.0.2.tgz
Module Net::Pcap is required for make test!
Checking if your kit is complete...
Looks good
Writing Makefile for Net::ARP
cp ARP.pm blib\lib\Net\ARP.pm
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp
-typemap
C:\strawberry\perl\lib\ExtUtils\typemap ARP.xs > ARP.xsc &&
C:\strawberry\perl
\bin\perl.exe -MExtUtils::Command -e mv ARP.xsc ARP.c
Please specify prototyping behavior for ARP.xs (see perlxs manual)
gcc -c -IC:\strawberry\c\include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT
-DPERL_
IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing
-DPERL_MSVCRT_READFIX
-s -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\"
"-IC:\strawberry\perl\lib\
CORE" -DBSD ARP.c
ARP.xs:29:30: net/ethernet.h: No such file or directory
ARP.xs:30:20: net/if.h: No such file or directory
In file included from ARP.xs:32:
arp.h:58: error: syntax error before "__THROW"
arp.h:58: warning: data definition has no type or storage class
ARP.xs: In function `XS_Net__ARP_send_packet':
ARP.xs:47: error: invalid application of `sizeof' to incomplete type
`ether_head
er'
ARP.xs:50: error: invalid application of `sizeof' to incomplete type
`ether_head
er'
ARP.xs:121: warning: comparison between pointer and integer
ARP.xs:127: warning: comparison between pointer and integer
ARP.xs:150: error: dereferencing pointer to incomplete type
ARP.xs:150: error: `ETHER_ADDR_LEN' undeclared (first use in this function)
ARP.xs:150: error: (Each undeclared identifier is reported only once
ARP.xs:150: error: for each function it appears in.)
ARP.xs:151: error: dereferencing pointer to incomplete type
ARP.xs:152: error: dereferencing pointer to incomplete type
ARP.xs:152: error: `ETHERTYPE_ARP' undeclared (first use in this function)
dmake.EXE: Error code 129, while making 'ARP.o'
CRAZYDJ/Net-ARP-1.0.2.tgz
C:\strawberry\c\bin\dmake.EXE -- 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:
CRAZYDJ/Net-ARP-1.0.2.tgz : make NO
i use windows xp.
Strawberry perl 5.10