1

出于某种原因,在我的 ubuntu 系统上,在 crosstool-ng 上运行 make 会引发此错误。我尝试查看是否可以找到具有标记命令的包,但我认为不存在。

/usr/bin/make  all-recursive
make[1]: Entering directory '/home/rahul/crosstool-ng'
Making all in kconfig
make[2]: Entering directory '/home/rahul/crosstool-ng/kconfig'
/usr/bin/make  all-am
make[3]: Entering directory '/home/rahul/crosstool-ng/kconfig'
tag CC  --mode=link gcc  -g -O2   -o conf conf.o zconf.o  
/bin/bash: tag: command not found
Makefile:497: recipe for target 'conf' failed
make[3]: [conf] Error 127 (ignored)
tag CC  --mode=link gcc -D_GNU_SOURCE -I/usr/include/ncursesw -g -O2   -o nconf nconf-nconf.o nconf-nconf.gui.o nconf-zconf.o -lmenuw -lpanelw -lncursesw -ltinfo 
/bin/bash: tag: command not found
Makefile:523: recipe for target 'nconf' failed
make[3]: [nconf] Error 127 (ignored)
tag CC  --mode=link gcc  -g -O2   -o mconf mconf.o zconf.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o -lncursesw -ltinfo 
/bin/bash: tag: command not found
Makefile:519: recipe for target 'mconf' failed
make[3]: [mconf] Error 127 (ignored)
make[3]: Leaving directory '/home/rahul/crosstool-ng/kconfig'
make[2]: Leaving directory '/home/rahul/crosstool-ng/kconfig'
make[2]: Entering directory '/home/rahul/crosstool-ng'
make[2]: Leaving directory '/home/rahul/crosstool-ng'
make[1]: Leaving directory '/home/rahul/crosstool-ng'
4

1 回答 1

1

如果您仍在寻找答案,可以在这里找到:https ://github.com/crosstool-ng/crosstool-ng/issues/944#issuecomment-381447332 您只需要运行apt install libtool-bin.

于 2018-10-30T14:25:36.050 回答