Error: Unresolved external '_hb_vmProcessSymbolsEx'

Error: Unresolved external '_hb_vmProcessSymbolsEx'

Postby anserkk » Tue Jun 24, 2008 11:32 am

Freinds,

I don't know where I have went wrong. I tried the Borland make sample in C:\FWH\makes (BorMakes.Zip)

I succesfully compiled using Harbour but when I try to compile using xHarbour I am getting the error.

Code: Select all  Expand view
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\FWH\LIB\F
IVEH.LIB|ERRSYSW
Error: Unresolved external '_HB_PCREPOS_LIBRARY' referenced from C:\XHARBOUR\LIB
\RTL.LIB|regex


Is there anything extra that I should add to the make if I use xHarbour instead of Harbour

Regards

Anser


Code: Select all  Expand view
C:\Test2\make>go

C:\Test2\make>if not exist obj md obj

C:\Test2\make>c:\Borland\bcc55\bin\make -ftest.rmk
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
        c:\xharbour\bin\harbour .\alert.PRG /L /N /W /Oobj\ /Ic:\fwh\include;c:\
xharbour\include
xHarbour Compiler build 1.1.0 (SimpLex) (Rev. 6095)
Copyright 1999-2008, http://www.xharbour.org http://www.harbour-project.org/
Compiling '.\alert.PRG'...
Lines 29, Functions/Procedures 2
Generating C source output to 'obj\alert.c'...
Done.
        c:\Borland\bcc55\bin\bcc32 -c -tWM -Ic:\xharbour\include -oobj\alert obj
\alert.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
obj\alert.c:
        c:\xharbour\bin\harbour .\one.PRG /L /N /W /Oobj\ /Ic:\fwh\include;c:\xh
arbour\include
xHarbour Compiler build 1.1.0 (SimpLex) (Rev. 6095)
Copyright 1999-2008, http://www.xharbour.org http://www.harbour-project.org/
Compiling '.\one.PRG'...
Lines 6, Functions/Procedures 1
Generating C source output to 'obj\one.c'...
Done.
        c:\Borland\bcc55\bin\bcc32 -c -tWM -Ic:\xharbour\include -oobj\one obj\o
ne.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
obj\one.c:
        echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
        echo -Ic:\xharbour\include;c:\fwh\include >> tmp
        c:\Borland\bcc55\bin\bcc32 -oobj\two @tmp two.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
two.c:
        del tmp
        echo off
        echo c:\Borland\bcc55\lib\c0w32.obj + > b32.bc
        echo obj\alert.obj obj\one.obj obj\two.obj, + >> b32.bc
        echo alert.exe, + >> b32.bc
        echo alert.map, + >> b32.bc
        echo c:\fwh\lib\FiveH.lib c:\fwh\lib\FiveHC.lib + >> b32.bc
        echo c:\xharbour\lib\rtl.lib + >> b32.bc
        echo c:\xharbour\lib\vm.lib + >> b32.bc
        echo c:\xharbour\lib\gtgui.lib + >> b32.bc
        echo c:\xharbour\lib\lang.lib + >> b32.bc
        echo c:\xharbour\lib\macro.lib + >> b32.bc
        echo c:\xharbour\lib\rdd.lib + >> b32.bc
        echo c:\xharbour\lib\dbfntx.lib + >> b32.bc
        echo c:\xharbour\lib\dbfcdx.lib + >> b32.bc
        echo c:\xharbour\lib\dbffpt.lib + >> b32.bc
        echo c:\xharbour\lib\hbsix.lib + >> b32.bc
        echo c:\xharbour\lib\debug.lib + >> b32.bc
        echo c:\xharbour\lib\common.lib + >> b32.bc
        echo c:\xharbour\lib\pp.lib + >> b32.bc
        echo c:\xharbour\lib\codepage.lib + >> b32.bc
        rem Uncomment these two lines to use Advantage RDD
        rem echo c:\xharbour\lib\b32\rddads.lib + >> b32.bc
        rem echo c:\xharbour\lib\b32\Ace32.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\cw32.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\import32.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\psdk\odbc32.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\psdk\nddeapi.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\psdk\iphlpapi.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\psdk\rasapi32.lib + >> b32.bc
        echo c:\Borland\bcc55\lib\psdk\msimg32.lib, >> b32.bc
        IF EXIST Alert.res echo Alert.res >> b32.bc
        c:\Borland\bcc55\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\FWH\LIB\F
IVEH.LIB|ERRSYSW
Error: Unresolved external '_HB_PCREPOS_LIBRARY' referenced from C:\XHARBOUR\LIB
\RTL.LIB|regex

** error 2 ** deleting Alert.exe

C:\Test2\make>
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Postby Antonio Linares » Tue Jun 24, 2008 12:34 pm

Anser,

>
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\FWH\LIB\FIVEH.LIB|ERRSYSW
>

If you are using xHarbour then you have to link FIVEHX.lib

>
Error: Unresolved external '_HB_PCREPOS_LIBRARY' referenced from C:\XHARBOUR\LIB\RTL.LIB|regex
>

You have to link xHarbour pcrepos.lib too
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby anserkk » Tue Jun 24, 2008 12:49 pm

Thankyou Antonio,

Solved the problem based on your instructions.

Used FiveHx.Lib instead of FiveH.Lib from \FWH\Lib
Additionaly Included pcrepos.Lib from \xHarbour\Lib

Regards

Anser


Antonio Linares wrote:Anser,

>
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\FWH\LIB\FIVEH.LIB|ERRSYSW
>

If you are using xHarbour then you have to link FIVEHX.lib

>
Error: Unresolved external '_HB_PCREPOS_LIBRARY' referenced from C:\XHARBOUR\LIB\RTL.LIB|regex
>

You have to link xHarbour pcrepos.lib too
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 70 guests