[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK |
Date: |
Sun, 25 Dec 2011 16:27:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 Iceweasel/8.0 |
Follow-up Comment #13, bug #35114 (project octave):
I don't see a reason to have all .oct files linked with all libraries that
Octave requires. That would include fftw, fontconfig, opengl, HDF, X11
libraries, etc. that don't make sense for most .oct files. In the past, when
we did have all .oct files linking to these libraries, it was a source of
confusion. So I don't want to revert this change.
Linking may happen to succeed on some platforms without directly linking to
LAPACK (for example) because the linker doesn't complain about unresolved
symbols when creating shared libraries, and those symbols are later found to
already be available when the shared library is loaded in Octave. Perhaps
there is some option to cause the link step to require symbols to be resolved
a the time the shared library is created, but I don't know what that is.
You can use something like
LAPACK_LIBS = `mkoctfile -p LAPACK_LIBS`
...
mkoctfile ... $(LAPACK_LIBS)
to link with the same libraries that Octave uses.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35114>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, (continued)
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/21
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/22
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/22
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Ben Abbott, 2011/12/22
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/22
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Ben Abbott, 2011/12/22
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/24
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Ben Abbott, 2011/12/24
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, John W. Eaton, 2011/12/24
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/25
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK,
John W. Eaton <=
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/25
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/27
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Jordi GutiƩrrez Hermoso, 2011/12/27
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/27
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, marco atzeri, 2011/12/28
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Jordi GutiƩrrez Hermoso, 2011/12/29
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/29
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/30
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Ben Abbott, 2011/12/30
- [Octave-bug-tracker] [bug #35114] Octave 3.5.90: mkoctfile fails to link against BLAS/LAPACK, Lukas Reichlin, 2011/12/30