This is the mail archive of the gcc-help@gcc.gnu.org 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]

gcc-4.5.2, build failed


I've tried to build gcc-4.5.2 from source and failed. make terminates with
following message:

gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -Wold-style-definition -Wc++-compat -fno-common 
-DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o
c-objc-common.o c-dump.o c-pch.o c-parser.o i386-c.o c-gimplify.o
tree-mudflap.o c-pretty-print.o c-omp.o \
          dummy-checksum.o main.o tree-browser.o libbackend.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a  
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
-L/home/bf/tools/libs/ppl/lib -lppl_c -lppl -lgmpxx
-L/home/bf/tools/libs/gmp/lib -L/home/bf/tools/libs/mpfr/lib
-L/home/bf/tools/libs/mpc/lib -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib
-lz -lelf
/usr/bin/ld: warning: libgmpxx.so.3, needed by
/home/bf/tools/libs/ppl/lib/libppl_c.so, may conflict with libgmpxx.so.4
/usr/lib64/libgmpxx.so.3: undefined reference to `__gmp_doprnt_mpf'
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[3]: Leaving directory `/home/bf/build/gcc-4.5.2/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/bf/build/gcc-4.5.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/bf/build/gcc-4.5.2'
make: *** [all] Error 2


I've configured gcc-4.5.2 through (dependencies were already built):
../../setups/gcc-4.5.2/configure --prefix=$HOME/tools/gcc-4.5
--with-gmp=$HOME/tools/libs/gmp --with-mpfr=$HOME/tools/libs/mpfr
--with-mpc=$HOME/tools/libs/mpc --with-ppl=$HOME/tools/libs/ppl
--with-cloog=$HOME/tools/libs/cloog


Any pointers in the right direction?

Cheers,
exa
-- 
View this message in context: http://old.nabble.com/gcc-4.5.2%2C-build-failed-tp31479431p31479431.html
Sent from the gcc - Help mailing list archive at Nabble.com.


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