Howdy, I'm trying to build the latest svn version of gcc on my hp xw 4300 system running fedora core 6 and am seeing a problem with mpfr. I got the latest mpfr and applied their patch before attempting this build. I have a complete build log available if anyone wants to see it.
The question is, "am I doing something wrong?" I am NOT building in the source tree by the way. Regards, George... gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -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-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.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 -lmpfr -lgmp libbackend.a(builtins.o): In function `fold_builtin_cbrt': ../../gcc/gcc/builtins.c:7093: undefined reference to `mpfr_cbrt' libbackend.a(builtins.o): In function `fold_builtin_exponent': ../../gcc/gcc/builtins.c:8001: undefined reference to `mpfr_exp10' libbackend.a(builtins.o): In function `fold_builtin_1': ../../gcc/gcc/builtins.c:9203: undefined reference to `mpfr_erf' ../../gcc/gcc/builtins.c:9209: undefined reference to `mpfr_erfc' ../../gcc/gcc/builtins.c:9215: undefined reference to `mpfr_gamma' ../../gcc/gcc/builtins.c:9227: undefined reference to `mpfr_exp10' ../../gcc/gcc/builtins.c:9252: undefined reference to `mpfr_atan2' libbackend.a(builtins.o): In function `do_mpfr_arg2': ../../gcc/gcc/builtins.c:11595: undefined reference to `mpfr_inits2' ../../gcc/gcc/builtins.c:11601: undefined reference to `mpfr_clears' libbackend.a(builtins.o): In function `do_mpfr_arg3': ../../gcc/gcc/builtins.c:11640: undefined reference to `mpfr_inits2' ../../gcc/gcc/builtins.c:11647: undefined reference to `mpfr_clears' libbackend.a(builtins.o): In function `do_mpfr_sincos': ../../gcc/gcc/builtins.c:11678: undefined reference to `mpfr_inits2' ../../gcc/gcc/builtins.c:11684: undefined reference to `mpfr_clears' libbackend.a(real.o): In function `real_from_mpfr': ../../gcc/gcc/real.c:4967: undefined reference to `mpfr_free_str' collect2: ld returned 1 exit status make[3]: *** [cc1-dummy] Error 1 make[3]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu' make: *** [all] Error 2 ===== _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/ _/_/_/_/ _/_/_/_/ ----- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/_/_/_/ _/ _/ _/_/_/ _/ _/_/ _/_/_/_/ ----- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ ----- "It's not what you know that hurts you, It's what you know that ain't so." Will Rogers ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com