|
From: | Robert Jenssen |
Subject: | [Octave-bug-tracker] [bug #48559] F77_USES_GFORTRAN_CALLING_CONVENTION not defined |
Date: | Tue, 19 Jul 2016 08:53:12 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?48559> Summary: F77_USES_GFORTRAN_CALLING_CONVENTION not defined Project: GNU Octave Submitted by: morgawr Submitted on: Tue 19 Jul 2016 08:53:10 AM GMT Category: Configuration and Build System Severity: 3 - Normal Priority: 5 - Normal Item Group: Build Failure Status: None Assigned to: None Originator Name: Robert Jenssen Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: For HG-ID="62208397b99e+". I am using FC24 with gcc-6.1.1-3. I tried to install the Octave-Forge control-3.0.0.tar.gz package. It fails with the error message: In file included from sl_ab08nd.cc:31:0, from __control_slicot_functions__.cc:1: /usr/local/include/octave-4.1.0+/octave/f77-fcn.h:327:2: error: #error "unknown C++ to Fortran calling convention" #error "unknown C++ to Fortran calling convention" ^~~~~ /usr/local/include/octave-4.1.0+/octave/f77-fcn.h:362:1: error: ‘F77_RET_T’ does not name a type F77_RET_T ^~~~~~~~~ The config.h in the build directory has: #define F77_USES_GFORTRAN_CALLING_CONVENTION 1 but this symbol does not seem to be defined anywhere in /usr/local/include/octave-4.1.0+: +verbatim- # find /usr/local/include/octave-4.1.0+ -type f -exec grep -H CALLING_CONVENTION {} ';' /usr/local/include/octave-4.1.0+/octave/oct-conf-post.h:# define F77_USES_CRAY_CALLING_CONVENTION /usr/local/include/octave-4.1.0+/octave/oct-conf-post.h:# define F77_USES_VISUAL_FORTRAN_CALLING_CONVENTION /usr/local/include/octave-4.1.0+/octave/f77-fcn.h:#if defined (F77_USES_CRAY_CALLING_CONVENTION) /usr/local/include/octave-4.1.0+/octave/f77-fcn.h:#elif defined (F77_USES_VISUAL_FORTRAN_CALLING_CONVENTION) /usr/local/include/octave-4.1.0+/octave/f77-fcn.h:#elif defined (F77_USES_GFORTRAN_CALLING_CONVENTION) /usr/local/include/octave-4.1.0+/octave/f77-fcn.h:#elif defined (F77_USES_F2C_CALLING_CONVENTION) If I forcibly define it in f77-fcn.h then the package installs OK. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48559> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |