Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 00:45:02 -0500 (CDT)
From:      Quincey Koziol <koziol@ncsa.uiuc.edu>
To:        ports@freebsd.org
Subject:   Problem with gfortran port in 4-STABLE
Message-ID:  <200408150545.i7F5j2iQ052247@sleipnir.ncsa.uiuc.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408150545.i7F5j2iQ052247>