undefined reference to `GetAdaptersInfo@8' using Mingw

1,776 views
Skip to first unread message

Bruno Luciani

unread,
Jun 29, 2014, 3:49:31 PM6/29/14
to harbour-users
I get this error compiling using nightly harbour 3.2 16/06/2014

whats happenning ?

C:\hb32\comp\mingw\BIN\GCC.EXE -Wall  -o C:\bwsgesw\bwsgestionLPDF.EXE C:\hb32\comp\mingw\BIN\_2014062957632_Script.ld -mwindows
C:\hb32\LIB/libhbrtl.a(hbsocket.o):hbsocket.c:(.text+0x315b): undefined reference to `GetAdaptersInfo@8'
C:\hb32\LIB/libhbrtl.a(hbsocket.o):hbsocket.c:(.text+0x336c): undefined reference to `GetAdaptersInfo@8'
collect2: ld returned 1 exit status


elch

unread,
Jul 1, 2014, 1:21:38 PM7/1/14
to harbou...@googlegroups.com

Hi Bruno,


there was a change for determining MAC addresses for NIC adapters, January this year ..


Which Windows version ?? -- 98 ;) ?


regards

Rolf

elch

unread,
Jul 1, 2014, 4:42:54 PM7/1/14
to harbou...@googlegroups.com

ah,


i just read that you soved the problem 'somehow' - but in another, different thread ...


Rolf

Bruno Luciani

unread,
Jul 1, 2014, 8:58:17 PM7/1/14
to harbour-users
yes I add a library from mingw  and  this solve teh problem , i don't remember the name now
tomorrow  i post the name

Bruno


--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

YOGESH NIDHONKAR

unread,
Dec 27, 2016, 1:10:57 AM12/27/16
to Harbour Users
Hi bronius..can you specify the library which you added to solve the problem of  "undefined reference to `GetAdaptersInfo@8"

Gustavo Fidelis

unread,
Dec 27, 2016, 4:21:10 AM12/27/16
to harbou...@googlegroups.com
Hi,
Add libiphlpapi.a in your script to build.
Reply all
Reply to author
Forward
0 new messages