安装 VPFIT12.3 时未定义的引用

Undefined references while installing VPFIT12.3

提问人:stack 提问时间:3/23/2023 最后编辑:stack 更新时间:3/23/2023 访问量:17

问:

为了安装 VPFIT,我运行了以下命令

sudo make all

在 vpfit12.3/ 中

但是我收到以下错误,

...
-L/usr/lib -ldl -lm -lnsl -lpng -lpthread -lz -lcurl -lbz2 -lpng
/usr/bin/ld: vpfit.o: in function `vpfit_':
vpfit.f:(.text+0xf9b): undefined reference to `vp_cdamp_'
/usr/bin/ld: vp_endrej.o: in function `vp_endrej_':
vp_endrej.f:(.text+0x31a): undefined reference to `vp_tiedrop_'
/usr/bin/ld: vp_endrej.f:(.text+0x346): undefined reference to `vp_tiedrop_'
/usr/bin/ld: vp_spvoigte.o: in function `vp_spvoigte_':
vp_spvoigte.f:(.text+0xe21): undefined reference to `vp_khspec_'
/usr/bin/ld: vp_ucheck.o: in function `vp_ucerck_':
vp_ucheck.f:(.text+0x1107): undefined reference to `vp_tiedrop_'
/usr/bin/ld: vp_ucheck.f:(.text+0x112b): undefined reference to `vp_tiedrop_'
/usr/bin/ld: vp_ucheck.o: in function `vp_uchkb_':
vp_ucheck.f:(.text+0x1bdc): undefined reference to `vp_tiedrop_'
/usr/bin/ld: vp_ucheck.f:(.text+0x1c00): undefined reference to `vp_tiedrop_'
collect2: error: ld returned 1 exit status
make: *** [makefile:121: vpflu] Error 1

我希望VPFIT的安装不会出现任何错误。

未定义引用 ubuntu-22.04

评论


答: 暂无答案