[Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
--- Comment #5 from reuben dot kraft at gmail dot com 2008-09-16 13:13 --- My problem looks very similar to this bug report which does not seem to be full resolved: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36349 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527
[Bug libfortran/37564] New: collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1
Hello, >From the terminal, I many lines that look similar to: .libs/in_unpack_generic.o(.text+0x820): In function `getline': /usr/include/bits/stdio.h:103: multiple definition of `getline' .libs/backtrace.o(.text+0xbc0):/usr/include/bits/stdio.h:103: first defined here .libs/in_unpack_generic.o(.text+0x830): In function `putchar_unlocked': /usr/include/bits/stdio.h:94: multiple definition of `putchar_unlocked' .libs/backtrace.o(.text+0xbd0):/usr/include/bits/stdio.h:94: first defined here ... ... ... After that terminal output says: collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1 make[3]: Leaving directory `/home/rkraft/apps/gcc-4.3.1/x86_64-unknown-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/rkraft/apps/gcc-4.3.1/x86_64-unknown-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/home/rkraft/apps/gcc-4.3.1' make: *** [all] Error 2 I get this same error for gcc4.3.2 also. What cause this and how do I fix it? Configure log from x86_64-unknown-linux-gnu/libgfortran/ attached. Thanks for your time. -- Summary: collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1 Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reuben dot kraft at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37564
[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1
--- Comment #1 from reuben dot kraft at gmail dot com 2008-09-17 16:04 --- Created an attachment (id=16346) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16346&action=view) x86_64-unknown-linux-gnu/libgfortran/config.log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37564
[Bug libfortran/37564] collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1
--- Comment #3 from reuben dot kraft at gmail dot com 2008-09-17 19:04 --- Do you mean do not run "make" from gcc-4.3.1 ? Or do mean do not set prefix to gcc-4.3.1 ? Currently I run make from /home/rkraft/apps/gcc-4.3.1 and I set prefix to /home/rkraft/apps/gcc4 Here is my configure: ./configure --prefix=/home/rkraft/apps/gcc4 --with-mpfr=/home/rkraft/apps/mpfr-2.3.2 --disable-multilib --enable-languages=fortran,c,c++ --with-gmp=/home/rkraft/apps/gmp-4.2.3 --with-gmp-lib=/home/rkraft/apps/gmp-4.2.3/lib --with-mpfr-lib=/home/rkraft/apps/mpfr-2.3.2/lib: -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37564