Arch

时间:2018-04-23 06:45:50

标签: bash makefile automake binutils

我试图在Arch上安装FLINT / C lib,用于在C中学习现代密码学。我的所有依赖项本身都已实现,唯一要做的就是运行make && make install并且ld正在生成错误:

make[1]: Entering directory '/home/venine/Downloads/flint-2.4.5'
make[2]: Entering directory '/home/venine/Downloads/flint-2.4.5/ulong_extras'
CC   ../build/ulong_extras/../ulong_extras.lo
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status     
make[2]: *** [../Makefile.subdirs:55: 
../build/ulong_extras/../ulong_extras.lo] Error 1
make[2]: Leaving directory '/home/venine/Downloads/flint- 2.4.5/ulong_extras'
make[1]: *** [Makefile:135: libflint.so] Error 2
make[1]: Leaving directory '/home/venine/Downloads/flint-2.4.5'
make: *** [Makefile:161: library] Error 2`

有人可以告诉我出了什么问题以及如何创建正确的make文件

1 个答案:

答案 0 :(得分:0)

这似乎是FLINT 2 Issue#400。该错误还描述了makefile中的更改。