ubuntu20.04编译NTL库,出现“_ntl_gssub”识别错误

内核编译和嵌入式产品的设计与开发
回复
Frog_mm
帖子: 1
注册时间: 2024-08-15 10:07

ubuntu20.04编译NTL库,出现“_ntl_gssub”识别错误

#1

帖子 Frog_mm » 2024-08-28 16:05

已安装gmp-6.3.0,gf2x-1.3.0版本,在对NTL-11.5.1版本进行编译时,出现错误,显示“ error: ‘_ntl_gssub’ was not declared in this scope; did you mean ‘_ntl_gsub’?”
部分错误代码如下:
“../include/NTL/ZZ.h:396:6: error: ‘_ntl_gssub’ was not declared in this scope; did you mean ‘_ntl_gsub’?
396 | { _ntl_gssub(a.rep, b, &x.rep); }
| ^~~~~~~~~~
| _ntl_gsub
make[1]: *** [makefile:404:LLL_QP.o] 错误 1
make[1]: *** [makefile:404:GF2X1.o] 错误 1
make[1]: *** [makefile:404:GF2EXFactoring.o] 错误 1
make[1]: *** [makefile:404:LLL_FP.o] 错误 1
make[1]: *** [makefile:404:LLL_RR.o] 错误 1
make[1]: *** [makefile:404:LLL.o] 错误 1
make[1]: *** [makefile:404:ZZVec.o] 错误 1
make[1]: *** [makefile:404:LLL_XD.o] 错误 1
make[1]: *** [makefile:404:GF2EX.o] 错误 1
make[1]: *** [makefile:404:ZZ.o] 错误 1
回复