[Winpcap-users] EXT : Fwd: libwpcap.a for Win7/64 bit

Black, Michael (IS) Michael.Black2 at ngc.com
Tue Aug 20 12:51:10 PDT 2013


Try adding the -fpic switch and see if that helps



Michael D. Black
Senior Scientist
Analytics, Production and Services
Advanced GEOINT Systems
Northrop Grumman Information Systems

________________________________
From: winpcap-users-bounces at winpcap.org [winpcap-users-bounces at winpcap.org] on behalf of Phoebe K [kphoebe88 at gmail.com]
Sent: Tuesday, August 20, 2013 2:00 PM
To: winpcap-users at winpcap.org
Subject: EXT :[Winpcap-users] Fwd: libwpcap.a for Win7/64 bit

Does WinPCAP 4.1.2 developer pack support libraries for Win 7 - 64 bit machine? I am trying to build SILK/YAF and have to link wpcap - but I get this error:



configure:16513: checking for pcap_open_offline in -lwpcap

configure:16538: gcc -o conftest.exe -g -O2 -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_builddir)/airframe/include -I$(top_srcdir)/airframe/include -Wall -Wno-comment -Wno-long-long conftest.c -lwpcap >&5

/usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../lib/wpcap.lib(wpcap.dll.b):(.text+0x2): relocation truncated to fit: R_X86_64_32 against symbol `__imp_pcap_open_offline' defined in .idata$5 section in /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../lib/wpcap.lib(wpcap.dll.b)

collect2: error: ld returned 1 exit status

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20130820/d7d55cf0/attachment.html>


More information about the Winpcap-users mailing list