bugGNU Octave - Bugs: bug #38351, mkoctfile -p returns wrong flags...


bug #38351: mkoctfile -p returns wrong flags on mingw.

Submitted by:  Gabe Bodeen <selylidne>
Submitted on:  Tue 19 Feb 2013 06:04:10 PM UTC  
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Gabe Open/Closed:  Closed
Release:  3.6.2 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 25 Oct 2013 04:08:05 PM UTC, comment #3: 

I just tried this one in development mxe-octave with octave 3.7.7 on my XP 64 machine and it installed optim 1.2.2 ok with just some warnings on continuation markers being depreciated.

I also had installed from forge:
general 1.3.2
misc 1.2.0
struct 1.0.10

John Donoghue <lostbard>
Project Member
Fri 15 Mar 2013 12:55:43 PM UTC, comment #2: 

I have changed the bug's category and description.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Fri 15 Mar 2013 10:12:29 AM UTC, comment #1: 

_disna_optim_ should be linked against the same lapack library as is used by Octave. That's why it is essential for the build that mkoctfile -p returns the correct flags. This does not seem to be the case with your mingw Octave installation. I remember that this problem has occured before. I'd say this is a bug in mingw-Octave, not in optim.

So this bug-report should be closed or moved, except this should be the right category also for mingw-Octave (I don't know). Could someone with permissions please decide on this.

If there should be new reasons to assign this bug to optim, the bug could be re-opened.


Olaf Till <i7tiol>
Project Member
Tue 19 Feb 2013 06:04:10 PM UTC, original submission:  

On a fresh installation of Octave 3.6.2 mingw plus the default octaveforge packages,

pkg install -forge optim


octave:4> pkg install -forge optim
__disna_optim__.o: In function `Z16F__disna_optim__RK17octave_value_listi':
2: undefined reference to `sdisna_'
4: undefined reference to `ddisna_'
collect2: ld returned 1 exit status
strip: '__disna_optim__.oct': No such file
make: *** [__disna_optim__.oct] Error 1
'make' returned the following error: make: Entering directory `/tmp/oct-12/optim
LFLAGS="-Lc:\Octave\Octave3.6.2_gcc4.6.2\lib\octave\3.6.2 -Lc:\Octave\Octave3.6.
2_gcc4.6.2\lib  -lblas" C:/Octave/Octave3.6.2_gcc4.6.2/bin/mkoctfile-3.6.2 -s __
LFLAGS="-Lc:\Octave\Octave3.6.2_gcc4.6.2\lib\octave\3.6.2 -Lc:\Octave\Octave3.6.
2_gcc4.6.2\lib  -lblas" C:/Octave/Octave3.6.2_gcc4.6.2/bin/mkoctfile-3.6.2 -s nu
LFLAGS="-Lc:\Octave\Octave3.6.2_gcc4.6.2\lib\octave\3.6.2 -Lc:\Octave\Octave3.6.
2_gcc4.6.2\lib  -lblas" C:/Octave/Octave3.6.2_gcc4.6.2/bin/mkoctfile-3.6.2 -s nu
LFLAGS="-Lc:\Octave\Octave3.6.2_gcc4.6.2\lib\octave\3.6.2 -Lc:\Octave\Octave3.6.
2_gcc4.6.2\lib  -lblas" C:/Octave/Octave3.6.2_gcc4.6.2/bin/mkoctfile-3.6.2 -s sa
LFLAGS="-Lc:\Octave\Octave3.6.2_gcc4.6.2\lib\octave\3.6.2 -Lc:\Octave\Octave3.6.
2_gcc4.6.2\lib  -lblas" C:/Octave/Octave3.6.2_gcc4.6.2/bin/mkoctfile-3.6.2 -s __
make: Leaving directory `/tmp/oct-12/optim-1.2.2/src'
error: called from `pkg>configure_make' in file C:\Octave\Octave3.6.2_gcc4.6.2\s
hare\octave\3.6.2\m\pkg\pkg.m near line 1385, column 9
error: called from:
error:   C:\Octave\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\pkg\pkg.m at line 8
27, column 5
error:   C:\Octave\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\pkg\pkg.m at line 3
83, column 9

Gabe Bodeen <selylidne>


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

Attach Files:

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 rik5 (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by i7tiol (Posted a comment)
  • -email is unavailable- added by carandraug (Olaf Till - unofficial optim package maintainer)
  • -email is unavailable- added by selylidne (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-27 rik5 StatusPostponed => Works For Me
        Open/ClosedOpen => Closed
    2013-03-15 jordigh CategoryOctave Forge Package => Configuration and Build System
        StatusNone => Postponed
        SummaryFailure of installation of optim package from forge => mkoctfile -p returns wrong flags on mingw.
    2013-02-20 carandraug Carbon-Copy- => Added i7tiol@t-online.de

    Back to the top

    Powered by Savane 3.7