[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32009] Issues with OCT-files and LAPACK
From: |
Lukas Reichlin |
Subject: |
[Octave-bug-tracker] [bug #32009] Issues with OCT-files and LAPACK |
Date: |
Wed, 29 Dec 2010 21:51:30 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en; rv:1.9.0.19) Gecko/2010111021 Camino/2.0.6 (like Firefox/3.0.19) |
URL:
<http://savannah.gnu.org/bugs/?32009>
Summary: Issues with OCT-files and LAPACK
Project: GNU Octave
Submitted by: paramaniac
Submitted on: Wed 29 Dec 2010 09:51:30 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: paramaniac
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.3.52
Operating System: Mac OS
_______________________________________________________
Details:
Octave 3.3.52 (The most recent "octave-devel +gcc44" version available from
MacPorts) running on Mac OS X 10.6.5 (A Core2Duo laptop and a Core i3 desktop)
has problems to compile OCT-files that are using LAPACK routines:
octave:1> ls
control.tar.gz
octave:2> pkg install control*
Undefined symbols:
"_dlaset_", referenced from:
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
_ab08nx_ in AB08NX.o
_ab08nx_ in AB08NX.o
_ab08nx_ in AB08NX.o
_ab08nx_ in AB08NX.o
"_dggev_", referenced from:
Fslab08nd(octave_value_list const&, int) in slab08nd.o
"_dlapmt_", referenced from:
_ab08nx_ in AB08NX.o
"_dlarfg_", referenced from:
_ab08nx_ in AB08NX.o
_mb03oy_ in MB03OY.o
_mb03py_ in MB03PY.o
"_dlatzm_", referenced from:
_ab08nx_ in AB08NX.o
"_dlacpy_", referenced from:
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
"_dtzrzf_", referenced from:
_ab08nd_ in AB08ND.o
"_dormqr_", referenced from:
_ab08nx_ in AB08NX.o
"_dormrq_", referenced from:
_ab08nx_ in AB08NX.o
_ab08nx_ in AB08NX.o
"_dlaic1_", referenced from:
_mb03oy_ in MB03OY.o
_mb03oy_ in MB03OY.o
_mb03py_ in MB03PY.o
_mb03py_ in MB03PY.o
"_dlamch_", referenced from:
_ab08nd_ in AB08ND.o
_tb01id_ in TB01ID.o
_tb01id_ in TB01ID.o
"_dormrz_", referenced from:
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
"_dlange_", referenced from:
_ab08nd_ in AB08ND.o
"_dlarf_", referenced from:
_mb03oy_ in MB03OY.o
_mb03py_ in MB03PY.o
"_ilaenv_", referenced from:
_ab08nd_ in AB08ND.o
_ab08nd_ in AB08ND.o
_ab08nx_ in AB08NX.o
_ab08nx_ in AB08NX.o
_ab08nx_ in AB08NX.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [slab08nd.oct] Error 1
'make' returned the following error: mkoctfile slab08nd.cc \
AB08ND.f AB08NX.f TB01ID.f MB03OY.f MB03PY.f
error: called from `pkg>configure_make' in file
/opt/local/share/octave/3.3.52/m/pkg/pkg.m near line 1321, column 9
error: called from:
error: /opt/local/share/octave/3.3.52/m/pkg/pkg.m at line 782, column 5
error: /opt/local/share/octave/3.3.52/m/pkg/pkg.m at line 353, column 9
octave:2>
When adding the Mac-specific options
"-Wl,-framework" "-Wl,vecLib"
to the mkoctfile arguments like in [1], the problem is solved on my machine.
But since these options are Mac-specific, other platforms are broken.
Therefore some kind of patch for mkoctfile is needed.
BTW: The problem does not exist when using Octave 3.2.4 from MacPorts.
Steps to reproduce the problem:
* Download the latest SVN version of the control package from [2]
* Install the package by "pkg install" on a Mac with Octave 3.3
* If installation doesn't fail, you can try to run
test_control
at least two times consecutively. All tests should pass.
Best Regards
Lukas
[1]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/devel/makefile_zero.m
[2]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/?view=tar
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32009>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #32009] Issues with OCT-files and LAPACK,
Lukas Reichlin <=