xHarbour project link errors

Post Reply
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

xHarbour project link errors

Post by James Bott »

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
User avatar
Enrico Maria Giordano
Posts: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: xHarbour project link errors

Post by Enrico Maria Giordano »

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

EMG
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Enrico,

OK, here is my entire program:

Code: Select all | Expand

#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
User avatar
Antonio Linares
Site Admin
Posts: 42516
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

James,

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

Antonio Linares
www.fivetechsoft.com
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
User avatar
Antonio Linares
Site Admin
Posts: 42516
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

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
User avatar
Rick Lipkin
Posts: 2668
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Post by Rick Lipkin »

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