[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing GCC-4.x in userspace / Compiling Octave from CVS
From: |
Sergei Steshenko |
Subject: |
Re: Installing GCC-4.x in userspace / Compiling Octave from CVS |
Date: |
Mon, 1 Oct 2007 16:07:53 -0700 (PDT) |
--- Muthiah Annamalai <address@hidden> 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.
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Muthiah Annamalai, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS,
Sergei Steshenko <=
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, John W. Eaton, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Muthiah Annamalai, 2007/10/01
- Re: Installing GCC-4.x in userspace / Compiling Octave from CVS, Sergei Steshenko, 2007/10/02