运行 在 crosstool-ng 上创建时找不到标记命令

Tag command not found when running make on crosstool-ng

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

/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'

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