delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | SonOfLilit <SonOfLilit AT GMail DOT com> |
Subject: | Problems instaling perl Net::Pcap module |
Date: | Thu, 3 Mar 2005 17:07:36 +0000 (UTC) |
Lines: | 47 |
Message-ID: | <loom.20050303T180502-780@post.gmane.org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | main.gmane.org |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-Loom-IP: | 62.0.210.1 (Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 StumbleUpon/1.9992) |
X-Gmane-MailScanner: | Found to be clean |
X-Gmane-MailScanner: | Found to be clean |
X-Gmane-MailScanner-SpamScore: | s |
X-MailScanner-From: | goc-cygwin AT m DOT gmane DOT org |
X-MailScanner-To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
I hope this is the right place to post this. The steps I went through: * d/l it * extract * cd to dir * d/l WinPcap developer kit and put ./lib to my /lib/Pcap and ./include to my /usr/include, without replacing 2-3 .h headers that I already had * $ perl Makefile.PL INC=-I/usr/include LIBS=-L/lib/Pcap Says that all is right * $ make Gives me tons of warnings and errors - the errors about undefined references to many pcap related symbols like '_pcap_dump' in pcap.c, while processing *pcap.o*. Clue anyone? Errors: 'Pcap.o(.text+0x12b7):Pcap.c: undefined reference to `_pcap_open_live 'Pcap.o(.text+0x1764):Pcap.c: undefined reference to `_pcap_open_offline 'Pcap.o(.text+0x1b90):Pcap.c: undefined reference to `_pcap_dump_open 'Pcap.o(.text+0x2039):Pcap.c: undefined reference to `_pcap_loop 'Pcap.o(.text+0x2549):Pcap.c: undefined reference to `_pcap_dispatch 'Pcap.o(.text+0x28d4):Pcap.c: undefined reference to `_pcap_close 'Pcap.o(.text+0x2b14):Pcap.c: undefined reference to `_pcap_dump_close 'Pcap.o(.text+0x2dc9):Pcap.c: undefined reference to `_pcap_datalink 'Pcap.o(.text+0x3139):Pcap.c: undefined reference to `_pcap_snapshot 'Pcap.o(.text+0x34a9):Pcap.c: undefined reference to `_pcap_is_swapped 'Pcap.o(.text+0x3819):Pcap.c: undefined reference to `_pcap_major_version 'Pcap.o(.text+0x3b89):Pcap.c: undefined reference to `_pcap_minor_version 'Pcap.o(.text+0x3f00):Pcap.c: undefined reference to `_pcap_geterr 'Pcap.o(.text+0x41fe):Pcap.c: undefined reference to `_pcap_strerror 'Pcap.o(.text+0x46bf):Pcap.c: undefined reference to `_pcap_compile 'Pcap.o(.text+0x4ce7):Pcap.c: undefined reference to `_pcap_setfilter 'Pcap.o(.text+0x50a9):Pcap.c: undefined reference to `_pcap_fileno 'Pcap.o(.text+0x5400):Pcap.c: undefined reference to `_pcap_perror 'Pcap.o(.text+0x561c):Pcap.c: undefined reference to `_pcap_findalldevs 'Pcap.o(.text+0x59b6):Pcap.c: undefined reference to `_pcap_stats 'Pcap.o(.text+0x5df4):Pcap.c: undefined reference to `_pcap_file 'Pcap.o(.text+0x6438):Pcap.c: undefined reference to `_pcap_dump 'Pcap.o(.text+0x67dd):Pcap.c: undefined reference to `_pcap_next collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o Pcap.dll -Wl,--out-implib=libPcap.dll.a -Wl,--export-all-symbols \ Wl,--enable-auto-import -Wl,--stack,8388608- s -L/usr/local/lib Pcap.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a- make: *** [blib/arch/auto/Net/Pcap/Pcap.dll] Error 1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |