[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561446: mpb: FTBFS: configure: error: linking to Fortran libraries from C fails



Package: mpb
Version: 1.4.2-13
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

mpb FTBFS on SH4.
http://buildd.debian-ports.org/fetch.php?pkg=mpb&arch=sh4&ver=1.4.2-13&stamp=1260880812&file=log&as=raw
Because configure included in r-base is created in old autoconf.

-----
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries...  -little
-L/usr/lib/gcc/sh4-linux-gnu/4.4.2
-L/usr/lib/gcc/sh4-linux-gnu/4.4.2/../../.. -lgfortranbegin -lgfortran
-lm -lgcc_s
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails
-----

Could you update confiugre with new autoconf?
Or please apply the patch which I attached.
This is patch for quick fix.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- a/configure	2009-12-17 08:34:07.000000000 +0000
+++ b/configure	2009-12-17 08:34:30.000000000 +0000
@@ -3159,7 +3159,7 @@
 
           ;;
           # Ignore these flags.
-        -lang* | -lcrt0.o | -lc | -lgcc | -libmil | -LANG:=*)
+        -lang* | -lcrt0.o | -lc | -lgcc | -libmil | -little | -LANG:=*)
           ;;
         -lkernel32)
           test x"$CYGWIN" != xyes && ac_cv_flibs="$ac_cv_flibs $ac_arg"

Reply to: