The programme

program rand10
  real*10 x
  call random_number (x)
end program rand10

fails during linking with

$ ~/gcc/bin/gfortran -o rand10 rand10.f90 
/usr/bin/ld: Undefined symbols:
__gfortran_random_r10
collect2: ld returned 1 exit status

$ ~/gcc/bin/gfortran --version
GNU Fortran 95 (GCC) 4.2.0 20060624 (experimental)


-- 
           Summary: __gfortran_random_r10 not found
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
 GCC build triplet: i386-apple-darwin8.7.1
  GCC host triplet: i386-apple-darwin8.7.1
GCC target triplet: i386-apple-darwin8.7.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28452

Reply via email to