FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveLinux / FiveDroid (Android) Build Error
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Build Error
Posted: Thu Feb 21, 2013 09: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 tohb_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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build Error
Posted: 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
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Build Error
Posted: Sat Feb 23, 2013 12:53 AM

Hi Antonio

My hbapi is the same.

regards

Colin

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build Error
Posted: Sat Feb 23, 2013 07:49 AM

Colin,

Could you provide me remote access to your server ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: Build Error
Posted: Wed Apr 03, 2013 02: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build Error
Posted: Wed Apr 03, 2013 03: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

Continue the discussion