LAPACK Archives

[Lapack] help: undefined reference to "sgesvd"


After I compiled the whole thing according to the README.install, I tried the 
example in the FAQ list, but get an error. How can I figure this out? Thanks.


g++ -Wl,-rpath,/usr/local/qt/lib -o testLapack main.o    -L/usr/local/qt/lib
-L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -L/home/hang/Src/Test/testLapack
-llapack -lblas -ltmg -lI77 -lF77 

main.o(.text+0xc7): In function `main':
: undefined reference to `sgesvd_(char*, char*, long*, long*, float*, long*, 
float*, float*, long*, float*, long*, float*, long*, long*)'
collect2: ld returned 1 exit status
make: *** [testLapack] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...

<Prev in Thread] Current Thread [Next in Thread>
  • [Lapack] help: undefined reference to "sgesvd", Hang Chang <=

For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or