I try to build a aplication with xmate. After setting the data for PRG compiler , c Compiler and linker , i got as error :
Obj-file contains invalid OMF record type 0x4C
Frank Demont
I try to build a aplication with xmate. After setting the data for PRG compiler , c Compiler and linker , i got as error :
Obj-file contains invalid OMF record type 0x4C
Frank Demont
Frank,
you are mixing borland and ms object files, that´s not possile.
Please check your object files.
[Environment]
Description 1=Updated for FWH808. Dbfdbt is no longer needed.
Description 2=Supersceeded with HbSix.lib and pcrepos.lib
Description 3=
PRG Compiler ver=xHarbour
C compiler ver=Bcc55
Subsystem=FWH904
Author=Richard Lipkin
Last update=05/23/2008
[Advanced]
Command types=1,1,1,1,1,1,1,1,1
[Harbour]
HB_INSTALL=C:\XHARBOUR
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL% /d__EXPORT__
Option prefix=/
[C]
C_INSTALL=C:\Borland\BCC55
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c -O2 Â -tW -v- -X %CRLF%-DHB_OS_WIN_32 %CRLF%-I%C_INC_INSTALL%;%HB_INC_INSTALL% Â -n%HOME%\Obj %C%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -M -m -s -Tpe -aa @%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r  -fo%RES%  %RC%
C_DLL_COMMAND=
Option prefix=-
[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=
[Files]
C:\FWH910\LIB\Fivehx.lib=1
C:\FWH910\LIB\Fivehc.lib=2
%HB_LIB_INSTALL%\rtl.lib=3
%HB_LIB_INSTALL%\vm.lib=4
%HB_LIB_INSTALL%\gtgui.lib=5
%HB_LIB_INSTALL%\lang.lib=6
%HB_LIB_INSTALL%\macro.lib=7
%HB_LIB_INSTALL%\rdd.lib=8
%HB_LIB_INSTALL%\dbfcdx.lib=9
%HB_LIB_INSTALL%\dbffpt.lib=10
%HB_LIB_INSTALL%\dbfntx.lib=11
%HB_LIB_INSTALL%\hbsix.lib=12
%HB_LIB_INSTALL%\common.lib=13
%HB_LIB_INSTALL%\pp.lib=14
%HB_LIB_INSTALL%\pcrepos.lib=15
%C_LIB_INSTALL%\CW32.LIB=16
%C_LIB_INSTALL%\IMPORT32.LIB=17
%C_LIB_INSTALL%\PSDK\msimg32.lib=18
%C_LIB_INSTALL%\C0W32.OBJ=19
[DLL Files]
%C_LIB_INSTALL%\import32.lib=1
%HB_LIB_INSTALL%\harbour.lib=2
%C_LIB_INSTALL%\c0w32w.obj=3
%C_LIB_INSTALL%\cw32.lib=4Rick
Thank you for the enveronnement file , but the error is still there.
As in the environnement i made the directory's c:\borland\bcc55 and c:\xharbour. In xmate (environnement configuration) this directory's can be seen.
xMate makes the tree obj-files , but failes on the first obj when ilink is called.
Frank
Frank
Are you linking in any 3rd party .libs ? As mentioned earlier .. that error OMF record type 0x4C generally comes from a mis-match on 3rd party libs ..
Rick
Rick,
I have reinstalled bcc55 , and the error is gone away. Now i have problems with p-code (conflict pcode 9 and pcode 10) . I have FWH 8.10 , i suppose i should use xharbour from 2008 but doesn't find it.
Frank