Subject: | can't compile libdnet |
Date: | Wed, 20 Jun 2007 14:15:51 +0200 |
To: | <bug-Net-Libdnet [...] rt.cpan.org> |
From: | "Mancuso Raffaele" <carmelomancuso [...] alice.it> |
hi. I have an account at heliohost.org and they let me install perl modules.
I qould like to install Net::Packet module. it require your Net::Libdnet module. So i have to install Net::Libdnet first, but i can't install it.
It give me some errors at compile time. I have compiled a many packets before, so i think the problem is with your library.
The server has installed perl version 5 and download the latest version of Perl modules every time. Below ther is the compiler error log. Can you release anew version with this bug fixed?
Thanks
***************COMPILER LOG**********************************
CPAN.pm: Going to build V/VM/VMAN/Net-Libdnet-0.01.tar.gz
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ldnet
Writing Makefile for Net::Libdnet
cp Libdnet.pm blib/lib/Net/Libdnet.pm
AutoSplitting blib/lib/Net/Libdnet.pm (blib/lib/auto/Net/Libdnet)
/usr/bin/perl /usr/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap Libdnet.xs > Libdnet.xsc && mv Libdnet.xsc Libdnet.c
cc -c -I/usr/local/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I/usr/lib/perl5/5.8.7/i686-linux/CORE" Libdnet.c
Libdnet.xs:35:18: dnet.h: No such file or directory
Libdnet.xs:37: warning: "struct intf_entry" declared inside parameter list
Libdnet.xs:37: warning: its scope is only this definition or declaration, which is probably not what you want
Libdnet.xs: In function `intf2hash':
Libdnet.xs:50: error: dereferencing pointer to incomplete type
Libdnet.xs:58: error: dereferencing pointer to incomplete type
Libdnet.xs:66: error: dereferencing pointer to incomplete type
Libdnet.xs:74: error: dereferencing pointer to incomplete type
Libdnet.xs:82: error: dereferencing pointer to incomplete type
Libdnet.xs:91: error: dereferencing pointer to incomplete type
Libdnet.xs:91: warning: assignment makes pointer from integer without a cast
Libdnet.xs:95: error: dereferencing pointer to incomplete type
Libdnet.xs:95: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
Libdnet.xs:105: error: dereferencing pointer to incomplete type
Libdnet.xs:105: warning: assignment makes pointer from integer without a cast
Libdnet.xs:109: error: dereferencing pointer to incomplete type
Libdnet.xs:109: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
Libdnet.xs:119: error: dereferencing pointer to incomplete type
Libdnet.xs:119: warning: assignment makes pointer from integer without a cast
Libdnet.xs:123: error: dereferencing pointer to incomplete type
Libdnet.xs:123: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
Libdnet.xs: In function `XS_Net__Libdnet_addr_cmp':
Libdnet.xs:144: error: storage size of 'SadA' isn't known
Libdnet.xs:144: error: storage size of 'SadB' isn't known
Libdnet.xs: In function `XS_Net__Libdnet_addr_bcast':
Libdnet.xs:188: error: storage size of 'SadAd' isn't known
Libdnet.xs:188: error: storage size of 'SadBc' isn't known
Libdnet.xs:208: warning: assignment makes pointer from integer without a cast
Libdnet.xs: In function `XS_Net__Libdnet_addr_net':
Libdnet.xs:226: error: storage size of 'SadAd' isn't known
Libdnet.xs:226: error: storage size of 'SadBc' isn't known
Libdnet.xs:246: warning: assignment makes pointer from integer without a cast
Libdnet.xs: In function `XS_Net__Libdnet_arp_add':
Libdnet.xs:264: error: `arp_t' undeclared (first use in this function)
Libdnet.xs:264: error: (Each undeclared identifier is reported only once
Libdnet.xs:264: error: for each function it appears in.)
Libdnet.xs:264: error: `AtArp' undeclared (first use in this function)
Libdnet.xs:265: error: storage size of 'SarEntry' isn't known
Libdnet.xs:266: error: storage size of 'SadAddr' isn't known
Libdnet.xs:293: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs:303: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs: In function `XS_Net__Libdnet_arp_delete':
Libdnet.xs:327: error: `arp_t' undeclared (first use in this function)
Libdnet.xs:327: error: `AtArp' undeclared (first use in this function)
Libdnet.xs:328: error: storage size of 'SarEntry' isn't known
Libdnet.xs:329: error: storage size of 'SadAddr' isn't known
Libdnet.xs:352: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs: In function `XS_Net__Libdnet_arp_get':
Libdnet.xs:376: error: `arp_t' undeclared (first use in this function)
Libdnet.xs:376: error: `AtArp' undeclared (first use in this function)
Libdnet.xs:377: error: storage size of 'SarEntry' isn't known
Libdnet.xs:378: error: storage size of 'SadAddr' isn't known
Libdnet.xs:401: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs:410: warning: assignment makes pointer from integer without a cast
Libdnet.xs: In function `XS_Net__Libdnet_intf_get':
Libdnet.xs:433: error: `intf_t' undeclared (first use in this function)
Libdnet.xs:433: error: `ItIntf' undeclared (first use in this function)
Libdnet.xs:434: error: storage size of 'SieEntry' isn't known
Libdnet.xs:457: error: `INTF_NAME_LEN' undeclared (first use in this function)
Libdnet.xs: In function `XS_Net__Libdnet_intf_get_src':
Libdnet.xs:478: error: `intf_t' undeclared (first use in this function)
Libdnet.xs:478: error: `ItIntf' undeclared (first use in this function)
Libdnet.xs:479: error: storage size of 'SieEntry' isn't known
Libdnet.xs:480: error: storage size of 'SaAddr' isn't known
Libdnet.xs: In function `XS_Net__Libdnet_intf_get_dst':
Libdnet.xs:529: error: `intf_t' undeclared (first use in this function)
Libdnet.xs:529: error: `ItIntf' undeclared (first use in this function)
Libdnet.xs:530: error: storage size of 'SieEntry' isn't known
Libdnet.xs:531: error: storage size of 'SaAddr' isn't known
Libdnet.xs: In function `XS_Net__Libdnet_route_add':
Libdnet.xs:580: error: `route_t' undeclared (first use in this function)
Libdnet.xs:580: error: `RtRoute' undeclared (first use in this function)
Libdnet.xs:581: error: storage size of 'SrtEntry' isn't known
Libdnet.xs:582: error: storage size of 'SadAddr' isn't known
Libdnet.xs:609: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs:619: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs: In function `XS_Net__Libdnet_route_delete':
Libdnet.xs:643: error: `route_t' undeclared (first use in this function)
Libdnet.xs:643: error: `RtRoute' undeclared (first use in this function)
Libdnet.xs:644: error: storage size of 'SrtEntry' isn't known
Libdnet.xs:645: error: storage size of 'SadAddr' isn't known
Libdnet.xs:668: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs: In function `XS_Net__Libdnet_route_get':
Libdnet.xs:692: error: `route_t' undeclared (first use in this function)
Libdnet.xs:692: error: `RtRoute' undeclared (first use in this function)
Libdnet.xs:693: error: storage size of 'SrtEntry' isn't known
Libdnet.xs:694: error: storage size of 'SadAddr' isn't known
Libdnet.xs:717: error: invalid application of `sizeof' to incomplete type `addr'
Libdnet.xs:726: warning: assignment makes pointer from integer without a cast
make: *** [Libdnet.o] Error 1
VMAN/Net-Libdnet-0.01.tar.gz
/usr/bin/make PREFIX=/home/white/perl/usr PREFIX=/home/white/perl/usr -- NOT OK
Running make install
Make had returned bad status, install seems impossible
Running make for G/GO/GOMOR/Net-Packet-3.25.tar.gz
Has already been unwrapped into directory /home/white/.cpan/build/Net-Packet-3.25-7733Cz