链接到旧版库:-预制预制文件中的-lgfortranbegin [英] link against a legacy library: -lgfortranbegin from a premade makefile
问题描述
尝试编译某些研究人员开发的程序时遇到了麻烦,这些程序应该以非常精确的方式进行傅立叶变换和其他有用的操作 经过一些研究,看来libfortranbegin是遗留代码并且不再可用(来源:此处)还是应该做一些更新或使用另一个库? 感谢您的时间和考虑:) 解决此问题的常用方法如下: 请注意,它最终仍可能无法正常工作,但希望您将能够使用缺少的符号. I got some trouble trying to compile a programm developed by some researcher supposed to compute in a very precise way fourier transform and some other useful operation scientific paper here, whereas all the files needed and the makefile are provided. I use gcc and a version of ubuntu available on windows10 (18.04), so, I linked all the librabries needed by the program and called in the pre-made makefile (fftw, lapack, gfortran..) everything is ok untill here, but once I tried to compile I got the error message: After a few research it appears that libfortranbegin is a legacy code and no more available(source: here ) .. So my question is: is it possible for me to compile my program without this legacy library (somme people say that we could get rid off this library, but I didn't understand what they do .. here)
Or should I do some update or use another library ? Thank you for your time and consideration :) The usual way of solving this is the following one: Be aware that it may still not work in the end, but hopefully you will be able to have the missing symbols. 这篇关于链接到旧版库:-预制预制文件中的-lgfortranbegin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! -lgfortranbegin
/usr/bin/ld: cannot find -lgfortranbegin
collect2: error: ld returned 1 exit status
Makefile:38: recipe for target 'furian_main' failed
make: *** [furian_main] Error 1
-lgfortranbegin