Harbour: Link Error - unresolved external symbol - Clipper
This is a discussion on Harbour: Link Error - unresolved external symbol - Clipper ; Hi,
I'm new in harbour and xMate. I have the following program (test.prg):
&&-------------------------------------------
function main()
local i
cls
for i:= 1 to 10
@i,0 say transform(i, "99")
next
return (nil)
&&-------------------------------------------
I use Harbour (Alpha Build 45), Microsoft compiler ...
-
Harbour: Link Error - unresolved external symbol
Hi,
I'm new in harbour and xMate. I have the following program (test.prg):
&&-------------------------------------------
function main()
local i
cls
for i:= 1 to 10
@i,0 say transform(i, "99")
next
return (nil)
&&-------------------------------------------
I use Harbour (Alpha Build 45), Microsoft compiler to compile and
Microsoft Linker to link. I also use xMate. During the linking process,
I get the following error messages. I cannot figure out what is wrong
with it for 3 hours.
Does anyone know what causes the error? TIA.
---------------------------------------------------------------
D:\Test\Obj\test.Obj /OUT
:\Test\Test.Exe
test.Obj : error LNK2001: unresolved external symbol _HB_FUN___DBGENTRY
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_TRANSFORM
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_DEVOUT
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_DEVPOS
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_SETPOS
test.Obj : error LNK2001: unresolved external symbol _HB_FUN_SCROLL
test.Obj : error LNK2019: unresolved external symbol
_hb_vmProcessSymbols referenced in function _hb_vm_SymbolInit_TEST
test.Obj : error LNK2019: unresolved external symbol _hb_vmExecute
referenced in function _HB_FUN_MAIN
LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function ___tmainCRTStartup
D:\Test\Test.Exe : fatal error LNK1120: 9 unresolved externals
---------------------------------------------------------------
Regards,
Garret
-
Re: Harbour: Link Error - unresolved external symbol
test is a reserved word use a other name exa. mytest.
after change this word will appears "No Starding Procedure" and then
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_main' referenced from C:\BORLAND\BCC55\LIB\C0X32.OB
J
Error: Unresolved external '_hb_vmProcessSymbols' referenced from D:\MY\C0X32.OB
J
Error: Unresolved external '_hb_vmExecute' referenced from D:\MY\C0X32.OBJ
greats from phonix 6 hours in future -lol-
Similar Threads
-
By Application Development in forum Clarion
Replies: 1
Last Post: 07-27-2010, 10:00 AM
-
By Application Development in forum Clarion
Replies: 0
Last Post: 10-11-2007, 12:42 PM
-
By Application Development in forum c++
Replies: 1
Last Post: 08-23-2007, 03:15 PM
-
By Application Development in forum c++
Replies: 9
Last Post: 06-29-2007, 03:33 PM
-
By Application Development in forum c++
Replies: 3
Last Post: 12-04-2006, 01:28 PM