[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libcruft.so: undefined reference
From: |
marco atzeri |
Subject: |
Re: libcruft.so: undefined reference |
Date: |
Wed, 29 May 2013 18:25:43 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
Il 5/29/2013 6:01 PM, ankit2313 ha scritto:
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.
fine thanks.
The last commad is this one:
/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
but lm is reported so I have no clue.
-no-undefined is need on windows but should make no difference on Linux,
nor should make any difference the order of the linking libraries
For your info, this is libtool echo of the last command:
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
and, of course, this is the linking error:
../libcruft/.libs/libcruft.so: undefined reference to `r_imag'
../libcruft/.libs/libcruft.so: undefined reference to `c_exp'
[cut]
../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
and here Make advises you that a command is failed in that directory
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
- Re: make returns error for leaving directory, (continued)
- Message not available
- Re: make returns error for leaving directory, marco atzeri, 2013/05/29
- Re: make returns error for leaving directory, ankit2313, 2013/05/29
- Re: make returns error for leaving directory, marco atzeri, 2013/05/29
- Re: make returns error for leaving directory, ankit2313, 2013/05/29
- Re: make returns error for leaving directory, marco atzeri, 2013/05/29
- Re: make returns error for leaving directory, ankit2313, 2013/05/29
- Re: make returns error for leaving directory, marco atzeri, 2013/05/29
- Re: make returns error for leaving directory, Ankit Shah, 2013/05/29
- Message not available
- libcruft.so: undefined reference, marco atzeri, 2013/05/29
- Re: libcruft.so: undefined reference, ankit2313, 2013/05/29
- Re: libcruft.so: undefined reference,
marco atzeri <=
- Re: libcruft.so: undefined reference, Ankit Shah, 2013/05/30
- Re: libcruft.so: undefined reference, marco atzeri, 2013/05/30
- Re: libcruft.so: undefined reference, ankit2313, 2013/05/30
- Re: make returns error for leaving directory, Sergei Steshenko, 2013/05/29
- Re: make returns error for leaving directory, marco atzeri, 2013/05/29
- Re: make returns error for leaving directory, ankit2313, 2013/05/29