Bin Utils没有编译

时间:2014-10-24 20:01:21

标签: gcc makefile

我正在尝试使用gcc(GCC)4.9.1 20140903编译binutils-2.18,但它没有编译并显示以下错误。

config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating bfd-in3.h
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[2]: Entering directory '/mnt/lfs/sources/binutils-build/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
make[2]: execvp: touch: Too many levels of symbolic links
Makefile:402: recipe for target 'stamp-picdir' failed
make[2]: *** [stamp-picdir] Error 127
make[2]: Leaving directory '/mnt/lfs/sources/binutils-build/libiberty'
Makefile:8263: recipe for target 'all-libiberty' failed
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/binutils-build'
Makefile:676: recipe for target 'all' failed
make: *** [all] Error 2

请帮助我。提前谢谢。

1 个答案:

答案 0 :(得分:0)

也许这个答案有点晚了,但是当我尝试使用gcc 4.9.2构建binutils 2.9并且我的解决方案是另一个版本的binutils时,我遇到了同样的问题。

binutils-2.24与gcc 4.9.2一起正常工作