This is the mail archive of the gcc-bugs@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]

[Bug fortran/37527] New: conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'


Hi, 

I am trying to compile GCC4.3.2 on Linux x86_64.  I am getting the following
compile error:

configure: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/home/rkraft/apps/gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran/config.log
make[1]: *** [configure-target-libgfortran] Error 1
make[1]: Leaving directory `/home/rkraft/apps/gcc-4.3.2'

In gcc-4.3.2/x86_64-unknown-linux-gnu/libgfortran/config.log:
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'me'


My configure options are:
./configure 
--prefix=/home/rkraft/apps/gcc-4.3.2
--with-mpfr=/home/rkraft/apps/mpfr-2.3.2 
--disable-multilib 
--enable-languages=c,c++,fortran 
--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

I have also set:
export
LD_LIBRARY_PATH=/home/rkraft/apps/mpfr-2.3.2/lib:/home/rkraft/apps/gmp-4.2.3/lib

Any ideas how to fix this?


-- 
           Summary: conftest.c:2: error: expected '=', ',', ';', 'asm' or
                    '__attribute__' before 'me'
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        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=37527


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