This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: undefined reference


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


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