Help with gfortran
Pedro Giffuni
pfg at freebsd.org
Mon Sep 8 20:59:37 UTC 2014
Hi;
I had a try at resurrecting the long-ago-extinct elmer-fem port.
WIP:
https://people.freebsd.org/~pfg/ports/elmerfem.tar.gz
Unfortunately I seem stuck in an error:
____
...
gfortran47 -Wl,-rpath=/usr/local/lib/gcc47 -fPIC -I. -Ibinio
-I../binio -c ViewFactors.f90
gfortran47 -L. -L/usr/ports/cad/elmerfem/work/stage/usr/local/elmer/lib \
-o ViewFactors ViewFactors.o mpi_stubs.o \
-L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a
-L/usr/local/lib -lblas -L/usr/lib -lc++ -lm -lgcc_s -lgcc_s
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__getf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__floatunditf at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__subtf3 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__multf3 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__unordtf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__lttf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__addtf3 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__gttf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__divtf3 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__letf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__netf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__floatditf at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__trunctfdf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__eqtf2 at GCC_4.6.0'
/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/../../../libgfortran.so:
undefined reference to `__floatsitf at GCC_4.6.0'
collect2: error: ld returned 1 exit status
gmake[4]: *** [ViewFactors] Error 1
gmake[4]: Leaving directory
`/usr/ports/cad/elmerfem/work/elmerfem-code-6853-trunk/fem/src'
gmake[3]: *** [all-recursive] Error 1
...
____
This is FreeBSD 10 and I don't have gcc46 installed.
I took the time to rebuild blas, lapack and arpack, which are dependencies.
Any idea what is going on and, most importantly, how to fix it?
Regards,
Pedro.
More information about the freebsd-fortran
mailing list