[Gambas-user] compiling Gambas3 on slack 12.2

Stefano Palmeri rospolosco at ...152...
Thu Oct 14 12:22:46 CEST 2010


Il giovedì 14 ottobre 2010 03:40:48 Benoît Minisini ha scritto:
> You should just have to upgrade the GNU autotools and libtool to a recent
> version.
>
> Regards,
>
> --
> Benoît Minisini

Thanks Benoit.

I upgraded autoconf, automake, libtool. Then ./reconf-all, ./configure and 
make. I get this following error at the end of compiling:

_error.o gbx3-gbx_c_gambas.o gbx3-gbx_c_file.o gbx3-gbx_c_application.o 
gbx3-gbx_c_array.o gbx3-gbx_c_process.o gbx3-gbx_c_subcollection.o 
gbx3-gbx_c_string.o gbx3-gbx_component.o gbx3-gbx_extern.o gbx3-gbx_c_enum.o 
gbx3-gbx_c_timer.o gbx3-gbx_struct.o  -L/usr/./lib/ 
libgbx.a -lm -ldl -lpthread /usr/lib/libffi.so
gbx3-gbx_extern.o: In function `EXTERN_make_callback':
/home/stefano/trunk/main/gbx/gbx_extern.c:640: undefined reference to 
`ffi_closure_alloc'
/home/stefano/trunk/main/gbx/gbx_extern.c:642: undefined reference to 
`ffi_prep_closure_loc'
collect2: ld returned 1 exit status
make[4]: *** [gbx3] Error 1
make[4]: Leaving directory `/home/stefano/trunk/main/gbx'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/stefano/trunk/main'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/stefano/trunk/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefano/trunk'
make: *** [all] Error 2

On my sistem libffi.so is part of gcc-java package. I wouldn't touch all gcc 
stuff. So, any workaround for that error? 

Thanks, 

Stefano








More information about the User mailing list