FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Linking problems with xHarbour builder ...
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Linking problems with xHarbour builder ...
Posted: Thu Sep 21, 2006 04:52 PM

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

Rimantas U.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Linking problems with xHarbour builder ...
Posted: Thu Sep 21, 2006 05:25 PM
Rimantas,

Please remove this code is source\function\errsysw.prg:
   #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:
      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Linking problems with xHarbour builder ...
Posted: Thu Sep 21, 2006 06:39 PM
Antonio Linares wrote:Rimantas,

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


OK . I'll try it .. :-))

Regards !
Rimantas U.

Continue the discussion