help-octave
[Top][All Lists]
Advanced

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

Re: Installing GCC-4.x in userspace / Compiling Octave from CVS


From: John W. Eaton
Subject: Re: Installing GCC-4.x in userspace / Compiling Octave from CVS
Date: Mon, 01 Oct 2007 20:12:33 -0400

On  1-Oct-2007, Sergei Steshenko wrote:

| > Thank you for your replies. I finally managed to jump through hoops,
| > GCC3.2 ->3.4 ->4.2.
| > Now I am building Octave using gfortran, and I got these undefined 
references.
| > 
| > /home/m/mx/mxa6471/GCC42/bin/g++  -I. -I.. -I../liboctave -I../src
| > -I../libcruft/misc   -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
| > -Wold-style-cast -g -O2 -rdynamic -L..  -fPIC  -o octave main.o
| > -L../liboctave -L../libcruft -L../src -Wl,-rpath
| > -Wl,/home/m/mx/mxa6471/OCTAVE29/lib/octave-2.9.14 -loctinterp -loctave
| >  -lcruft             -lfftw3 -lreadline  -lncurses -ldl -lm
| > -L/home/m/mx/mxa6471/GCC42/lib/gcc/i686-pc-linux-gnu/4.2.1
| > -L/home/m/mx/mxa6471/GCC42/lib/gcc/i686-pc-linux-gnu/4.2.1/../../..
| > -lgfortranbegin -lgfortran -lm -lgcc_s
| > 
| > ../libcruft/libcruft.so: undefined reference to `do_lio'
| > ../libcruft/libcruft.so: undefined reference to `e_wsle'
| > ../src/liboctinterp.so: undefined reference to `e_wsfe'
| > ../libcruft/libcruft.so: undefined reference to `s_cmp'
| > ../libcruft/libcruft.so: undefined reference to `i_indx'
| > ../src/liboctinterp.so: undefined reference to `do_fio'
| > ../libcruft/libcruft.so: undefined reference to `e_wsfi'
| > ../libcruft/libcruft.so: undefined reference to `s_cat'
| > ../libcruft/libcruft.so: undefined reference to `s_stop'
| > ../libcruft/libcruft.so: undefined reference to `s_wsfi'
| > ../libcruft/libcruft.so: undefined reference to `s_wsle'
| > ../src/liboctinterp.so: undefined reference to `s_wsfe'
| > ../libcruft/libcruft.so: undefined reference to `s_copy'
| > collect2: ld returned 1 exit status
| > make[2]: *** [octave] Error 1
| > make[1]: *** [src] Error 2
| > make: *** [all] Error 2
| > 
| > I dont know how I can find a libg2c for gfortran or use g77 from gcc-3.4.
| > What am I supposed to be doing right now?
| > -Muthu
| > 
| 
| Use libg2c from gcc-3.4.6.

?  If he is using gfortran, shouldn't all the parts be included?  I
would not expect to need to have parts of gcc-3.4.6 installed to make
it possible to use gfortran.

jwe


reply via email to

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