Hi, I got a weird problem for you guys.
I followed the instruction and installed the clapack package sucessfully in my Red-hat Linux system. It passed all the testing.
I include the f2c.h and clapack.h
I linked blas_c.a lacpack_c.a and libF77.a in my makefile.
But when I call dsyev_(...) in my program, there are link errors, like:
../CLAPACK/lapack_c.a(dlamch.o)(.text+0x9d): In function `dlamch_':
: undefined reference to `pow_di'
../CLAPACK/lapack_c.a(dsteqr.o)(.text+0x823): In function `dsteqr_':
: undefined reference to `d_sign'
../CLAPACK/lapack_c.a(ilaenv.o)(.text+0x3b): In function `ilaenv_':
: undefined reference to `s_copy'
../CLAPACK/lapack_c.a(ilaenv.o)(.text+0x210): In function `ilaenv_':
: undefined reference to `s_cmp'
../CLAPACK/lapack_c.a(ilaenv.o)(.text+0x2b6): more undefined references to `s_cmp' follow
../CLAPACK/lapack_c.a(dlartg.o)(.text+0x63f): In function `dlartg_':
: undefined reference to `pow_di'
../CLAPACK/lapack_c.a(dlarfg.o)(.text+0x7b): In function `dlarfg_':
: undefined reference to `d_sign'
../CLAPACK/lapack_c.a(dlarfg.o)(.text+0x1d5): In function `dlarfg_':
: undefined reference to `d_sign'
and bla bla bla.................
I totally have no idea about this, and tried reinstall the whole clapack again, the problem still there. But for the win32 version clapack, under windows xp with visual studio , my code running O.K. No such error when calling dsyev_(...).
Any one has any tips to solve this?
Thanks

