[ gsl 1.15 ] [ g++ (Ubuntu/Linaro 4.4.4-14ubuntu5.1) 4.4.5 ] [ make check appears OK ] [ caveat : novice ]
I do not understand how to get singular value decomposition to work. It appears one cannot simply pick the .c file out of the gsl build directory and compile it. g++ gives a common error when attempting to link svd.o (see below). I *do* know how to compile and link the sample bessel function, and the LU decomposition, and linalg/test.c, and they work as I expected. I noticed that svd.c does not have `int main()`. wondering if I am missing some documentation, or did not build properly, or making basic programming errors, etc. -Bryan g++ output: g++ -I$prefix/include -c svd.cpp g++ -Wl,-V -L$prefix/lib svd.o -o fubar -lgsl -lgslcblas -lm GNU ld (GNU Binutils for Ubuntu) 2.20.51-system.20100908 Supported emulations: elf_i386 i386linux elf_x86_64 elf_l1om /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status
