Displaying 2 results from an estimated 2 matches for "r_cv_prog_f77_flibs_ok".
2000 Feb 08
0
configure doesn't accept f77 on alpha (PR#419)
...(linking fortran object with cc without
for_main.o complains about unreloved dependency to main.
Solution: add -expect_unresolved main to th linking step, see patch below
--- ./aclocal.m4.dec-flibs-patch Mon Feb 7 14:33:25 2000
+++ ./aclocal.m4 Mon Feb 7 21:50:59 2000
@@ -366,8 +366,25 @@
r_cv_prog_f77_flibs_ok, [
echo " END" > conftest.f
${FC} -c ${FFLAGS} conftest.f 1>&AC_FD_CC 2>&AC_FD_CC
- ${CC} ${LDFLAGS} -o conftest conftest.o ${FLIBS} \
- 1>&AC_FD_CC 2>&AC_FD_CC
+ case ${host} in
+ alpha*osf*)
+ if test -...
2000 Feb 08
0
0.99.0 --with-f77 configure problem
...ts -lm
checking whether Fortran libraries work correctly... no
In case anyone else runs into this, the quick fix is to change line 2071
of configure from
${CC} ${LDFLAGS} -o conftest conftest.o ${FLIBS} \
to
${FC} ${LDFLAGS} -o conftest conftest.o ${FLIBS} \
(Or just change line 2076 to set r_cv_prog_f77_flibs_ok=yes, if you're
sure your fortran setup is correct...)
Rich
=======
For those who actually want to know why...
The error in config.log is that 'main' is unresolved. The problem is that
the test program is specified as follows in configure:
2069 echo " END" > co...