multiple definition error when compiling gcc-4.4.2
xinsan Chen
xinsan.chen@gmail.com
Sat Nov 21 09:34:00 GMT 2009
hi, all
Now I meet new problem during compiling gcc-4.4.2.
after installing gmp and mpfr,
./configure --prefix=/home/cj/gcc-4.4.2
--enable_languages=c,c++,fortran --with-gmp=/usr/local
--with-mpfr=/usr/local
make
.libs/compile_options.o: In function 'feof_unlocked'
/usr/include/bits/stdio.h:123: multiple definition of 'feof_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:123: first defined here
.libs/compile_options.o: In function 'ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of 'ferror_unlocked'
.libs/backtrace.o:/usr/include/bits/stdio.h:130: first defined here
...
How to solve this? Thanks.
More information about the Gcc-help
mailing list