what does the Error mean ?

Post Reply
User avatar
Jimmy
Posts: 1799
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

what does the Error mean ?

Post by Jimmy »

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

Re: what does the Error mean ?

Post by Antonio Linares »

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
User avatar
Jimmy
Posts: 1799
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: what does the Error mean ?

Post by Jimmy »

hi Antonio,

Antonio Linares wrote: Thu Nov 27, 2025 3:54 am
  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

Code: Select all | Expand

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
Post Reply