Page 1 of 1

Linking problems with xHarbour builder ...

Posted: Thu Sep 21, 2006 4:52 pm
by Rimantas
Hi ,

Today I bought the latest FWH ( libs dated 2006.09.17 ) and tried with xHarbour binaries from FW site and with xHB Builder ( 2006.August ) . With free xHarbour all compiles and links are OK . But with xHB builder I'm getting the following error :

xLINK: error: Unresolved external symbol '_HB_FUN___CLSCNTCLASSES'.
xLINK: fatal error: 1 unresolved external(s).

How to solve this problem ?

Regards , Rimantas

Posted: Thu Sep 21, 2006 5:25 pm
by Antonio Linares
Rimantas,

Please remove this code is source\function\errsysw.prg:

Code: Select all

   #ifndef __XHARBOUR__
      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
   #else   
      while n <= __ClsCntClasses()
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
   #endif   
and change it:

Code: Select all

      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end

Posted: Thu Sep 21, 2006 6:39 pm
by Rimantas
Antonio Linares wrote:Rimantas,

and change it:

Code: Select all

      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
OK . I'll try it .. :-))

Regards !