From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "wang lily" Newsgroups: gmane.lisp.guile.user Subject: Error in finding GNU MP Date: Wed, 14 Mar 2007 16:58:24 +0800 Message-ID: <3d2b3c330703140158j467956a0scb27dea2135cc49c@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1428630219==" X-Trace: sea.gmane.org 1173886562 26256 80.91.229.12 (14 Mar 2007 15:36:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 15:36:02 +0000 (UTC) To: "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Mar 14 16:35:45 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HRVVu-00088R-Vr for guile-user@m.gmane.org; Wed, 14 Mar 2007 16:35:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRVWo-0004b0-D9 for guile-user@m.gmane.org; Wed, 14 Mar 2007 10:36:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRPKU-0007YH-DW for guile-user@gnu.org; Wed, 14 Mar 2007 04:59:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRPKS-0007U9-Ag for guile-user@gnu.org; Wed, 14 Mar 2007 04:59:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRPKS-0007U6-5m for guile-user@gnu.org; Wed, 14 Mar 2007 03:59:28 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HRPJY-0007is-TL for guile-user@gnu.org; Wed, 14 Mar 2007 04:58:33 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so585643ugf for ; Wed, 14 Mar 2007 01:58:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=tPGVObRXoIzH5j0O0Bma1gVxanTil/GGRTYMtp2GdKCSMvijfrf/rRc9mZN7s/2dmScqW6ldy8x/3Zbk4BhYv8K67b2tD2xdHJ8Ke2AU5yQwE94Dvwu+BQzHbVbGmucOzxz+K945CnMo7S2oJ0tIGPkKjhe0Dp7kKypzr+pszH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=iDsHYIty3BuAuftmQoSr4I8gXffjdGwmxK8bD+39alqUGemjH6zGj9h6RTaePMtdTtwOuXo6JUoI+RkgBq1nzlEPAOXpbegAmc25KJKAf3iO27gIW5Z4KOL4paINIYwUjuTAX4r4l98sGVGoxRpzzANEbs8OnBwSX5GuGk3YzOs= Original-Received: by 10.66.221.6 with SMTP id t6mr732424ugg.1173862704119; Wed, 14 Mar 2007 01:58:24 -0700 (PDT) Original-Received: by 10.67.94.12 with HTTP; Wed, 14 Mar 2007 01:58:24 -0700 (PDT) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-Mailman-Approved-At: Wed, 14 Mar 2007 11:36:32 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5878 Archived-At: --===============1428630219== Content-Type: multipart/alternative; boundary="----=_Part_33721_32978154.1173862704059" ------=_Part_33721_32978154.1173862704059 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, all Configuring guile-1.8.1 on AIX5.1 failed: checking whether sethostname is declared... no checking for library containing crypt... none required checking for __gmpz_init in -lgmp... no configure: error: GNU MP not found, see README Checking in Config.log: configure:39180: checking for __gmpz_init in -lgmp configure:39215: gcc -o conftest -g -O2 -I$HOME/install/include -L$HOME/install/lib conftest.c -lgmp -lm -lltdl >&5 ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init I have installed gmp-4.2.1 in $HOME/install, and checked successfully. I have seen the mail before and tried: #include int main () { mpz_import (0, 0, 0, 0, 0, 0, 0); return 0; } $ gcc -o foo -g -O2 -I$HOME/install/include -L$HOME/install/lib foo.c -lgmp -lm foo.c:7:4: warning: no newline at end of file ld: 0711-317 ERROR: Undefined symbol: .__gmpz_import ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status Thank you for your help. Lily Wong ------=_Part_33721_32978154.1173862704059 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi, all
 
Configuring guile-1.8.1 on AIX5.1 failed:
checking whether sethostname is declared... no
checking for library containing crypt... none required
checking for __gmpz_init in -lgmp... no
configure: error: GNU MP not found, see README
 
Checking in Config.log:
configure:39180: checking for __gmpz_init in -lgmp
configure:39215: gcc -o conftest -g -O2 -I$HOME/install/include -L$HOME/install/lib conftest.c -lgmp  -lm -lltdl  >&5
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init
 
I have installed gmp-4.2.1 in $HOME/install, and checked successfully.
 
I have seen the mail before and tried:
  #include <gmp.h>
  int
  main ()
  {
    mpz_import (0, 0, 0, 0, 0, 0, 0);
    return 0;
  }
$ gcc -o foo -g -O2 -I$HOME/install/include -L$HOME/install/lib foo.c -lgmp -lm
foo.c:7:4: warning: no newline at end of file
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_import
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
 
Thank you for your help.
 
Lily Wong
------=_Part_33721_32978154.1173862704059-- --===============1428630219== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user --===============1428630219==--