This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Problems instaling perl Net::Pcap module
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 4 Mar 2005 13:10:27 -0000
- Subject: RE: Problems instaling perl Net::Pcap module
----Original Message----
>From: SonOfLilit
>Sent: 03 March 2005 17:08
[ ... snip! ... ]
> * 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
[ ... snip! ... ]
> 'Pcap.o(.text+0x12b7):Pcap.c: undefined reference to `_pcap_open_live
[ ... snip! ... ]
> 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-
[ ... snip! ... ]
> Clue anyone?
Two clues for the price of one in fact!
>put ./lib to my /lib/Pcap and ./include
>-L/usr/local/lib
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/