Build Error

Build Error

Postby Colin Haig » Thu Feb 21, 2013 9:27 am

Hi Antonio

I downloaded the libs from the 13/02/2013 and the error does not occur when I compile and link.

The error appears to point to this file.
/fivewin/source/internal/lnx.c

home/colin/fivelinux/lib/libfivec.a(lnx.o): In function `button_press_event':
lnx.c:(.text+0xaad): undefined reference to `hb_extIsNil'



CODE: SELECT ALL EXPAND VIEW

gboolean button_press_event( GtkWidget * hWnd, GdkEventButton * event )
{
if( event->button == 1 )
{
hb_vmPushSymbol( pFLH );
hb_vmPushNil();
hb_vmPushLong( WM_LBUTTONDOWN ); // nMsg
hb_vmPushLong( ( HB_ULONG ) event->y ); // nWParam
hb_vmPushLong( ( HB_ULONG ) event->x ); // nLParam
hb_vmPushLong( ( HB_ULONG ) gtk_object_get_data( GTK_OBJECT( hWnd ), "WP" ) );
hb_vmFunction( 4 );
}

return ! HB_ISNIL( -1 ); // FALSE invokes default behavior




Cheers

Colin
Colin Haig

Posts: 213
Joined: Mon Oct 10, 2005 5:10 am
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Build Error

Postby Antonio Linares » Fri Feb 22, 2013 11:48 pm

Colin,

I think that the problem comes from this line:
return ! HB_ISNIL( -1 ); // FALSE invokes default behavior

If you review Harbour/include/hbapi.h you should have:

#define HB_ISNIL( n ) ( hb_param( n, HB_IT_ANY ) == NULL || HB_IS_NIL( hb_param( n, HB_IT_ANY ) ) )

Please check if your hbapi.h has the same, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build Error

Postby Colin Haig » Sat Feb 23, 2013 12:53 am

Hi Antonio

My hbapi is the same.

regards

Colin
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Build Error

Postby Antonio Linares » Sat Feb 23, 2013 7:49 am

Colin,

Could you provide me remote access to your server ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build Error

Postby Maurizio » Wed Apr 03, 2013 2:28 pm

Hello Antonio ,
I have the same problem

fivehc32.lib(RICHEDIT.obj) : error LNK2019: riferimento al simbolo esterno _hb_extIsNil non risolto nella funzione _HB_FUN_RELOA
DASRTF

FWH 13.3 + HARBOUR + Microsoft Visual Studio 10.0\VC

Maurizio
User avatar
Maurizio
 
Posts: 825
Joined: Mon Oct 10, 2005 1:29 pm

Re: Build Error

Postby Antonio Linares » Wed Apr 03, 2013 3:55 pm

Maurizio,

You need tu use a more recent Harbour build. Please review this:

viewtopic.php?p=142467#p142467
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 4 guests