On Sep 16, 2012, at 11:28 PM, Ananda Murthy R S wrote:
> Hello,
>
> Compiling Octave-3.6.3 on Zenwalk Snapshot (a derivative of Slackware), with SuiteSparse 4.0.2 gave the following error:
>
> /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -march=i486 -mtune=i686 -pthread -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -O2 -march=i486 -mtune=i686 -pthread -pthread -O2 -march=i486 -mtune=i686 -pthread -no-undefined -o octave main.o
liboctinterp.la ../liboctave/
liboctave.la ../libcruft/
libcruft.la -lm
> libtool: link: gcc -O2 -march=i486 -mtune=i686 -pthread -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -O2 -march=i486 -mtune=i686 -pthread -pthread -O2 -march=i486 -mtune=i686 -pthread -o .libs/octave main.o ./.libs/liboctinterp.so ../liboctave/.libs/liboctave.so ../libcruft/.libs/libcruft.so -lm -pthread -Wl,-rpath -Wl,/usr/lib/octave/3.6.3
> ../liboctave/.libs/liboctave.so: undefined reference to `SuiteSparse_time'
> collect2: error: ld returned 1 exit status
> make[3]: *** [octave] Error 1
> make[3]: Leaving directory `/home/anand/New_Packages/octave/src/octave-3.6.3/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/anand/New_Packages/octave/src/octave-3.6.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/anand/New_Packages/octave/src/octave-3.6.3'
> make: *** [all] Error 2
> build() failed
>
> How to correct this? Thanks for your help.
>
> Anand