[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35408] Static build of octave fails on 3.4.3
From: |
spasmous |
Subject: |
[Octave-bug-tracker] [bug #35408] Static build of octave fails on 3.4.3 OpenSUSE 11.4 |
Date: |
Mon, 30 Jan 2012 20:49:27 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0 |
URL:
<http://savannah.gnu.org/bugs/?35408>
Summary: Static build of octave fails on 3.4.3 OpenSUSE 11.4
Project: GNU Octave
Submitted by: spasmous
Submitted on: Mon 30 Jan 2012 08:49:26 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.3
Operating System: GNU/Linux
_______________________________________________________
Details:
I'm on Suse 11.4 and trying to compile Octave 3.4.3 as a static build with
gcc-4.5 and gfortran-4.5. After searching the web for a while I figured these
were the right options:
./configure --disable-dl --disable-shared --enable-static
Do internal array bounds checking: false
Build static libraries: true
Build shared libraries: false
Dynamic Linking: false
Include support for GNU readline: true
64-bit array dims and indexing: false
configure: WARNING: I didn't find gperf.
configure: WARNING: I didn't find flex.
configure: WARNING: I didn't find bison.
configure: WARNING: UMFPACK not found.
configure: WARNING: qrupdate not found.
configure: WARNING: AMD library not found.
configure: WARNING: COLAMD library not found.
configure: WARNING: CCOLAMD library not found.
configure: WARNING: CHOLMOD library not found.
configure: WARNING: CXSparse library not found.
configure: WARNING: cURL library not found.
configure: WARNING: GLPK library not found.
configure: WARNING: GraphicsMagick++ library not found.
configure: WARNING: HDF5 library not found.
configure: WARNING: Qhull library not found.
configure: WARNING: OpenGL libs (GL and GLU) not found.
make -j4
...
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H
-Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
-pthread -g -O2 -pthread -o octave main.o ./liboctinterp.la
../liboctave/liboctave.la ../libcruft/libcruft.la ../libcruft/libranlib.la
../libgnu/libgnu.la -L/usr/lib64 -lpcre
-lreadline -lncurses -llapack -lblas -lm
-L/usr/lib64/gcc/x86_64-suse-linux/4.5
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../.. -lgfortran -lm -lm
libtool: link: gcc -g -O2 -pthread -DHAVE_CONFIG_H -Wall -W -Wshadow -Wformat
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings
-Wcast-align -Wcast-qual -g -O2 -pthread -pthread -g -O2 -pthread -o octave
main.o ./.libs/liboctinterp.a
/home/spas/octave-3.4.3/liboctave/.libs/liboctave.a -L/usr/lib64
../liboctave/.libs/liboctave.a
/home/spas/octave-3.4.3/libcruft/.libs/libcruft.a ../libcruft/.libs/libcruft.a
../libcruft/.libs/libranlib.a ../libgnu/.libs/libgnu.a -lpcre -lreadline
-lncurses -llapack -lblas -L/usr/lib64/gcc/x86_64-suse-linux/4.5
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../.. -lgfortran -lm -pthread
Then there are thousands of lines of errors starting with this:
/home/spas/octave-3.4.3/liboctave/.libs/liboctave.a(liboctave_la-file-ops.o):
In function `octave_tempnam(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&)':
/home/spas/octave-3.4.3/liboctave/file-ops.cc:659: warning: the use of
`tempnam' is dangerous, better use `mkstemp'
./.libs/liboctinterp.a(liboctinterp_la-octave.o): In function `operator<<
<std::char_traits<char> >':
/usr/include/c++/4.5/ostream:513: undefined reference to `std::cerr'
/usr/include/c++/4.5/ostream:513: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*, long)'
./.libs/liboctinterp.a(liboctinterp_la-octave.o): In function `operator<<
<char, std::char_traits<char>, std::allocator<char> >':
...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35408>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35408] Static build of octave fails on 3.4.3 OpenSUSE 11.4,
spasmous <=