I just tryed to build harbour dll with Borland C++Builder 5.0 (win32)
and CodeGuard for the first time, I set the following:

set HB_BUILD_DLL=yes
set CFLAGS=-v -y -vG -Od

and run make_b32.bat

I get the following errors:

Error: Unresolved external '_CG_DESC' referenced from 
E:\HRB\OBJ\DLL\B32\MAINDLLH.OBJ
Error: Unresolved external '_CG_A_PD' referenced from 
E:\HRB\OBJ\DLL\B32\ESTACK.OBJ
Error: Unresolved external '_CG_GDA_EGXSY' referenced from 
E:\HRB\OBJ\DLL\B32\HBSTR.OBJ
Error: Unresolved external '_CG_A_PY' referenced from 
E:\HRB\OBJ\DLL\B32\HBSTR.OBJ
Error: Unresolved external '_CG_DA_EPXSY' referenced from 
E:\HRB\OBJ\DLL\B32\HBSTR.OBJ
Error: Unresolved external '_CG_DA_EPY' referenced from 
E:\HRB\OBJ\DLL\B32\HBSTR.OBJ
Error: Unresolved external '_CG_A_BP' referenced from 
E:\HRB\OBJ\DLL\B32\HBFFIND.OBJ
Error: Unresolved external '_CG_LDA_EOXSY' referenced from 
E:\HRB\OBJ\DLL\B32\HBVER.OBJ
Error: Unresolved external '_CG_LA_BP' referenced from 
E:\HRB\OBJ\DLL\B32\HBVER.OBJ
Error: Unresolved external '_CG_A_PQ' referenced from 
E:\HRB\OBJ\DLL\B32\CMDARG.OBJ
Error: Unresolved external '_CG_DA_BEPXSY' referenced from 
E:\HRB\OBJ\DLL\B32\WAFUNC.OBJ
Error: Unresolved external '_CG_GDA_EGY' referenced from 
E:\HRB\OBJ\DLL\B32\WORKAREA.OBJ
Error: Unresolved external '_CG_GA_BP' referenced from 
E:\HRB\OBJ\DLL\B32\HBTRACE.OBJ
Error: Unresolved external '_CG_GA_GY' referenced from 
E:\HRB\OBJ\DLL\B32\PPCORE.OBJ

Which shows that the object was created with the CodeGuard flag but
the link was not. Which environment should I set?
(without setting HB_BUILD_DLL it all works well).

Tested with ChangeLog 2008-07-30 03:11 UTC+0200 Viktor Szakats


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

Reply via email to