compile error
Wu Zhenhua
zhenhua at buphy.bu.edu
Fri Dec 19 18:10:09 CET 2003
Hi, I tried to compile gmp in the supercomputer of university. But I got
error as following:
...
Making all in cxx
/bin/sh ../libtool --mode=compile xlC -DHAVE_CONFIG_H -I. -I.
-I.. -D__GMP_WITHIN_GMPXX -I.. -q64 -O2 -c -o isfuns.lo `test -f
isfuns.cc || echo './'`isfuns.cc
xlC -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -q64 -O2 -c
isfuns.cc -DPIC
"../gmp-impl.h", line 664.74: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 765.56: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 779.60: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 1312.102: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2442.33: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2443.33: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2444.33: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2445.33: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2446.33: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2562.44: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2567.37: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2568.43: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp-impl.h", line 2569.45: 1540-0063 (S) The text "__attribute__" is
unexpected.
"../gmp.h", line 1590.1: 1540-1101 (W) A return value of type "unsigned
long" is expected.
make: 1254-004 The error code from the last command is 1.
I configure it like:
./configure --prefix={$HOME}/local --exec-prefix={$HOME}/local
--enable-cxx=yes --enable-assert=yes --with-gnu-ld=yes --enable-static=no
CXX=xlC CXXFLAGS="-q64 -O2"
even I tried not put the CXXFLAGS, it still doesn't work.
the system detected by gmp is: powerpc64-ibm-aix5.2.0.0
Coule you help me solve this? Thanks!
zhenhua
--
Wu Zhenhua
Center for Polymer Study
Boston University Physics Department
617-353-3891(O)
More information about the gmp-bugs
mailing list