FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Testing MINGW
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Testing MINGW
Posted: Mon Nov 14, 2011 01:22 PM

I´m trying to build the gmapd sample with buildg gmapd and having the folowing errors:

Compiling...
Harbour 3.0.0 (Rev. 16951)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'gmapd.prg' and generating preprocessed output to 'gmapd.ppo'...
Lines 3857, Functions/Procedures 2
Generating C source output to 'gmapd.c'... Done.
gmapd.o:gmapd.c:(.data+0x148): undefined reference to HB_FUN_CURDRIVE' .\..\lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xe1b): undefined reference to_Un
wind_Resume'
...\lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.eh_frame+0x12): undefined reference to `
__gxx_personality_v0'
collect2: ld returned 1 exit status
* Link errors *
C:\FWH11.10\samples>

Curdrive() is easy to solve but I don´t know what to do about ACTX.o.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 302
Joined: Fri Apr 23, 2010 04:30 AM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 04:34 PM

Hello,

Changue curdrive() by hb_curdrive() or create a fucntion:

Function curdrive()

return hb_curdrive()

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: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 04:47 PM

Already done that. The problem remains with _Unwind_Resume' and__gxx_personality_v0'. I´am switching from TDM-MinGW to "pure" MinGW to see if it solves the problem.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 04:53 PM

André,

Here it is working fine. We email you fivehgc.lib

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 04:56 PM

Solved by switching from TDM-MinGW to mingw.org.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 05:02 PM
Antonio Linares wrote:André,

Here it is working fine. We email you fivehgc.lib


I received the LIB, thanks. Is it for TDM?
Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 10:09 PM

For mingw org. I don't know about that TDM version, sorry

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 11:13 PM

Antonio,

Everything´s working with mingw.org. TDM is from http://tdm-gcc.tdragon.net/

Thanks for your help.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Testing MINGW
Posted: Mon Nov 14, 2011 11:49 PM

Very good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion