From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#10241: undefined ffi_type_pointer problem mipsel linux Date: Wed, 07 Dec 2011 21:17:40 +0100 Message-ID: <87pqg0kufv.fsf__33141.4748718545$1323289112$gmane$org@pobox.com> References: <7276900f.5f2e.134177f887f.Coremail.byweinno@163.com> <4EDF45D6.5000302@moxielogic.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1323289112 24507 80.91.229.12 (7 Dec 2011 20:18:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2011 20:18:32 +0000 (UTC) Cc: =?UTF-8?Q?=C9=BA=C9=BA?= , 10241-done@debbugs.gnu.org, libffi-discuss@sourceware.org To: Anthony Green Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Dec 07 21:18:27 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RYNwf-0005AN-IL for guile-bugs@m.gmane.org; Wed, 07 Dec 2011 21:18:25 +0100 Original-Received: from localhost ([::1]:36989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYNwe-0001zQ-Rm for guile-bugs@m.gmane.org; Wed, 07 Dec 2011 15:18:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYNwa-0001vn-8N for bug-guile@gnu.org; Wed, 07 Dec 2011 15:18:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYNwY-0003QM-0W for bug-guile@gnu.org; Wed, 07 Dec 2011 15:18:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYNwX-0003QE-Ss for bug-guile@gnu.org; Wed, 07 Dec 2011 15:18:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RYNxG-0004BU-UH for bug-guile@gnu.org; Wed, 07 Dec 2011 15:19:02 -0500 Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-guile@gnu.org Resent-Date: Wed, 07 Dec 2011 20:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 10241 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 10241@debbugs.gnu.org, wingo@pobox.com Original-Received: via spool by 10241-done@debbugs.gnu.org id=D10241.132328911216031 (code D ref 10241); Wed, 07 Dec 2011 20:19:02 +0000 Original-Received: (at 10241-done) by debbugs.gnu.org; 7 Dec 2011 20:18:32 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYNwm-0004AW-6k for submit@debbugs.gnu.org; Wed, 07 Dec 2011 15:18:32 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62] helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYNwk-0004AP-Hz for 10241-done@debbugs.gnu.org; Wed, 07 Dec 2011 15:18:31 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E6F9188CB; Wed, 7 Dec 2011 15:17:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=6u+9Qk8szQVC eMkSIGsffUFh96A=; b=Bwp9zcPYUR8+Mnu+oLqvHsbaX9BiimDjCRBddzVuOh5m Ca08vScWcKkTbBKNktLRuq0wLmuLE8djsuj28w0wKc8QW/sKwOX+xzTvy+ARt6Sa k+TLs4kbabRlQsr8/OJC4sTMkEMpEYelC4sdRmi6rCZbw56BcDRIuYVXQnlGJvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=fnAdJ4 bHHy3PPsgJQtQjiej2aHR0gH7bo6NEjbAcZV5FJlXQxwkMDJHbMO5XoxBhUxjIBk MHIp0BLoJJRi7EpQFHYgnKsNgNX+w6G6LnUFIDydP3SdbHkMF3YZMgzZWDYhgABK QKbHxyQL3GM1WubHlddR8JOG+1l4mI0VfXva4= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E10D588CA; Wed, 7 Dec 2011 15:17:44 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5126488C4; Wed, 7 Dec 2011 15:17:44 -0500 (EST) In-Reply-To: <4EDF45D6.5000302@moxielogic.com> (Anthony Green's message of "Wed, 07 Dec 2011 05:54:14 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 85BCF554-2110-11E1-B0BA-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 07 Dec 2011 15:19:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5963 Archived-At: On Wed 07 Dec 2011 11:54, Anthony Green writes: > On 12/7/2011 2:49 AM, =C9=BA=C9=BA 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=3D1 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, =C9=BA=C9=BA? Andy --=20 http://wingolog.org/