make file compile error undefined symbol `strtoflt128' error

99封情书 提交于 2019-12-24 15:18:01

问题


I was compiling a make file on my PC. When I ran it, it generates the following error:

R_X86_64_PC32 against undefined symbol `strtoflt128'.

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.


回答1:


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.



来源:https://stackoverflow.com/questions/29739233/make-file-compile-error-undefined-symbol-strtoflt128-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!