FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 12.03 and MinGW
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
FWH 12.03 and MinGW
Posted: Fri Apr 20, 2012 05:12 PM
If I compile with the current release of Harbour the FWH sample netcard.prg:

Code (fw): Select all Collapse
buildg.bat netcard

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 *


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.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 *


I always used MinGW which is included with Harbour.
Best Regards,

Ruediger Alich



---

HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Posts: 302
Joined: Fri Apr 23, 2010 04:30 AM
Re: FWH 12.03 and MinGW
Posted: Fri Apr 20, 2012 07:50 PM

Tienes que agregar la libreria

-liphlpapi

Slds

Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
Posts: 302
Joined: Fri Apr 23, 2010 04:30 AM
Re: FWH 12.03 and MinGW
Posted: Fri Apr 20, 2012 07:51 PM

Excusme,

Please add -liphlpapi library,

Regards,

Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
Re: FWH 12.03 and MinGW
Posted: Fri Apr 20, 2012 08:14 PM
nnicanor wrote:Excusme,


No problem :-)

nnicanor wrote:
Please add -liphlpapi library,


Now it works with current nightly build of Harbour. Thanks a lot.
Best Regards,

Ruediger Alich



---

HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper

Continue the discussion