[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Solaris and libgmp fails to work properly
From: |
Salman Sheikh |
Subject: |
Solaris and libgmp fails to work properly |
Date: |
Thu, 29 May 2003 09:32:42 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 |
I get the following error when trying to compile gmpbench.
***** GMPbench version 0.1 *****
Using default CFLAGS = "-I/opt/sis/include -O3 -fomit-frame-pointer"
Using default CC = "gcc"
Using default LIBS = "-L/opt/sis/lib -static -lgmp"
Using compilation command: gcc -I/opt/sis/include -O3
-fomit-frame-pointer foo.c -o foo -L/opt/sis/lib -static -lgmp
You may want to override CC, CFLAGS, and LIBS
ld: warning: file /opt/sis/lib/libgmp.a(version.o): wrong ELF class:
ELFCLASS64
Undefined first referenced
symbol in file
__gmp_version /var/tmp//cc0eJORn.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
I get this error: wrong ELF class: ELFCLASS64 in another program that
requires libgmp (genius). What did I do wrong in compiling libgmp?
Salman
- Solaris and libgmp fails to work properly,
Salman Sheikh <=