Problem with gfortran port in 4-STABLE

Quincey Koziol koziol at ncsa.uiuc.edu
Sat Aug 14 22:45:06 PDT 2004


Hi all,
    I can't seem to get gfortran to create a simple executable.  Compiling
the following program:

      program conftest
      end

with this command line: 'gfortran -o testfor testfor.f90' fail with these
link errors:

/usr/local/lib/gcc/i386-portbld-freebsd4.10/3.5-tree-ssa/libgfortran.so: undefined reference to `round'
/usr/local/lib/gcc/i386-portbld-freebsd4.10/3.5-tree-ssa/libgfortran.so: undefined reference to `roundf'

    Any idea of where these two routines are located in -STABLE?  I tried adding
'-lm' to the compile line and that didn't help...  My version of -STABLE is a
bit old (from ~June 3rd), but I recall having the same problem prior to that
time that I didn't have a chance to report.

    Thanks,
        Quincey Koziol
        HDF Development Team
        NCSA


More information about the freebsd-ports mailing list