Thanks! I now include get_nb.o when linking my .so.
I still have problems. I think magma so's need to be linked with cublas, cudart and other lapack libraries.
I can play with it if you could post .a files with objects compiled with -fPIC. Would it be possible?
[katayama@btesla1 magma_0.2]$ ldd /home/katayama/software/gpu/magma_0.2/lib/libmagmablas.s
libc.so.6 => /lib64/libc.so.6 (0x00002ae433769000)