在我的ubuntu系统上,运行make on crosstool ng会抛出这个错误。我试着看看是否能找到一个带有标签命令的包裹,但我不认为它存在。

/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

09-30 21:19