This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: bug#10241: undefined ffi_type_pointer problem mipsel linux
- From: Andy Wingo <wingo at pobox dot com>
- To: Anthony Green <green at moxielogic dot com>
- Cc: ÉÉ <byweinno at 163 dot com>, 10241-done at debbugs dot gnu dot org, libffi-discuss at sourceware dot org
- Date: Wed, 07 Dec 2011 21:17:40 +0100
- Subject: Re: bug#10241: undefined ffi_type_pointer problem mipsel linux
- References: <7276900f.5f2e.134177f887f.Coremail.byweinno@163.com> <4EDF45D6.5000302@moxielogic.com>
On Wed 07 Dec 2011 11:54, Anthony Green <green@moxielogic.com> writes:
> On 12/7/2011 2:49 AM, ÉÉ wrote:
>> Dear Mr. Green :
>>
>> My box is fuloong 6004, loongson2f cpu, mips64, little endian, more
>> info see
>> http://www.linux-mips.org/wiki/Loongson#Loongson_2F
>>
>> Here I want install autogen, then needs guile dependency, guile needs
>> libffi, when I install libffi, afterthat I install guile, problem is
>> that undefined ffi_type_pointer, I try to several methods, it still
>> can be ok. I checked the ffi.h is extern, shall I defined the use
>> #define for each one ?
>
>
> This just looks like libffi isn't being linked to guile at all. Can you
> verify that libffi was actually built and installed in the right place?
> Next, I would see what "CCLD guile" is really doing. I'm not sure how
> guile is built these days, but maybe you just have to add V=1 to the
> "make" command line.
Indeed. Libffi certainly builds on mipsel machines, as does Guile, so I
suspect this is an error configuring Guile. Perhaps you needed to set
PKG_CONFIG_PATH, ÉÉ?
Andy
--
http://wingolog.org/