- 主题:[求助]make 出错信息
root@:~/soft/shtest/source$ make
Updating "build_info.inc"
gfortran -O3 -fPIC -g -ffree-line-length-none -c output.f90
gfortran -O3 -fPIC -g -ffree-line-length-none -c input.F90
gfortran -O3 -fPIC -g -ffree-line-length-none -c main.F90
gfortran definitions.o matrix.o string.o input_list.o misc.o output.o restart.o qm_out.o nuclear.o electronic.o qm.o electronic_laser.o input.o decoherence_afssh.o main.o -o sharc1.x -lblas -llapack -lfftw3 -lgfortran
/usr/bin/ld: /usr/local/lib/../lib/liblapack.a(zlarfg.o): in function `zlarfg_':
zlarfg.f:(.text+0x39): undefined reference to `dznrm2_'
/usr/bin/ld: zlarfg.f:(.text+0x30d): undefined reference to `dznrm2_'
/usr/bin/ld: /usr/local/lib/../lib/liblapack.a(dlarfg.o): in function `dlarfg_':
dlarfg.f:(.text+0x3b): undefined reference to `dnrm2_'
/usr/bin/ld: dlarfg.f:(.text+0x23d): undefined reference to `dnrm2_'
collect2: error: ld returned 1 exit status
make: *** [Makefile:197: shtest] Error 1
--
FROM 123.117.165.*
求解决!!!
--
FROM 123.117.165.*
【 在 yi1hui 的大作中提到: 】
: 应该是库缺另外个依赖库
: - 来自 水木社区APP v3.5.5
:
: ...................
谢谢,在另外一个xd的帮助下搞定了,就是库的路径没设置好
--
FROM 123.117.165.*