FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour what does the Error mean ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
what does the Error mean ?
Posted: Wed Nov 26, 2025 09:06 PM

hi,

FiveH64.lib(errsysw.obj) : error LNK2005: HB_FUN_HB_GTSYS ist bereits in hbrtl.lib(gtsys.obj) definiert.
hbrtl.lib(gtsys.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "HB_FUN_HB_GT_WIN" in Funktion "hb_gt_ForceLink_HB_GT_WIN".

IMPORT.exe : fatal error LNK1120: 1 nicht aufgelöste Externe

  • Linking errors *

i got the Error, but don´t understand what to do ?

greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: what does the Error mean ?
Posted: Thu Nov 27, 2025 03:54 AM

Dear Jimmy,

  1. Library Order: Ensure FiveWin libraries are listed before Harbour libraries.

  2. Add the GT Library: Include gtwin.lib.

  3. Add the Force Flag: Use /FORCE:MULTIPLE.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: what does the Error mean ?
Posted: Thu Nov 27, 2025 05:16 AM

hi Antonio,

Antonio Linares wrote:
  1. Library Order: Ensure FiveWin libraries are listed before Harbour libraries.

  2. Add the GT Library: Include gtwin.lib.

  3. Add the Force Flag: Use /FORCE:MULTIPLE.

THX for help

i use BUILDH64.BAT and add

echo %hdirl%\gtwin.lib  >> msvc.tmp

/FORCE:MULTIPLE

but still get

Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
FiveH64.lib(errsysw.obj) : error LNK2005: HB_FUN_HB_GTSYS ist bereits in hbrtl.lib(gtsys.obj) definiert.
IMPORT.exe : fatal error LNK1169: Mindestens ein mehrfach definiertes Symbol gefunden.

Source CODE goes NOT contain any In/Output just create DBF and fill it.

greeting,

Jimmy

Continue the discussion