[Bug fortran/39971] kinds.h fails at building libgfortran

gustcr at yahoo dot com dot ar gcc-bugzilla@gcc.gnu.org
Sun May 10 19:52:00 GMT 2009



------- Comment #15 from gustcr at yahoo dot com dot ar  2009-05-10 19:52 -------
I tried the first suggested option, on building gcc-4.4.0. It seems to work but
now it fails later with the message:

/usr/include/stdlib.h:305: multiple definition of `atof'
.libs/backtrace.o:/usr/include/stdlib.h:305: first defined here
.libs/in_unpack_generic.o: In function `atol':
/usr/include/stdlib.h:315: multiple definition of `atol'
.libs/backtrace.o:/usr/include/stdlib.h:315: first defined here
.libs/in_unpack_generic.o: In function `atoi':
/usr/include/stdlib.h:310: multiple definition of `atoi'
.libs/backtrace.o:/usr/include/stdlib.h:310: first defined here
collect2: ld returned 1 exit status
make[3]: *** [libgfortran.la] Error 1
make[3]: Leaving directory
`/home2/gdb/local/gcc-4.4.0-obj/i686-pc-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home2/gdb/local/gcc-4.4.0-obj/i686-pc-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home2/gdb/local/gcc-4.4.0-obj'
make: *** [all] Error 2

There are hundred of lines about duplicate definitions.

I looked for help on how to solve this problem but didn't find anything useful
yet.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39971



More information about the Gcc-bugs mailing list