环境:ubuntu16.04
在LX2160ARDB的sdk中执行如下命令bitbake -c menuconfig virtual/kernel时,出现如下错误:
ERROR: linux-qoriq-4.9-r0 do_menuconfig: No valid terminal found, unable to open devshell.
Tried the following commands:
tmux split-window "do_terminal"
tmux new-window -n "linux-qoriq Configuration" "do_terminal"
xfce4-terminal -T "linux-qoriq Configuration" -e "do_terminal"
terminology -T="linux-qoriq Configuration" -e do_terminal
mate-terminal --disable-factory -t "linux-qoriq Configuration" -x do_terminal
konsole --separate --workdir . -p tabtitle="linux-qoriq Configuration" -e do_terminal
gnome-terminal -t "linux-qoriq Configuration" -x do_terminal
xterm -T "linux-qoriq Configuration" -e do_terminal
rxvt -T "linux-qoriq Configuration" -e do_terminal
tmux new -d -s devshell -n devshell "do_terminal"
screen -D -m -t "linux-qoriq Configuration" -S devshell do_terminal
ERROR: linux-qoriq-4.9-r0 do_menuconfig: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/ubuntu/yocto-sdk-lx2160/build_lx2160ardb/tmp/work/lx2160ardb-fsl-linux/linux-qoriq/4.9-r0/temp/log.do_menuconfig.2460
ERROR: Task (/home/ubuntu/yocto-sdk-lx2160/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.9.bb:do_menuconfig) failed with exit code '1'
NOTE: Tasks Summary: Attempted 382 tasks of which 381 didn't need to be rerun and 1 failed
解决方法:
sudo apt-get install tmux