builtins.c compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Have been working with the gcc mainline for a while now. Did a recent svn update, followed by a reconfigure (needed) and recompile. I am getting the following error from builtins.c during the recompile. Tried correcting this by doing a make distclean, and then be starting with an empty build directory, and I'm still getting issues.

Here's what I've been configuring with:
export AR=/usr/bin/ar; ../gcc/configure --prefix=/usr/local --mandir=/ usr/local/share/man --infodir=/usr/local/info --enable-languages=c,c++ --with-arch=nocona --with-tune=generic --build=i686-apple-darwin9 -- with-gmp=/usr/local --with-mpfr=/usr/local --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/ X11R6/lib

Any ideas where the particular mpfr_XX functions are supposed to be defined?
Is there something that needs to be regenerated?

Buid environment is MacOS 10.5.5...

Macintosh:build bobw$ make
[ -f stage_final ] || echo stage3 > stage_final
rm -f stage_current
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
Makefile:3364: warning: overriding commands for target `gt-darwin.h'
.../../gcc/gcc/config/t-darwin:17: warning: ignoring old commands for target `gt-darwin.h' gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style- definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long- long -Wno-variadic-macros -Wno-overlength-strings -fno-common - DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/ gcc/../include -I../../gcc/gcc/../libcpp/include -I/usr/local/include - I/usr/local/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../ libdecnumber/dpd -I../libdecnumber -I/sw/include ../../gcc/gcc/ builtins.c -o builtins.o
.../../gcc/gcc/builtins.c: In function ‘fold_builtin_1’:
.../../gcc/gcc/builtins.c:10143: error: ‘mpfr_j0’ undeclared (first use in this function) .../../gcc/gcc/builtins.c:10143: error: (Each undeclared identifier is reported only once
.../../gcc/gcc/builtins.c:10143: error: for each function it appears in.)
.../../gcc/gcc/builtins.c:10149: error: ‘mpfr_j1’ undeclared (first use in this function) .../../gcc/gcc/builtins.c:10155: error: ‘mpfr_y0’ undeclared (first use in this function) .../../gcc/gcc/builtins.c:10161: error: ‘mpfr_y1’ undeclared (first use in this function)
.../../gcc/gcc/builtins.c: In function ‘fold_builtin_2’:
.../../gcc/gcc/builtins.c:10282: error: ‘mpfr_jn’ undeclared (first use in this function) .../../gcc/gcc/builtins.c:10288: error: ‘mpfr_yn’ undeclared (first use in this function) .../../gcc/gcc/builtins.c:10296: error: ‘mpfr_remainder’ undeclared (first use in this function)
.../../gcc/gcc/builtins.c: In function ‘do_mpfr_remquo’:
.../../gcc/gcc/builtins.c:13160: warning: implicit declaration of function ‘mpfr_remquo’
.../../gcc/gcc/builtins.c: In function ‘do_mpfr_lgamma_r’:
.../../gcc/gcc/builtins.c:13238: warning: implicit declaration of function ‘mpfr_lgamma’
make[3]: *** [builtins.o] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux