bug-gmp
[Top][All Lists]
Advanced

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

configure bug?


From: Lars Ivansson
Subject: configure bug?
Date: Mon, 21 May 2001 11:32:04 +0200 (MET DST)

Hi

I have encountered an irregularity that may be caused by a bug in the
configure script. If I execute

  ./configure --target=none-unknown-solaris2.5.1

and then build gmp, I get the following problem when linking with a
small program.

---
  hal> gcc -o ptest ptest.c ~/lib/libgmp.a -I ~/include/
  Undefined                       first referenced
   symbol                             in file
  __gmpn_udiv_qrnnd                   ~/lib/libgmp.a(divrem_1.o)
  ld: fatal: Symbol referencing errors. No output written to ptest
  collect2: ld returned 1 exit status
---

It should be noted that if I add the option CFLAGS="-g -O2 -DNO_ASM"
to the configure script everything works nicely.

Regards
Lars




reply via email to

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