|
From: | Ankit Shah |
Subject: | Re: libcruft.so: undefined reference |
Date: | Thu, 30 May 2013 13:57:21 +0530 |
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
> -lmbut 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.4and, of course, this is the linking error:> ../libcruft/.libs/libcruft.so: undefined reference to `r_imag'[cut]
> ../libcruft/.libs/libcruft.so: undefined reference to `c_exp'> ../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 statusand 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
>_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
http://octave.1599824.n4.nabble.com/make-returns-error-for-leaving-directory-tp4653387p4653434.htmlIf you reply to this email, your message will be added to the discussion below:
[Prev in Thread] | Current Thread | [Next in Thread] |