下载完GNU Binutils 2.25软件包后
我按照有关“安装Binutils”的说明进行操作:
./cnofigure
制作
构建后发生错误:
../../binutils-gdb/binutils/nm.c:1733:28: error: 'sbrk' is deprecated [-Werror,-Wdeprecated-declarations]
char *lim = (char *) sbrk (0);
/usr/include/unistd.h:582:7: note: 'sbrk' has been explicitly marked deprecated here
void *sbrk(int);
1 error generated.
make[4]: *** [nm.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make: *** [all] Error 2
我在网上做了一些研究,他们说使用此命令
./configure --prefix = / usr --disable-werror
我得到
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
make[8]: Nothing to be done for 'all-am'.
make[1]: Nothing to be done for 'all-target'.
(这意味着“对所有上午和所有目标一无所获”)
我不知道该怎么办了。是一个错误还是我做错了什么?
请帮忙。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句