Re: libffi problems when compiling glib-2.31.0
- From: Jonathan Greenberg <jgrn illinois edu>
- To: Victor Ananjevsky <ananasik gmail com>
- Cc: gtk-list gnome org
- Subject: Re: libffi problems when compiling glib-2.31.0
- Date: Mon, 31 Oct 2011 22:06:15 -0700
Victor:
Thanks -- I got a bit farther (and did what you suggested), but now
I'm getting this:
make[4]: Entering directory `/home/jgrn/code/src/glib-2.31.0/gobject'
CCLD gobject-query
./.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'
collect2: ld returned 1 exit status
make[4]: *** [gobject-query] Error 1
make[4]: Leaving directory `/home/jgrn/code/src/glib-2.31.0/gobject'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jgrn/code/src/glib-2.31.0/gobject'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jgrn/code/src/glib-2.31.0/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jgrn/code/src/glib-2.31.0'
make: *** [all] Error 2
Thoughts?
--j
On Mon, Oct 31, 2011 at 9:01 PM, Victor Ananjevsky <ananasik gmail com> wrote:
> On Mon, 31 Oct 2011 18:35:18 -0700
> Jonathan Greenberg <jgrn illinois edu> wrote:
>
>> gtk'ers:
>>
>> I'm having some problems getting glib-2.31.0 installed because I can't
>> seem to resolve the libffi dependency. I installed libffi 3.0.10
>> using ./configure --prefix=/mypath/; make; make install
>>
>> Initially, doing ./configure --prefix=/mypath/ failed with glib until I set
>> LIBFFI_LIBS=/mypath/lib
>> LIBFFI_CFLAGS=/mypath/include
>>
>> This made it pass the configure check, but doing a "make" led to the
>> failure below. I next noticed that ffi.h and ffitarget.h are installed
>> in a weird location (/mypath/lib/libffi-3.0.10/include/ffi.h and
>> /mypath/lib/libffi-3.0.10/include/ffitarget.h so I tried to help out
>> with a ln -s:
>>
>> ln -s /mypath/lib/libffi-3.0.10/include/ffi.h /mypath/include/
>> ln -s /mypath/lib/libffi-3.0.10/include/ffitarget.h /mypath/include/
>>
>> This also didn't work (the error below was identical). Any ideas on
>> how to fix this?
>>
>
> simply add "/mypath/lib/pkgconfig" to PKG_CONFIG_PATH shell variable
>
>
>
>>
>> --
>> Jonathan A. Greenberg, PhD
>> Assistant Professor
>> Department of Geography
>> University of Illinois at Urbana-Champaign
>> 607 South Mathews Avenue, MC 150
>> Urbana, IL 61801
>> Phone: 415-763-5476
>> AIM: jgrn307, MSN: jgrn307 hotmail com, Gchat: jgrn307, Skype: jgrn3007
>> http://www.geog.illinois.edu/people/JonathanGreenberg.html
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
> --
> Victor Ananjevsky <ananasik gmail com>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
Jonathan A. Greenberg, PhD
Assistant Professor
Department of Geography
University of Illinois at Urbana-Champaign
607 South Mathews Avenue, MC 150
Urbana, IL 61801
Phone: 415-763-5476
AIM: jgrn307, MSN: jgrn307 hotmail com, Gchat: jgrn307, Skype: jgrn3007
http://www.geog.illinois.edu/people/JonathanGreenberg.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]