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
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to