unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Error in finding GNU MP
@ 2007-03-14  8:58 wang lily
  0 siblings, 0 replies; only message in thread
From: wang lily @ 2007-03-14  8:58 UTC (permalink / raw)
  To: guile-user@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 1023 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1769 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-14  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14  8:58 Error in finding GNU MP wang lily

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).