Re: libffi problems when compiling glib-2.31.0



On Mon, Oct 31, 2011 at 10:06:15PM -0700, Jonathan Greenberg wrote:
> Thanks -- I got a bit farther (and did what you suggested), but now
> I'm getting this:
> 
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_pointer'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_float'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_void'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_sint64'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_prep_cif'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_uint32'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_double'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_call'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_sint32'
> ./.libs/libgobject-2.0.so: undefined reference to `ffi_type_uint64'
> 
> Thoughts?

It is not linking with libffi.  Did you unset LIBFFI_{CFLAGS,LIBS} and
re-configured?  What

     pkg-config --libs libffi

prints?  Is it the same as the value of LIBFFI_LIBS in Makefile?

Yeti



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]