提示框
提示框:
[问题求助]undefined reference to dsyev_
楼主
59.64.159.* 发表于 2007年11月12日 15:59:19
g++ -o dsyev dsyev.o -llapack -lblas -lgfortran
/usr/local/lib/liblapack.a(dsyev.o): In function `dsyev_':
dsyev.f:(.text+0x33e): undefined reference to `dlamch_'
dsyev.f:(.text+0x355): undefined reference to `dlamch_'
/usr/local/lib/liblapack.a(dlascl.o): In function `dlascl_':
dlascl.f:(.text+0x3e5): undefined reference to `dlamch_'
/usr/local/lib/liblapack.a(dsteqr.o): In function `dsteqr_':
dsteqr.f:(.text+0x1c2): undefined reference to `dlamch_'
dsteqr.f:(.text+0x1e4): undefined reference to `dlamch_'
/usr/local/lib/liblapack.a(dsterf.o):dsterf.f:(.text+0x73): more undefined references to `dlamch_' follow
collect2: ld 返回 1
/usr/local/lib/liblapack.a(dsyev.o): In function `dsyev_':
dsyev.f:(.text+0x33e): undefined reference to `dlamch_'
dsyev.f:(.text+0x355): undefined reference to `dlamch_'
/usr/local/lib/liblapack.a(dlascl.o): In function `dlascl_':
dlascl.f:(.text+0x3e5): undefined reference to `dlamch_'
/usr/local/lib/liblapack.a(dsteqr.o): In function `dsteqr_':
dsteqr.f:(.text+0x1c2): undefined reference to `dlamch_'
dsteqr.f:(.text+0x1e4): undefined reference to `dlamch_'
/usr/local/lib/liblapack.a(dsterf.o):dsterf.f:(.text+0x73): more undefined references to `dlamch_' follow
collect2: ld 返回 1