Code: Select all
buildg.bat netcard
If I compile with the current nightly of Harbour build I get:┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 12.03 and GCC - Mar. 2012 Harbour development power │▄
│ (c) FiveTech, 1993-2012 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.0.0 (Rev. 16951)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'netcard.prg' and generating preprocessed output to 'netcard.ppo'...
Lines 5, Functions/Procedures 1
Generating C source output to 'netcard.c'... Done.
.\..\lib/fivehgc.lib(NETCRDID.o):NETCRDID.C:(.text+0xc): undefined reference to `__chkstk_ms'
.\..\lib/fivehgc.lib(NETCRDID.o):NETCRDID.C:(.text+0x30): undefined reference to `GetAdaptersInfo@8'
.\..\lib/fivehgc.lib(NETCRDID.o):NETCRDID.C:(.text+0x16c): undefined reference to `__chkstk_ms'
.\..\lib/fivehgc.lib(NETCRDID.o):NETCRDID.C:(.text+0x190): undefined reference to `GetAdaptersInfo@8'
.\..\lib/fivehgc.lib(PROFILE.o):PROFILE.C:(.text+0x5d): undefined reference to `__chkstk_ms'
.\..\lib/fivehgc.lib(PROFILE.o):PROFILE.C:(.text+0x177): undefined reference to `__chkstk_ms'
.\..\lib/fivehgc.lib(C5CNEW.o):C5CNEW.C:(.text+0x63bd): undefined reference to `__chkstk_ms'
collect2: ld returned 1 exit status
* Link errors *
I always used MinGW which is included with Harbour.┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 12.03 and GCC - Mar. 2012 Harbour development power │▄
│ (c) FiveTech, 1993-2012 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.1.0dev (Rev. 17402)
Copyright (c) 1999-2012, http://harbour-project.org/
Compiling 'netcard.prg' and generating preprocessed output to 'netcard.ppo'...
Lines 5, Functions/Procedures 1
Generating C source output to 'netcard.c'... Done.
.\..\lib/fivehgc.lib(NETCRDID.o):NETCRDID.C:(.text+0x30): undefined reference to `GetAdaptersInfo@8'
.\..\lib/fivehgc.lib(NETCRDID.o):NETCRDID.C:(.text+0x190): undefined reference to `GetAdaptersInfo@8'
collect2: ld returned 1 exit status
* Link errors *