This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem compiling gcc

Robert Dell wrote:
in compiling gcc, i'm encountering these types of problems.
i have gmp, mpfr, mpc, and ppl folders included in the gcc folder and they seem to compile properly but as you see, it can't seem to FIND the object files.

before doing that, i did make install on gmp 5.0.1 and mpfr 2.4.2 just to be sure they got installed

/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -fkeep-inline-functions -o ppl_lcdd ppl_lcdd.o ../../src/ ../../utils/libppl_utils.a -lm -lgmpxx -lgmp
libtool: link: g++ -g -fkeep-inline-functions -o ppl_lcdd ppl_lcdd.o -Wl,-bind_at_load ../../src/.libs/libppl.a ../../utils/libppl_utils.a -lm /usr/local/lib/libgmpxx.dylib /usr/local/lib/libgmp.dylib
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
operator<<(std::basic_ostream<char, std::char_traits<char> >&, __mpq_struct const*)
operator<<(std::basic_ostream<char, std::char_traits<char> >&, __mpz_struct const*)
operator>>(std::basic_istream<char, std::char_traits<char> >&, __mpq_struct*)
operator>>(std::basic_istream<char, std::char_traits<char> >&, __mpz_struct*)
collect2: ld returned 1 exit status
make[7]: *** [ppl_lcdd] Error 1
make[6]: *** [all-recursive] Error 1
Making all in ppl_lpsol
Making all in examples
make[7]: Nothing to be done for `all'.
make[7]: Nothing to be done for `all-am'.
make[6]: Nothing to be done for `all-am'.
make[5]: *** [all-recursive] Error 1
Making all in doc
make[5]: Nothing to be done for `all'.
Making all in m4
make[5]: Nothing to be done for `all'.
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-stage1-ppl] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
quad-g5:/volumes/macintosh_hd6/gcc/gcc-build robertde$

nobody has any reason or suggestions as to obvious things i'm overlooking?
a real pain just to get a compiler that understands 64 bit binary constants

mac os-x server 10.4.11, ppc g5 quad core,
12 gb sdram, xcode 2.5 (gcc system 4.0.1)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]