undefined reference

NightStrike nightstrike@gmail.com
Tue Apr 29 15:46:00 GMT 2008


While running the testsuite on target=x86_64-pc-mingw32, I encountered
this odd failure:

Executing on host:
/var/tmp/build/gcc-svn/build-x86_64-pc-linux/gcc/testsuite/gfortran/../../gfortran
-B/var/tmp/build/gcc-svn/build-x86_64-pc-linux/gcc/testsuite/gfortran/../../
/var/tmp/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/chmod_1.f90   -O0
 -std=gnu   -lm   -o ./chmod_1.exe    (timeout = 300)
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x25f): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2d9): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2e5): undefined reference to
`__gfortran_getuid'^M
collect2: ld returned 1 exit status^M
compiler exited with status 1
output is:
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x25f): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2d9): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2e5): undefined reference to
`__gfortran_getuid'^M
collect2: ld returned 1 exit status^M

FAIL: gfortran.dg/chmod_1.f90  -O0  (test for excess errors)



Any ideas?



More information about the Fortran mailing list