Testing MINGW

Testing MINGW

Postby ADutheil » Mon Nov 14, 2011 1: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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Testing MINGW

Postby nnicanor » Mon Nov 14, 2011 4: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
nnicanor
 
Posts: 302
Joined: Fri Apr 23, 2010 4:30 am
Location: Colombia

Re: Testing MINGW

Postby ADutheil » Mon Nov 14, 2011 4: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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Testing MINGW

Postby Antonio Linares » Mon Nov 14, 2011 4:53 pm

André,

Here it is working fine. We email you fivehgc.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Testing MINGW

Postby ADutheil » Mon Nov 14, 2011 4:56 pm

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

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Testing MINGW

Postby ADutheil » Mon Nov 14, 2011 5: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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Testing MINGW

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Testing MINGW

Postby ADutheil » 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
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Testing MINGW

Postby Antonio Linares » Mon Nov 14, 2011 11:49 pm

Very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 108 guests