undefined reference

FX fxcoudert@gmail.com
Tue Apr 29 15:51:00 GMT 2008


> /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)


On mingw, we don't offer GETUID and CHMOD intrinsics (there are a few  
other intrinsics in that situation), so you need to disable (I think  
it's "dg-skip") the testcase on these targets.

FX

-- 
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/



More information about the Fortran mailing list