bugGNU Octave - Bugs: bug #50000, [octave forge] (control) 'F77_INT'...

 
 

bug #50000: [octave forge] (control) 'F77_INT' does not name a type'

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Sat 07 Jan 2017 01:49:37 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Mar 2018 12:52:19 PM UTC, comment #5: 

This can be closed as fixed.
control pkg compiles ok now.

Doug Stewart <dastew>
Sat 07 Jan 2017 10:39:11 PM UTC, comment #4: 

Yep, thanks. If only all fixes would be so easy...

Cc'ing package maintainer.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 07 Jan 2017 05:38:57 PM UTC, comment #3: 

The problem with common.cc is that it doesn't include common.h.  Fix that and I think the problem you are seeing will be fixed.

John W. Eaton <jwe>
Group administrator
Sat 07 Jan 2017 05:37:08 PM UTC, comment #2: 

Oops, nevermind, I used the wrong version of the control package in my test.  Let me see what's happening there.

John W. Eaton <jwe>
Group administrator
Sat 07 Jan 2017 05:12:06 PM UTC, comment #1: 

What HG id is your 4.3.0+?  It works for me with f71191aea679 (octave) and fddd53f19e24 (the control package).

John W. Eaton <jwe>
Group administrator
Sat 07 Jan 2017 01:49:37 PM UTC, original submission:  

After pulling OF control incl. the fixes from:
http://octave.1599824.n4.nabble.com/Implications-of-indexing-changes-for-code-that-calls-Fortran-tt4681221.html
(applied to the repo by Olaf)
the control package build breaks at the second binary module with:

:
:                                             ^
g++ -std=gnu++11 -c -I/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include  -IC:\Programs\Octave\OCTAVE~1.0_V\include\octave-4.3.0+\octave\.. -IC:\Programs\Octave\OCTAVE~1.0_V\include\octave-4.3.0+\octave -IC:\Programs\Octave\OCTAVE~1.0_V\include  -pthread -fopenmp -g -O2    common.cc -o common.o
common.cc:31:1: error: 'F77_INT' does not name a type
 F77_INT max (F77_INT a, F77_INT b)
 ^
common.cc:39:1: error: 'F77_INT' does not name a type
 F77_INT max (F77_INT a, F77_INT b, F77_INT c)
 ^
common.cc:44:1: error: 'F77_INT' does not name a type
 F77_INT max (F77_INT a, F77_INT b, F77_INT c, F77_INT d)
 ^
common.cc:49:1: error: 'F77_INT' does not name a type
 F77_INT max (F77_INT a, F77_INT b, F77_INT c, F77_INT d, F77_INT e)
 ^
common.cc:54:1: error: 'F77_INT' does not name a type
 F77_INT min (F77_INT a, F77_INT b)
 ^
make: *** [__control_slicot_functions__.oct] Error 1
make: Leaving directory `/tmp/oct-ABC6xQ/control-3.0.0/src'

pkg: error running `make' for the control package.
error: called from
    configure_make at line 95 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>>


Do I suppose correctly that apart from these fixes some #ifdefs are required to keep the control package in shape for Octave-4.2.x and maybe below?

Philip Nienhuis <philipnienhuis>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by i7tiol (Updated the item)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by philipnienhuis (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-14 i7tiol StatusNone Fixed
        Open/ClosedOpen Closed
    2017-08-12 jwe SummaryOF control error: 'F77_INT' does not name a type' [octave forge] (control) 'F77_INT' does not name a type'
    2017-01-07 philipnienhuis Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code