FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xHarbour project link errors
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
xHarbour project link errors
Posted: Mon Jan 16, 2006 04:48 PM

I have been using Harbour and now I am trying to get started with xHarbour. I am getting the following errors:

Project: TTest, Environment: FWxH:
iLink32.Exe -Gn -aa -Tpe -s @TTest.bcl
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR

I am using FWH 2.6, May 2005 build. The xHarbour ver is 0.92.0 which has a file date of 1/5/2004. Also Borland C. I am wondering if I need a newer version of the xHarbour compiler? Does anyone have a version that they know is compatible with FWH 2.6? If so, could you mail me a copy? I can't find one on the net anywhere. Or can I use the latest version of xHarbour?

I am also using xMate which is new to me. Perhaps I have it configured wrong. I found it strange that xMate came pre-configured for about 20 environments but none of them were for FW, FWH, or FWxH. I am linking in the VM.LIB which looks like the one that is the problem.

Any other ideas?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour project link errors
Posted: Mon Jan 16, 2006 05:00 PM

If I remember correctly, you can define those functions as empty functions.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
xHarbour project link errors
Posted: Mon Jan 16, 2006 06:14 PM
Enrico,

OK, here is my entire program:

#include "fivewin.ch"

function main()
   msgInfo("Hello World")
return nil

function hb_dbg_vmstklcount()
return nil
function hb_dbg_vmparllist()
return nil
function hb_dbg_vmvarlget()
return nil
function hb_dbg_vmvarslen()
return nil

I also eliminated xMate and I am just using buildx.bat. The program compiles without error, but when I run it, nothing happens (I don't get the "Hello World" message).

Any more ideas?

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xHarbour project link errors
Posted: Mon Jan 16, 2006 06:33 PM

James,

I assume you are using /n at buildx.bat when compiling, right ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
xHarbour project link errors
Posted: Mon Jan 16, 2006 06:43 PM

Antonio,

Yes, I am using the /n in the standard buildx.bat with only slight modifications for paths. Here is the line from the file:

%hdir%\bin\harbour %1 /n /i%hdir%\include;%fwdir%\include /w /p %2 %3 > clip.log

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xHarbour project link errors
Posted: Mon Jan 16, 2006 06:48 PM

James,

I would suggest you to use the most recent xHarbour version, tested by FiveTech, that can be downloaded from:

www.fivetechsoft.com/files/xharbour.exe

and FWH 2.7 january 2006.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
xHarbour project link errors
Posted: Mon Jan 16, 2006 10:28 PM

James

I just sent you by private e-mail the FWH27, xHarbour 99.51 ( borland and msvc ) xMate environments.

FWH27 and the latest cvs 99.51 have to be used together .. lots of changes made to xHarbour and FWH... ( ie .. dbfdbt is no longer needed .. pcrepos and hbsix supersceed )

If you are using FWH26 .. delete the hbsix and pcrepos libs from the environments and replace with dbfdbt.

Hope this helps.

Rick Lipkin
SC Dept of Health, USA

Continue the discussion