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: [email protected] [[email protected]] on 
behalf of Phoebe K [[email protected]]
Sent: Tuesday, August 20, 2013 2:00 PM
To: [email protected]
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

_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to