[Top][All Lists]

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

Error in finding GNU MP

From: wang lily
Subject: Error in finding GNU MP
Date: Wed, 14 Mar 2007 16:58:24 +0800

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>
  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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]