#37 xH libraries trouble

open
nobody
None
7
2012-10-23
2006-10-17
panzero
No

I've found a bug in xHarbour 0.99.60 build for
OpenWatcom 1.4 compiler. Looks like there is an error
in some library file. As you can see below "" symbol
as appended to the end of some functions (like
hb_vmProcessSymbols
). So the linker could not find
function "hb_vmProcessSymbols_" because there is only
definition for "hb_vmProcessSymbols".
Such error occures during linkage of simple "hello
world" program:

Open Watcom Linker Version 1.4
Portions Copyright (c) 1985-2002 Sybase, Inc. All
Rights Reserved.
Source code is available under the Sybase Open Watcom
Public License.
See http://www.openwatcom.org/ for details.
loading object files
searching libraries
Error! E2028: CHK is an undefined reference
Error! E2028: hb_vmProcessSymbols_ is an undefined
reference
Error! E2028: hb_vmExecute_ is an undefined reference
Error! E2028: void near HB_FUN_QOUT() is an undefined
reference
Warning! W1014: stack segment not found
Warning! W1023: no starting address found, using
0001:00000000
creating a DOS/4G executable
file HELLO.OBJ(C:\WATCOM\BINW\hello.c): undefined
symbol
CHK
file HELLO.OBJ(C:\WATCOM\BINW\hello.c): undefined
symbol hb_vmProcessSymbols_
file HELLO.OBJ(C:\WATCOM\BINW\hello.c): undefined
symbol hb_vmExecute_
file HELLO.OBJ(C:\WATCOM\BINW\hello.c): undefined
symbol void near HB_FUN_QOUT()
Open Watcom C/C++32 Compile and Link Utility Version 1.4
Portions Copyright (c) 1988-2002 Sybase, Inc. All
Rights Reserved.
Source code is available under the Sybase Open Watcom
Public License.
See http://www.openwatcom.org/ for details.
wlink @WCL.LNK
Error: Linker returned a bad status

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks