Hi Pritpal,

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)

[ BTW, I think HB_VM_MT would be the better name.
Przemek, shouldn't we change it? "VM" is the subsystem
name, "MT" is the feature name. ]

Brgds,
Viktor

On 2008.09.30., at 1:51, Pritpal Bedi wrote:


Hello

I am receiving this error when linking in MT mode:

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

BCC58

SET HB_BUILD_ST=
SET C_USR=-DHB_FM_STATISTICS_OFF -DHB_FM_DL_ALLOC -D__MT__ -DHB_VM_MT
-DHB_NO_PROFILER
SET L_USR=cw32mt.lib

Regards
Pritpal Bedi
--
View this message in context: 
http://www.nabble.com/Error%3A-Unresolved-external-%27_hb_stack%27-referenced-from-C%3A%5CHARBOUR%5CLIB%5CXHB.LIB%7Ccstructc-tp19733908p19733908.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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

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

Reply via email to