Linking issue with FWH 2.7
Linking issue with FWH 2.7
Hi All,
I just got FWH 2.7 set up and am trying to use the following rmk file. The rmk file runs perfectly with FWH2.5. I had to comment out reference to DBFDBT.LIB and HBZIP.LIB to get further along the linking process. It then crashes with a bunch of unresolved externals '_hb_sx*" . See below the rmk for the complete error log.
What do I have to do to resolve the unresolved external issue? Why do the DBFDBT.LIB and HBZIP.LIB not exist in the FWH 2.7 software? Are they not required anymore?
Thanks,
Vytas
#Borland make sample, (c) FiveTech Software 2005
HBDIR=d:\harbour
BCDIR=d:\Borland\bcc55
FWDIR=d:\fwh
#change these paths as needed
.path.PRG = .\
.path.OBJ = .\obj
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
CTI.PRG \
# invdata.PRG \
# compile.PRG \
# reports.PRG \
# testit.PRG \
# param.PRG \
# xbrowse.PRG
# one.PRG
# C = \
# two.C
PROJECT : CTI.exe
CTI.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) CTI.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
echo obj\CTI.obj, + >> b32.bc
echo CTI.exe, + >> b32.bc
echo CTI.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtwin.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
# echo $(HBDIR)\lib\dbfdbt.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
# echo $(HBDIR)\lib\hbzip.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST CTI.res echo CTI.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
# del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include >> vjclip.log
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
# del tmp
CTI.res : CTI.rc
$(BCDIR)\bin\brc32.exe -r CTI.rc
Error Log:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_sxDeCrypt' referenced from D:\HARBOUR\LIB\RDD.LI
B|dbf1
Error: Unresolved external '_hb_sxPtoD' referenced from D:\HARBOUR\LIB\RDD.LIB|d
bf1
Error: Unresolved external '_hb_sxDtoP' referenced from D:\HARBOUR\LIB\RDD.LIB|d
bf1
Error: Unresolved external '_hb_sxEnCrypt' referenced from D:\HARBOUR\LIB\RDD.LI
B|dbf1
Error: Unresolved external '_HB_FUN_DBFFPT' referenced from D:\HARBOUR\LIB\RDD.L
IB|rddsys
** error 2 ** deleting CTI.exe
I just got FWH 2.7 set up and am trying to use the following rmk file. The rmk file runs perfectly with FWH2.5. I had to comment out reference to DBFDBT.LIB and HBZIP.LIB to get further along the linking process. It then crashes with a bunch of unresolved externals '_hb_sx*" . See below the rmk for the complete error log.
What do I have to do to resolve the unresolved external issue? Why do the DBFDBT.LIB and HBZIP.LIB not exist in the FWH 2.7 software? Are they not required anymore?
Thanks,
Vytas
#Borland make sample, (c) FiveTech Software 2005
HBDIR=d:\harbour
BCDIR=d:\Borland\bcc55
FWDIR=d:\fwh
#change these paths as needed
.path.PRG = .\
.path.OBJ = .\obj
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
CTI.PRG \
# invdata.PRG \
# compile.PRG \
# reports.PRG \
# testit.PRG \
# param.PRG \
# xbrowse.PRG
# one.PRG
# C = \
# two.C
PROJECT : CTI.exe
CTI.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) CTI.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
echo obj\CTI.obj, + >> b32.bc
echo CTI.exe, + >> b32.bc
echo CTI.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtwin.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
# echo $(HBDIR)\lib\dbfdbt.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
# echo $(HBDIR)\lib\hbzip.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST CTI.res echo CTI.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
# del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include >> vjclip.log
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
# del tmp
CTI.res : CTI.rc
$(BCDIR)\bin\brc32.exe -r CTI.rc
Error Log:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_sxDeCrypt' referenced from D:\HARBOUR\LIB\RDD.LI
B|dbf1
Error: Unresolved external '_hb_sxPtoD' referenced from D:\HARBOUR\LIB\RDD.LIB|d
bf1
Error: Unresolved external '_hb_sxDtoP' referenced from D:\HARBOUR\LIB\RDD.LIB|d
bf1
Error: Unresolved external '_hb_sxEnCrypt' referenced from D:\HARBOUR\LIB\RDD.LI
B|dbf1
Error: Unresolved external '_HB_FUN_DBFFPT' referenced from D:\HARBOUR\LIB\RDD.L
IB|rddsys
** error 2 ** deleting CTI.exe
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Vytas,
You have to include hbsix.lib and dbffpt.lib.
And you may download hbzip.lib from here:
http://hyperupload.com/download/aca05349/hbzip.zip.html
You have to include hbsix.lib and dbffpt.lib.
And you may download hbzip.lib from here:
http://hyperupload.com/download/aca05349/hbzip.zip.html
Re: Linking issue with FWH 2.7
Vytai , dbt ir fpt funkcionalumas sudeti i hbsix.lib biblioteka . Dabar uztenka nurodyti kokia nors RDD ( DBFCDX arba DBFNTX ) + DBFFPT + HBSIX .Vytas wrote:Hi All,
I just got FWH 2.7 set up and am trying to use the following rmk file. The rmk file runs perfectly with FWH2.5. I had to comment out reference to DBFDBT.LIB and HBZIP.LIB to get further along the linking process. It then crashes with a bunch of unresolved externals '_hb_sx*" . See below the rmk for the complete error log.
Linkejimai !
Rimantas U.
Hello Antonio,
is there a version of hbzip.lib for xharbour / MSVC also?
thanks and regards
frank
is there a version of hbzip.lib for xharbour / MSVC also?
thanks and regards
frank
Antonio Linares wrote:Vytas,
You have to include hbsix.lib and dbffpt.lib.
And you may download hbzip.lib from here:
http://hyperupload.com/download/aca05349/hbzip.zip.html
Frank-Peter
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Thanks to all the hints provided. I can now successfully compile and link the program with FWH version 2.7.
However when I try to run it I get the following error:
Unrecoverable error 9000:
Program with 1st fun: 'TBAR' was compiled by older version, pcode version 0 is no longer supported. Please recompile.
So I ask again what am I doing wrong?
Thanks,
Vytas
However when I try to run it I get the following error:
Unrecoverable error 9000:
Program with 1st fun: 'TBAR' was compiled by older version, pcode version 0 is no longer supported. Please recompile.
So I ask again what am I doing wrong?
Thanks,
Vytas