help-octave
[Top][All Lists]
Advanced

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

Re: libcruft.so: undefined reference


From: ankit2313
Subject: Re: libcruft.so: undefined reference
Date: Wed, 29 May 2013 09:01:44 -0700 (PDT)

Il 5/29/2013 5:05 PM, Ankit Shah ha scritto:
> make again returned an error but this time possibly at different position.
> ../libcruft/.libs/libcruft.so: undefined reference to `r_imag'
> ../libcruft/.libs/libcruft.so: undefined reference to `c_exp'
> ../libcruft/.libs/libcruft.so: undefined reference to `i_len'
[cut]

> ../libcruft/.libs/libcruft.so: undefined reference to `e_wsfe'
> ../libcruft/.libs/libcruft.so: undefined reference to `d_cnjg'
> ../libcruft/.libs/libcruft.so: undefined reference to `c_abs'
> ../libcruft/.libs/libcruft.so: undefined reference to `d_mod'
> collect2: error: ld returned 1 exit status
> make[3]: *** [octave] Error 1
> make[3]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ankit/Softwares/octave-3.6.4'
> make: *** [all] Error 2
>
> this are the last few lines of the make process. I would like to ask you
> marco how did you figure out that there was an error in the fortran
> thing during the previous issue. I'm still a rookie so almost all the
> make errors seem the same to me.
>
Ankit,
please try to follow the posting rules. Read:
http://www.idallen.com/topposting.html

You are making hard to help you.

About the error, it is another matter.
It seems that libcruft is not linking with "lm"
the math library. For that reason I changed the subject.

As I am not using "Ubuntu 13.04 Gnome Edition 64 bit."
I have no idea why does not work

Someone else can help you

I suggest to copy the first command of the makefile that failed, so we
can at list see what was executed. Guessing from the output is impossible.

Regards
Marco
 
Sorry Marco but I did'nt found which was the first command that failed the make can you help me find that please. Secondly is the mail now posted properly or any more modifications are required. I read that top posting must be avoided thanks for pointing out.



Makefile:2549: warning: overriding commands for target `check'
Makefile:2128: warning: ignoring old commands for target `check'
making run-octave from run-octave.in
run-octave is unchanged
chmod a+rx "run-octave"
make  all-recursive
make[1]: Entering directory `/home/ankit/Softwares/octave-3.6.4'
Makefile:2549: warning: overriding commands for target `check'
Makefile:2128: warning: ignoring old commands for target `check'
Making all in libgnu
make[2]: Entering directory `/home/ankit/Softwares/octave-3.6.4/libgnu'
make  all-recursive
make[3]: Entering directory `/home/ankit/Softwares/octave-3.6.4/libgnu'
make[4]: Entering directory `/home/ankit/Softwares/octave-3.6.4/libgnu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/libgnu'
make[3]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/libgnu'
make[2]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/libgnu'
Making all in libcruft
make[2]: Entering directory `/home/ankit/Softwares/octave-3.6.4/libcruft'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/libcruft'
Making all in liboctave
make[2]: Entering directory `/home/ankit/Softwares/octave-3.6.4/liboctave'
make  all-am
make[3]: Entering directory `/home/ankit/Softwares/octave-3.6.4/liboctave'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/liboctave'
make[2]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/liboctave'
Making all in src
make[2]: Entering directory `/home/ankit/Softwares/octave-3.6.4/src'
making defaults.h from defaults.h.in
defaults.h is unchanged
make  all-am
make[3]: Entering directory `/home/ankit/Softwares/octave-3.6.4/src'
making defaults.h from defaults.h.in
defaults.h is unchanged
/bin/bash ../libtool --tag=CC   --mode=link gcc -g -O2 -pthread  -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -pthread -g -O2 -pthread -no-undefined   -o octave main.o liboctinterp.la ../liboctave/liboctave.la ../libcruft/libcruft.la  -lm  
libtool: link: gcc -g -O2 -pthread -DHAVE_CONFIG_H -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  ./.libs/liboctinterp.so ../liboctave/.libs/liboctave.so ../libcruft/.libs/libcruft.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib/octave/3.6.4
../libcruft/.libs/libcruft.so: undefined reference to `r_imag'
../libcruft/.libs/libcruft.so: undefined reference to `c_exp'
../libcruft/.libs/libcruft.so: undefined reference to `i_len'
../libcruft/.libs/libcruft.so: undefined reference to `d_int'
../libcruft/.libs/libcruft.so: undefined reference to `c_sqrt'
../libcruft/.libs/libcruft.so: undefined reference to `e_wsfi'
../libcruft/.libs/libcruft.so: undefined reference to `d_sign'
../libcruft/.libs/libcruft.so: undefined reference to `s_wsle'
../libcruft/.libs/libcruft.so: undefined reference to `r_mod'
../libcruft/.libs/libcruft.so: undefined reference to `c_div'
../libcruft/.libs/libcruft.so: undefined reference to `r_cnjg'
../libcruft/.libs/libcruft.so: undefined reference to `s_copy'
../libcruft/.libs/libcruft.so: undefined reference to `s_cmp'
../libcruft/.libs/libcruft.so: undefined reference to `s_wsfe'
../libcruft/.libs/libcruft.so: undefined reference to `do_lio'
../libcruft/.libs/libcruft.so: undefined reference to `c_log'
../libcruft/.libs/libcruft.so: undefined reference to `r_int'
../libcruft/.libs/libcruft.so: undefined reference to `pow_dd'
../libcruft/.libs/libcruft.so: undefined reference to `i_indx'
../libcruft/.libs/libcruft.so: undefined reference to `s_wsfi'
../libcruft/.libs/libcruft.so: undefined reference to `z_abs'
../libcruft/.libs/libcruft.so: undefined reference to `r_sign'
../libcruft/.libs/libcruft.so: undefined reference to `pow_di'
../libcruft/.libs/libcruft.so: undefined reference to `d_lg10'
../libcruft/.libs/libcruft.so: undefined reference to `pow_ri'
../libcruft/.libs/libcruft.so: undefined reference to `e_wsle'
../libcruft/.libs/libcruft.so: undefined reference to `s_cat'
../libcruft/.libs/libcruft.so: undefined reference to `do_fio'
../libcruft/.libs/libcruft.so: undefined reference to `e_wsfe'
../libcruft/.libs/libcruft.so: undefined reference to `d_cnjg'
../libcruft/.libs/libcruft.so: undefined reference to `c_abs'
../libcruft/.libs/libcruft.so: undefined reference to `d_mod'
collect2: error: ld returned 1 exit status
make[3]: *** [octave] Error 1
make[3]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ankit/Softwares/octave-3.6.4'
make: *** [all] Error 2

Ankit Shah



View this message in context: Re: libcruft.so: undefined reference
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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