multiple definition error when compiling gcc-4.4.2

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

 



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