bug-gmp
[Top][All Lists]
Advanced

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

[Bug-gmp] GMP 3.1 on HP-UX 10.20, 11.00


From: Albert Chin-A-Young
Subject: [Bug-gmp] GMP 3.1 on HP-UX 10.20, 11.00
Date: Mon, 4 Sep 2000 12:50:11 -0500
User-agent: Mutt/1.1.12i

I am building gmp 3.1 on HP-UX 10.20 and 11.00 with the HP commercial
C compiler. I'm using the flags "-Ae -z +ESlit +Onofltacc +DAportable
+Oentrysched +Odataprefetch". Evertyhing builds fine but I get an
error when running 'gmake check' from mpf/tests:
  % cd mpf/tests
gmake  t-add t-sub t-conv t-sqrt t-muldiv t-dm2exp reuse t-get_d t-misc
gmake[1]: Entering directory `/opt/build/gmp-3.1/mpf/tests'
/bin/sh ../../libtool --mode=link cc  +O2 -Ae +ESlit +Onofltacc
+DAportable +Oentrysched +Odataprefetch   -o t-add  t-add.o ref.o
../../libgmp.la 
libtool: link: warning: this platform does not like uninstalled shared
libraries
libtool: link: `t-add' will be relinked during installation
cc +O2 -Ae +ESlit +Onofltacc +DAportable +Oentrysched +Odataprefetch
-o .libs/t-add t-add.o ref.o  ../../.libs/libgmp.sl -Wl,+b
-Wl,/opt/build/gmp-3.1/.libs:/opt/TWWfsw/libgmp31/lib
/usr/ccs/bin/ld: Unsatisfied symbols:
   __gmpn_add_n (code)
   __gmpn_sub_n (code)
gmake[1]: *** [t-add] Error 1

If I redo the cc line and compile in the static library, things work.
However, it seems __gmpn_add_n is in the shared library:
  % cd /opt/build/.libs
  % nm libgmp.a | grep __gmpn_add_n
__gmpn_add_n        |    144504|extern|code   |$CODE$
  % nm libgmp.sl | grep __gmpn_add_n
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |         0|extern|code   |$CODE$
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |
__gmpn_add_n        |          |undef |code   |

Anyone have any ideas?

-- 
albert chin (address@hidden)


reply via email to

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