LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-30-2008, 09:46 AM   #1
m07hm4n
LQ Newbie
 
Registered: Aug 2006
Location: Belgrade
Distribution: Slackware 12.1
Posts: 4

Rep: Reputation: 0
Problem installing Net-Pcap 0.16 perl module


Hi, ppl

I have a problem installing Net-Pcap 0.16 perl module. When I try to make the module, the following error occures:

Code:
bash-3.1# perl Makefile.PL
looking for -lpcap... yes
checking for pcap_lib_version() in -lpcap... yes
detecting available functions... ok
Writing Makefile for Net::Pcap
bash-3.1# make
cc -c   -Wall -Wwrite-strings -O2 -march=i486 -mtune=i686   -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -fPIC "-I/usr/lib/perl5/5.8.8/i486-linux/CORE"  -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:187:2: warning: #warning "the function pcap_list_datalinks() 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:267: error: conflicting types for 'pcap_compile_nopcap'
/usr/include/pcap.h:245: error: previous declaration of 'pcap_compile_nopcap' was here
stubs.inc:267: error: conflicting types for 'pcap_compile_nopcap'
/usr/include/pcap.h:245: error: previous declaration of 'pcap_compile_nopcap' was here
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_file':
Pcap.c:1083: warning: passing arg 1 of `Perl_newGVgen' discards qualifiers from pointer target type
Pcap.c:1085: warning: passing arg 2 of `Perl_do_open' discards qualifiers from pointer target type
Pcap.c: In function `XS_Net__Pcap_strerror':
Pcap.c:1384: warning: assignment discards qualifiers from pointer target type
Pcap.c: In function `XS_Net__Pcap_file':
Pcap.c:1428: warning: passing arg 1 of `Perl_newGVgen' discards qualifiers from pointer target type
Pcap.c:1430: warning: passing arg 2 of `Perl_do_open' discards qualifiers from pointer target type
Pcap.c: In function `boot_Net__Pcap':
Pcap.c:2050: warning: initialization discards qualifiers from pointer target type
Pcap.c:2054: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2055: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2056: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2057: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2058: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2059: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2060: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2061: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2062: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2063: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2064: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2065: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2066: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2067: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2068: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2069: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2070: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2071: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2072: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2073: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2074: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2075: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2076: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2077: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2078: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2079: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2080: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2081: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2082: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2083: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2084: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2085: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2086: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2087: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2088: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2089: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2090: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2091: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2092: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2093: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2094: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2095: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2096: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2097: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2098: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2099: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2100: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2101: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2102: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2103: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2104: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2105: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2106: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
Pcap.c:2107: warning: passing arg 1 of `Perl_newXS' discards qualifiers from pointer target type
make: *** [Pcap.o] Error 1
bash-3.1#
I have Slackware 11.0, kernel 2.4.33.3, Thread model: posix, gcc version 3.4.6, Perl 5.8.8, libpcap 0.9.8, Net-RawIP 0.23 perl module (if needed info).

I don't understand the error and don't know what should I do to solve it Thank you for any clues that you might provide.

Regards,
m07hm4n
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Net::pcap installing prob unixshell101 Linux - Software 1 03-10-2008 09:57 AM
Installing Net::SSLeay Perl module on x86_64 rh-penguin Linux - Server 1 02-05-2007 08:45 AM
Perl Net::Pcap install hang at loop test Bluesuperman Programming 1 08-17-2005 10:39 AM
libpcap.so.0 is needed by perl-Net-Pcap-0.04-5 r4736 Linux - Software 8 10-18-2003 03:04 PM
perl-module Net::RawIP - install problem nic_d Linux - Software 0 07-06-2002 07:15 PM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration