gpt4 book ai didi

linux - 如何解决 Ubuntu Linux 上的 LIBRARY_PATH Cilk 构建错误?

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:18:46 24 4
gpt4 key购买 nike

我正在按照 Build GCC cilkplus | CilkPlus 上的说明进行操作.我尝试 make 并收到此错误:

checking target system type... x86_64-unknown-linux-gnu
checking LIBRARY_PATH variable... contains current directory
configure: error:
*** LIBRARY_PATH shouldn't contain the current directory when
*** building gcc. Please change the environment variable
*** and run configure again.
Makefile:3965: recipe for target 'configure-stage1-gcc' failed
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory '/home/username/b-gcc'
Makefile:21970: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/username/b-gcc'
Makefile:894: recipe for target 'all' failed
make: *** [all] Error 2

最佳答案

我刚刚添加了 GCC 版本 5 及更高版本,并且 Cilk 内置于其中,所以我以这种方式解决了问题。

关于linux - 如何解决 Ubuntu Linux 上的 LIBRARY_PATH Cilk 构建错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46905863/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com