Hello All

I am compiling/linking a extremely large project 
with hbIDE, hbMK2 ( hbMK2 is slightly modified to supply 
sources to Harbour compiler one-by-one, rest remaining the 
same as is ) with -xhb switch.

I am been able to compile the project flawlessly.
At the link time I get this error:




Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_errno' referenced from
C:\XHARBOUR\LIB\PP.LIB|ppcore

hbmk2: Error: Running linker. 2
ilink32.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cvzfqb.lnk

----------------------------------------------------------------------------------------------------
Exit Code [ 7 ]    Exit Status [ 0 ]    Finished at [ 13:54:20 ]    Done in
[ 109.78 Secs ]
----------------------------------------------------------------------------------------------------

I have looked into ppcore.c which includes <errno.h>.
errno.h hs following lines:

#ifdef _MT

#ifdef __cplusplus
extern "C" {
#endif
extern  int * _RTLENTRY _EXPFUNC __errno(void);
extern  int * _RTLENTRY _EXPFUNC __doserrno(void);
#ifdef  __cplusplus
}
#endif
#define errno (*__errno())
#define _doserrno (*__doserrno())

#else

extern  int _RTLENTRY  _EXPDATA errno;
extern  int _RTLENTRY  _EXPDATA _doserrno;

#endif




Can someone points me what else is needed for this 
project to link properly ?

-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://harbour-devel.1590103.n2.nabble.com/hbMK2-xHarbour-Oct-2007-Unresolved-External-tp5033192p5033192.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to