Problem with gfortran port in 4-STABLE

Quincey Koziol koziol at
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

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/ undefined reference to `round'
/usr/local/lib/gcc/i386-portbld-freebsd4.10/3.5-tree-ssa/ 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.

        Quincey Koziol
        HDF Development Team

More information about the freebsd-ports mailing list