Hi, this is my first time building gcc compiler. After going through many settings, I stuck on fixing this error. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29867 has discussed the similar error, but forgive me, I really have hard time understanding what exactly I should do. Can anyone help me on this multiple definition error?
.libs/backtrace.o(.text+0x780):/usr/include/bits/stdio.h:43: first defined here .libs/in_unpack_generic.o(.text+0xaf0): In function `vprintf': /usr/include/bits/stdio.h:36: multiple definition of `vprintf' .libs/backtrace.o(.text+0x790):/usr/include/bits/stdio.h:36: first defined here .libs/in_unpack_generic.o(.text+0xb10): In function `atoll': /usr/include/stdlib.h:379: multiple definition of `atoll' .libs/backtrace.o(.text+0x7b0):/usr/include/stdlib.h:379: first defined here .libs/in_unpack_generic.o(.text+0xb20): In function `atof': /usr/include/stdlib.h:327: multiple definition of `atof' .libs/backtrace.o(.text+0x7c0):/usr/include/stdlib.h:327: first defined here .libs/in_unpack_generic.o(.text+0xb30): In function `atol': /usr/include/stdlib.h:333: multiple definition of `atol' .libs/backtrace.o(.text+0x7d0):/usr/include/stdlib.h:333: first defined here .libs/in_unpack_generic.o(.text+0xb40): In function `atoi': /usr/include/stdlib.h:398: multiple definition of `atoi' .libs/backtrace.o(.text+0x7e0):/usr/include/stdlib.h:398: first defined here collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1 make[3]: Leaving directory `/home/software/gcc-4.4.0/x86_64-unknown-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/software/gcc-4.4.0/x86_64-unknown-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/home/software/gcc-4.4.0' make: *** [all] Error 2 Thanks in advance! Kai -- Summary: Failure on building libgfortran Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ksong at lbl dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40212