help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble installing octave (version 3.4.2) on ubuntu linux 11.04


From: Dario Cardini
Subject: Re: trouble installing octave (version 3.4.2) on ubuntu linux 11.04
Date: Fri, 9 Sep 2011 16:03:41 +0200

Dear John,
after changing the compiler to gfortran the compilation has run long time, until generating the following error:

ibtool: link: gcc -g -O2 -pthread -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -pthread -g -O2 -pthread -o .libs/octave main.o -Wl,-Bsymbolic-functions  ./.libs/liboctinterp.so ../liboctave/.libs/liboctave.so ../libcruft/.libs/libcruft.so ../libcruft/.libs/libranlib.a ../libgnu/.libs/libgnu.a -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lqrupdate /usr/lib/libfftw3.so /usr/lib/libfftw3f.so -lfltk_gl -lfltk -L/usr/lib/i386-linux-gnu /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib/libhdf5.so -lz -lGL -lGLU -lX11 -lreadline -lncurses -lpcre -llapack -lblas -ldl -L/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2 -L/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/../../.. -lgfortran -lm -pthread -Wl,-rpath -Wl,/tools/octave/local_3.4.2/lib/octave/3.4.2
../libcruft/.libs/libcruft.so: undefined reference to `r_imag'
../libcruft/.libs/libcruft.so: undefined reference to `c_exp'
./.libs/liboctinterp.so: undefined reference to `i_len'
../libcruft/.libs/libcruft.so: undefined reference to `c_sqrt'
../libcruft/.libs/libcruft.so: undefined reference to `d_sign'
./.libs/liboctinterp.so: undefined reference to `s_wsle'
../libcruft/.libs/libcruft.so: undefined reference to `c_div'
../libcruft/.libs/libcruft.so: undefined reference to `r_cnjg'
./.libs/liboctinterp.so: undefined reference to `do_lio'
../libcruft/.libs/libcruft.so: undefined reference to `c_log'
../libcruft/.libs/libcruft.so: undefined reference to `pow_dd'
./.libs/liboctinterp.so: undefined reference to `i_indx'
./.libs/liboctinterp.so: undefined reference to `r_sign'
./.libs/liboctinterp.so: undefined reference to `pow_ri'
./.libs/liboctinterp.so: undefined reference to `e_wsle'
../libcruft/.libs/libcruft.so: undefined reference to `c_abs'
collect2: ld returned 1 exit status
make[3]: *** [octave] Error 1
make[3]: Leaving directory `/tools/octave/octave-3.4.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tools/octave/octave-3.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tools/octave/octave-3.4.2'
make: *** [all] Error 2

Unfortunately I do not have a complete copy of the log, I can generate it if it can be useful.ù
Thank you again,
Kind Regards

Dario



On Fri, Sep 9, 2011 at 2:47 PM, John W. Eaton <address@hidden> wrote:
On  9-Sep-2011, Dario Cardini wrote:

| John,
| thank you again.
| I checked that I have gfortran installed, as well as this f77 compiler:
|
| which gfortran
| /usr/bin/gfortran
|
| which f77
| /usr/bin/f77
|
| To my understanding, gfortran should have precedence on f77, but this is not
| what happens, because the configure script looks for f77.
|
| Do you know how I could force the usage of gfortran ?

 ./configure F77=gfortran ...

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]