Linking problems with xHarbour builder ...

Post Reply
User avatar
Rimantas
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Linking problems with xHarbour builder ...

Post 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
Rimantas U.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Rimantas
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Post 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 !
Rimantas U.
Post Reply