SVN linker errors
Rob Quill
rob.quill@gmail.com
Thu Oct 11 21:41:00 GMT 2007
Hi,
I am currently trying to build the current SVN copy of GCC and have
run into the following problems. Essentially, there is a large list of
linker errors which ends as follows:
.libs/in_unpack_generic.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
.libs/backtrace.o:/usr/include/bits/stdio.h:43: first defined here
.libs/in_unpack_generic.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
.libs/backtrace.o:/usr/include/bits/stdio.h:36: first defined here
collect2: ld returned 1 exit status
make[3]: *** [libgfortran.la] Error 1
make[3]: Leaving directory
`/home/rob/Projects/gcc/clean/gcc/x86_64-unknown-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/rob/Projects/gcc/clean/gcc/x86_64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home/rob/Projects/gcc/clean/gcc'
make: *** [all] Error 2
There are a large number of very similar (identical apart from
function names/line numbers etc) errors previous to these.
Does anyone have any idea how to fix this?
The command I used was:
./configure --disable-multilib && make
Thanks for your help.
Rob
More information about the Gcc-help
mailing list