[Harbour] Compile tests with OpenWatcom.
Horodyski Marek (PZUZ)
M.Horodyski at pzuzycie.com.pl
Thu Jan 8 06:22:16 EST 2009
I try work with OpenWacom 1.7 on Win32.
Positively create Harbor.exe (with a few errors in WVGWIN, thaks to
Massimo).
I have all libraries (lib files in folder C:\harbour\lib\w32\owatcom\.).
When trying to compile programs from a subdirectory tests using
bld_gnu.bat or hbmk_gnu.bat, unfortunately, I have such communications :
>>>>>>>>>>>
[... Snip many lines...]
loading object files
searching libraries
Warning! W1008: cannot open /hbdebug.lib : No such file or directory
[ snip 20 libs ]
Warning! W1008: cannot open /gtgui.lib : No such file or directory
Error! E2028: hb_vmProcessSymbolsEx_ is an undefined reference
[snip 12 an undefined reference]
Error! E2028: HB_FUN_QOUT_ is an undefined reference
Warning! W1023: no starting address found, using 00401000
creating a Windows NT character-mode executable
file atest.obj(c:\harbour\tests\w32\owatcom\atest.c): undefined symbol
hb_vmProcessSymbolsEx_
[snip 11 undefined symbol]
file atest.obj(c:\harbour\tests\w32\owatcom\atest.c): undefined symbol
hb_xvmExitProc_
file atest.obj(c:\harbour\tests\w32\owatcom\atest.c): undefined symbol
HB_FUN_QOUT_
make[1]: Leaving directory `c:/harbour/tests/w32/owatcom'
<<<<<<<<<<<<<<<
And aplication is not created.
Trouble begins after :
Warning! W1008: cannot open /hbdebug.lib : No such file or directory
Problem remains after copy libraries to c:\harbour\lib\..
My lib environment is :
c:\harbour\lib>set lib
LIB=C:\harbour\LIB;
Contents of file c:\harbour\tests\w32\owatcom\__link__.tmp :
>>>>>>>>>>>
OP osn=NT OP stack=65536 OP CASEEXACT NAME atest.exe
FILE atest.obj
LIB /hbdebug
[...snip 22 libs...]
LIB /gtgui
@C:\WATCOM/binnt/wlink.lnk
LIB kernel32.lib, user32.lib, wsock32.lib, winspool.lib, oleaut32.lib,
uuid.lib, comctl32.lib, mapi32.lib
<<<<<<<<<<<
My version of make is :
make.exe -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-pc-mingw32
What is wrong ?
Regards,
Marek Horodyski
More information about the Harbour
mailing list