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]

multiple definition error when compiling gcc-4.4.2


?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.


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