本文介绍了使文件编译错误未定义符号`strtoflt128'错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在PC上编译Make文件.当我运行它时,它会产生以下错误:
I was compiling a make file on my PC. When I ran it, it generates the following error:
我的PC是Windows 8.1 64位.我已经安装了cygwin64,其中包含以下软件包; gcc-core4.9.3,gcc-g ++ 4.9.3,gcc-fortran 4.9.2-3.
My PC is Windows 8.1 64 bit. I have cygwin64 installed with the following packages; gcc-core4.9.3, gcc-g++ 4.9.3, gcc-fortran 4.9.2-3.
推荐答案
此符号由 libquadmath ,因此您需要在链接命令中添加-lquadmath
.如果已经存在,请确保在所有对象文件和静态库之后 .
This symbol is provided by libquadmath, so you will need to add -lquadmath
to your link command. If it is already there, make sure it comes after all object files and static libraries.
这篇关于使文件编译错误未定义符号`strtoflt128'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!