[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make issue, possibly g77 vs gfortran
From: |
Jaroslav Hajek |
Subject: |
Re: make issue, possibly g77 vs gfortran |
Date: |
Fri, 22 May 2009 10:41:58 +0200 |
On Fri, May 22, 2009 at 10:21 AM, Tim Albu <address@hidden> wrote:
> Thank you, that worked, and now the Fortran compiler is gfortran. The make
> process still stops with the following error:
>
> 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,/usr/local/lib/octave-3.0.5 \
> -loctinterp -loctave -lcruft \
> \
> \
> -lreadline -lncurses -ldl -lz -lm
> -L/usr/lib/gcc/i386-redhat-linux/4.1.2
> -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. -lz -lgfortranbegin
> -lgfortran -lm
> ../libcruft/libcruft.so: undefined reference to `do_lio'
> ../libcruft/libcruft.so: undefined reference to `z_sqrt'
> ../src/liboctinterp.so: undefined reference to `e_wsfe'
> ../libcruft/libcruft.so: undefined reference to `z_abs'
> ../libcruft/libcruft.so: undefined reference to `i_indx'
> ../libcruft/libcruft.so: undefined reference to `s_wsfi'
> ../libcruft/libcruft.so: undefined reference to `s_stop'
> ../libcruft/libcruft.so: undefined reference to `e_wsfi'
> ../libcruft/libcruft.so: undefined reference to `s_wsle'
> ../libcruft/libcruft.so: undefined reference to `s_cmp'
> ../libcruft/libcruft.so: undefined reference to `s_copy'
> ../libcruft/libcruft.so: undefined reference to `s_cat'
> ../libcruft/libcruft.so: undefined reference to `e_wsle'
> ../src/liboctinterp.so: undefined reference to `do_fio'
> ../src/liboctinterp.so: undefined reference to `s_wsfe'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/usr/local/octave-3.0.5/src'
> make[1]: *** [src] Error 2
>
> What would be the next step?
>
> Best regards,
> Tim
>
These still look like references to the g77 runtime library. Did you
do a make clean first?
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz