al compilar con una versión de MinGW que tengo del 2013 me lanza esos errores al linkar...
Code: Select all
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Harbour 17.11 and GCC - Nov. 2017 Harbour development power │▄
│ (c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 3.2.0dev (r1703231115)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'testfon2.prg' and generating preprocessed output to 'testfon2.ppo'...
Lines 4768, Functions/Procedures 1
Generating C source output to 'testfon2.c'... Done.
.\..\lib/fivehgc.lib(GDIPFWH.o):gdipfwh.cpp:(.text+0x430): undefined reference to `_Unwind_Resume'
.\..\lib/fivehgc.lib(GDIPFWH.o):gdipfwh.cpp:(.text+0x444): undefined reference to `_Unwind_Resume'
.\..\lib/fivehgc.lib(GDIPFWH.o):gdipfwh.cpp:(.text+0x458): undefined reference to `_Unwind_Resume'
.\..\lib/fivehgc.lib(GDIPFWH.o):gdipfwh.cpp:(.text+0x1406): undefined reference to `_Unwind_Resume'
.\..\lib/fivehgc.lib(GDIPFWH.o):gdipfwh.cpp:(.text+0x141a): undefined reference to `_Unwind_Resume'
.\..\lib/fivehgc.lib(GDIPFWH.o):gdipfwh.cpp:(.text+0x142e): more undefined references to `_Unwind_Resume' follow
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: .\..\lib/fivehgc.lib(GDIPFWH.o): bad reloc address 0xd in section `.text$_ZSt3cosf[__ZSt3cosf]'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status
* Link errors *
C:\fwh\samples>buildg testfon2
Supongo que es por la versión de MinGW.
Un Saludo,
Xevi.