Hi Pritpal,

Szakáts Viktor wrote:

This looks like a mismatch between core and contrib
build-time MT switches.

-DHB_FM_DL_ALLOC is now unnecessary, and I believe -D__MT__
is also not needed, maybe even dangerous.
-DHB_VM_MT should be -DHB_MT_VM. (this may be the real problem)


Now I get

BCC58
C_USR=-DHB_FM_STATISTICS_OFF -DHB_NO_PROFILER -DHB_MT_VM

[1]:iLink32.Exe -Gn -aa -Tpe -s @CacheMGR.bcl
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_hb_stack_key' referenced from
C:\HARBOUR\LIB\XHB.LIB|cstructc

[ First I thought this is the newly added .prg file, but
no, this is an old existing .c file. ]

I just can guess: cstructc.c is using some internals,
which needs to be compiled with the exact same MT switches
as the HVM, and in your case they either don't match, or
MT switches are not effective on this contrib source code,
or even more probably this piece of code needs to be updated
for MT, because they are digging into HVM internals too
deeply. [ my bet is the latter. ]

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to