Subject: | Net-Arping-0.02 install problem |
Date: | Fri, 07 Mar 2008 00:07:14 +0200 |
To: | bug-Net-Arping [...] rt.cpan.org |
From: | Bojidara Marinchovska <quintessence [...] bobi.gateit.net> |
OS: FreeBSD 7.0-BETA4 i386 arch
PERL version : This is perl, v5.8.8 built for i386-freebsd-64int
(with 1 registered patch, see perl -V for more detail)
perl -V:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=freebsd, osvers=7.0-beta3, archname=i386-freebsd-64int
uname='freebsd freebsd.org 7.0-beta3 freebsd 7.0-beta3 #0: wed nov
21 15:58:28 pst 2007 kris@freebsd.org:usrsrcsysmagickernelpath i386 '
config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.8/mach
-Dprivlib=/usr/local/lib/perl5/5.8.8
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-Doptimize=-O2 -fno-strict-aliasing -pipe -Ud_dosuid -Ui_gdbm
-Dusethreads=n -Dusemymalloc=y -Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include',
optimize='-O2 -fno-strict-aliasing -pipe ',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT
USE_LARGE_FILES USE_PERLIO
Locally applied patches:
defined-or
Built under freebsd
Compiled at Nov 22 2007 00:01:44
@INC:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach
/usr/local/lib/perl5/5.8.8
Deps versions:
libnet 1.1.2.1
libpcap 0.9.8
make:
cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -O2
-fno-strict-aliasing -pipe -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\"
-DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" INC Arping.c
cc: INC: No such file or directory
Arping.xs: In function 'XS_Net__Arping_send_arp':
Arping.xs:124: warning: passing argument 1 of 'libnet_select_device'
from incompatible pointer type
Arping.xs:124: error: too many arguments to function 'libnet_select_device'
Arping.xs:130: warning: assignment makes pointer from integer without a cast
Arping.xs:140: error: 'LIBNET_IP_H' undeclared (first use in this function)
Arping.xs:140: error: (Each undeclared identifier is reported only once
Arping.xs:140: error: for each function it appears in.)
Arping.xs:148: warning: passing argument 1 of 'libnet_get_hwaddr' from
incompatible pointer type
Arping.xs:148: error: too many arguments to function 'libnet_get_hwaddr'
Arping.xs:148: warning: assignment from incompatible pointer type
Arping.xs:153: error: dereferencing pointer to incomplete type
Arping.xs:156: warning: passing argument 6 of 'libnet_build_ethernet'
from incompatible pointer type
Arping.xs:156: error: too few arguments to function 'libnet_build_ethernet'
Arping.xs:161: warning: passing argument 12 of 'libnet_build_arp' from
incompatible pointer type
Arping.xs:161: error: too few arguments to function 'libnet_build_arp'
*** Error code 1