[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling 2.1.71 on FC4
From: |
Shai Ayal |
Subject: |
Compiling 2.1.71 on FC4 |
Date: |
Thu, 22 Sep 2005 16:34:48 +0300 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
Hi
As promised I upgraded to FC4. This is not a vanilla install of FC4, rather
FC1 upgraded to FC4.
My previously compiled 2.1.71, (compiled on FC1) is still working, however,
I decided I need to recompile just in case. I know there are binary rpm's,
but I feel safer if I can compile it myself.
Recompliation fails when trying to link the octave binary
My vitals:
>> g++ -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
>> g77 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)
>> uname -a
Linux XXXXX 2.6.12-1.1447_FC4smp #1 SMP Fri Aug 26 20:57:13 EDT 2005 i686
i686 i386 GNU/Linux
>> configure --enable-shared --disable-static
.
.
.
Octave is now configured for i686-pc-linux-gnu
Source directory: .
Installation prefix: /usr/local
C compiler: gcc -mieee-fp -Wall -W -Wshadow -g -O2
C++ compiler: g++ -mieee-fp -Wall -W -Wshadow -g -O2
Fortran compiler: g77 -O -mieee-fp
Fortran libraries: -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm
-lgcc_s
BLAS libraries: -lcblas -lf77blas -latlas
FFTW libraries: -lfftw3
HDF5 libraries:
MPI libraries:
LIBS: -lreadline -lncurses -ldl -lm
Default pager: less
gnuplot: gnuplot
Do internal array bounds checking: false
Build static libraries: false
Build shared libraries: true
Dynamic Linking: true (dlopen)
Include support for GNU readline: true
configure: WARNING: I didn't find gperf, but it's only a problem if you
need to reconstruct oct-gperf.h
make
Compilation Error:
.
.
.
g++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -g -O2 -rdynamic \
-L.. -fPIC -o octave \
main.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath
-Wl,/usr/local/lib/octave-2.1.71 \
-loctinterp -loctave -lcruft \
-lcblas -lf77blas -latlas -lfftw3 -lreadline -lncurses -ldl -lm
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm
-lgcc_s
../src/liboctinterp.so: undefined reference to
`__gnu_cxx::__exchange_and_add(int volatile*, int)'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
../src/liboctinterp.so: undefined reference to `__cxa_get_exception_ptr'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
../src/liboctinterp.so: undefined reference to `std::basic_stringbuf<char,
std::char_traits<char>, std::allocator<char> >::seekoff(long long,
std::_Ios_Seekdir, std::_Ios_Openmode)'
../src/liboctinterp.so: undefined reference to `std::_List_node_base::unhook()'
../src/liboctinterp.so: undefined reference to
`std::_List_node_base::hook(std::_List_node_base*)'
../src/liboctinterp.so: undefined reference to
`__gnu_cxx::__pool<true>::_M_initialize(void (*)(void*))'
../src/liboctinterp.so: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
../src/liboctinterp.so: undefined reference to
`__gnu_cxx::__pool<true>::_M_reserve_block(unsigned int, unsigned int)'
../src/liboctinterp.so: undefined reference to `std::basic_streambuf<char,
std::char_traits<char> >::pubseekoff(long long, std::_Ios_Seekdir,
std::_Ios_Openmode)'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
../src/liboctinterp.so: undefined reference to `std::basic_istream<char,
std::char_traits<char> >::seekg(long long, std::_Ios_Seekdir)'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&)'
../src/liboctinterp.so: undefined reference to `__cxa_guard_release'
../src/liboctinterp.so: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned
int, unsigned int, unsigned int, char)'
../src/liboctinterp.so: undefined reference to `__cxa_guard_abort'
../src/liboctinterp.so: undefined reference to
`__gnu_cxx::__pool<true>::_M_reclaim_block(char*, unsigned int)'
../src/liboctinterp.so: undefined reference to
`std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
../src/liboctinterp.so: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned
int, unsigned int, std::allocator<char> const&)'
../src/liboctinterp.so: undefined reference to
`__gnu_cxx::__pool<true>::_M_get_thread_id()'
../src/liboctinterp.so: undefined reference to
`__gnu_cxx::__pool<true>::_M_destroy_thread_key(void*)'
../src/liboctinterp.so: undefined reference to `__cxa_guard_acquire'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/shaia/Download/octave-2.1.71/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/shaia/Download/octave-2.1.71'
make: *** [all] Error 2
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Compiling 2.1.71 on FC4,
Shai Ayal <=