bitbake -c menuconfig linux-imx编译问题

cancel
Showing results for 
Search instead for 
Did you mean: 

bitbake -c menuconfig linux-imx编译问题

5,790 Views
xinjianlu
Contributor II

imx6ulevk的 bitbake -c menuconfig linux-imx出现如下问题

  

ERROR: Unable to spawn terminal auto: Execution of '/home/xinjian/fsl-release-bsp/core-image-minimal/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/temp/run.do_terminal.3225' failed with exit code 1:
No protocol specified
No protocol specified
Failed to parse arguments: Cannot open display:

ERROR: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/xinjian/fsl-release-bsp/core-image-minimal/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/temp/log.do_menuconfig.3225
ERROR: Task 5 (/home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_menuconfig) failed with exit code '1'

请问这是回事,是不是哪里漏安装相应的软件

(备注:在ubuntu12.04下测试,bitbake core-image-minimal 可以编译过)

Labels (2)
4 Replies

2,113 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello

   the following may help.

gnome terminal - Yocto: Bitbake does not start menuconfig - Unix & Linux Stack Exchange 

Beginner - building the Kernel 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!

0 Kudos

2,114 Views
xinjianlu
Contributor II

xinjian@ubuntu:~/fsl-release-bsp/build_qt5$ bitbake -c compile -f linux-imx
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2826 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:00:01
Parsing of 2259 .bb files complete (2242 cached, 17 parsed). 2825 targets, 183 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.1.15-1.2.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "HEAD:dd0ba9ea4a11ab15348d4fe3574e4b28784db82f"
meta-oe
meta-multimedia = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-fsl-arm = "HEAD:35b8b9bd9863de208ab60e33b55f10ee43e2619b"
meta-fsl-arm-extra = "HEAD:e200df91b70da254461c59082ddd5db0a3c415a2"
meta-fsl-demos = "HEAD:2231e946e7a94d096394f2b2477e8184c9bbde7b"
meta-bsp
meta-sdk = "HEAD:dfbc90ee74624ce3be636c8bd2a47114fa2b71aa"
meta-browser = "HEAD:b6d46d69a261fe6bd7c1e9811dc2a9bbd0b79aeb"
meta-gnome
meta-networking
meta-python
meta-ruby
meta-filesystems
meta-xfce = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-qt5 = "HEAD:d5536e34ec985c82b621448ab4325e5cbba38560"

NOTE: Preparing RunQueue
NOTE: Tainting hash to force rebuild of task /home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_compile
WARNING: /home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 259 tasks of which 258 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.
xinjian@ubuntu:~/fsl-release-bsp/build_qt5$ bitbake -c deploy -f linux-imx
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2826 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.1.15-1.2.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "HEAD:dd0ba9ea4a11ab15348d4fe3574e4b28784db82f"
meta-oe
meta-multimedia = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-fsl-arm = "HEAD:35b8b9bd9863de208ab60e33b55f10ee43e2619b"
meta-fsl-arm-extra = "HEAD:e200df91b70da254461c59082ddd5db0a3c415a2"
meta-fsl-demos = "HEAD:2231e946e7a94d096394f2b2477e8184c9bbde7b"
meta-bsp
meta-sdk = "HEAD:dfbc90ee74624ce3be636c8bd2a47114fa2b71aa"
meta-browser = "HEAD:b6d46d69a261fe6bd7c1e9811dc2a9bbd0b79aeb"
meta-gnome
meta-networking
meta-python
meta-ruby
meta-filesystems
meta-xfce = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-qt5 = "HEAD:d5536e34ec985c82b621448ab4325e5cbba38560"

NOTE: Preparing RunQueue
NOTE: Tainting hash to force rebuild of task /home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_deploy
WARNING: /home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb.do_compile is tainted from a forced run
WARNING: /home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb.do_deploy is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 268 tasks of which 259 didn't need to be rerun and all succeeded.

Summary: There were 2 WARNING messages shown.
xinjian@ubuntu:~/fsl-release-bsp/build_qt5$ bitbake linux-imx -c menuconfig
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2826 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.1.15-1.2.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "HEAD:dd0ba9ea4a11ab15348d4fe3574e4b28784db82f"
meta-oe
meta-multimedia = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-fsl-arm = "HEAD:35b8b9bd9863de208ab60e33b55f10ee43e2619b"
meta-fsl-arm-extra = "HEAD:e200df91b70da254461c59082ddd5db0a3c415a2"
meta-fsl-demos = "HEAD:2231e946e7a94d096394f2b2477e8184c9bbde7b"
meta-bsp
meta-sdk = "HEAD:dfbc90ee74624ce3be636c8bd2a47114fa2b71aa"
meta-browser = "HEAD:b6d46d69a261fe6bd7c1e9811dc2a9bbd0b79aeb"
meta-gnome
meta-networking
meta-python
meta-ruby
meta-filesystems
meta-xfce = "HEAD:ad6133a2e95f4b83b6b3ea413598e2cd5fb3fd90"
meta-qt5 = "HEAD:d5536e34ec985c82b621448ab4325e5cbba38560"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Unable to spawn terminal auto: Execution of '/home/xinjian/fsl-release-bsp/build_qt5/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/temp/run.do_terminal.13256' failed with exit code 1:
No protocol specified
No protocol specified
Failed to parse arguments: Cannot open display:

ERROR: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/xinjian/fsl-release-bsp/build_qt5/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/temp/log.do_menuconfig.13256
ERROR: Task 5 (/home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_menuconfig) failed with exit code '1'
NOTE: Tasks Summary: Attempted 259 tasks of which 258 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/xinjian/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.1.15.bb, do_menuconfig
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

用下面编译后还是出现上面情况。
bitbake -c compile -f linux-imx
bitbake -c deploy -f linux-imx

0 Kudos

2,114 Views
1304662033
Contributor II

我遇到跟你一样的问题了,请问下你是怎么解决的

0 Kudos

2,114 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

  Please try to install ncurses package.

https://community.nxp.com/message/875073  

Regards,

Yuri.