imx-test .... bitbake build error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx-test .... bitbake build error

1,966 Views
fabio_poiatti
Contributor III

I created a core-image-base with poky distro for imx6ullevk machine and fsl-community-bsp-platform thud branch

without any problem.

I tried to add the imx-test feature with

IMAGE_INSTALL_append+="imx-test"

and with bitbake again I found the following error .... any suggestions?

Thanks

bitbake core-image-base

Parsing recipes: 100% |#############################################################################################| Time: 0:05:14
Parsing of 1704 .bb files complete (0 cached, 1704 parsed). 2368 targets, 221 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ullevk"
DISTRO = "poky"
DISTRO_VERSION = "2.6.2"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:faeb366bc3eb322f5f203cfe08dc4cf529a822e9"
meta-oe
meta-multimedia = "HEAD:4cd3a39f22a2712bfa8fc657d09fe2c7765a4005"
meta-freescale = "HEAD:f5c932229c31b612cba38c2ed6f3c3ec6b800e92"
meta-freescale-3rdparty = "HEAD:98cbd732cf3103fa61e9de4300c686eaef4461b2"
meta-freescale-distro = "HEAD:4a244af3993ae662624c6f615464e6806cc719a2"

Initialising tasks: 100% |##########################################################################################| Time: 0:00:07
Sstate summary: Wanted 23 Found 0 Missed 23 Current 1295 (0% match, 98% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: imx-lib-1_5.8+AUTOINC+3f777974c0-r0 do_compile: oe_runmake failed
ERROR: imx-lib-1_5.8+AUTOINC+3f777974c0-r0 do_compile: Function failed: do_compile (log file is located at /home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.25108)
ERROR: Logfile of failure stored in: /home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.25108
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- PLATFORM= INCLUDE=-I/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot/usr/include/imx all
| make -C pxp all
| make[1]: Entering directory '/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/git/pxp'
| arm-poky-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot -D -I/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot/usr/include/imx -Wall -fPIC -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0=/usr/src/debug/imx-lib/1_5.8+AUTOINC+3f777974c0-r0 -fdebug-prefix-map=/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot= -fdebug-prefix-map=/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot-native= -c pxp_lib.c -o pxp_lib.o
| <command-line>: error: macro names must be identifiers
| In file included from pxp_lib.c:26:
| pxp_lib.h:19:10: fatal error: linux/pxp_device.h: No such file or directory
| #include <linux/pxp_device.h>
| ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:30: recipe for target 'pxp_lib.o' failed
| make[1]: *** [pxp_lib.o] Error 1
| make[1]: Leaving directory '/home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/git/pxp'
| ERROR: oe_runmake failed
| Makefile:17: recipe for target 'pxp' failed
| make: *** [pxp] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/geoguard/fsl-community-bsp/buildpoky/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.25108)
ERROR: Task (/home/geoguard/fsl-community-bsp/sources/meta-freescale/recipes-bsp/imx-lib/imx-lib_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2263 tasks of which 2262 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/geoguard/fsl-community-bsp/sources/meta-freescale/recipes-bsp/imx-lib/imx-lib_git.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 Kudos
Reply
4 Replies

1,675 Views
joanxie
NXP TechSupport
NXP TechSupport

fsl-community-bsp-platform isn't official bsp released version, pls try to use the nxp official bsp , then try to use the command as below:

1. MACHINE=<board name>  source fsl-setup-release.sh -b <build dir>

2. Add IMAGE_iNSTALL_append = "imx-test" in the local.conf

3. bitbake core-image-base

0 Kudos
Reply

1,675 Views
fabio_poiatti
Contributor III

I reached the result with this repo

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml

builded with imx6ull14x14evk machine and fsl-x11 distro

0 Kudos
Reply

1,675 Views
joanxie
NXP TechSupport
NXP TechSupport

ok, so do you build succesfully?

0 Kudos
Reply

1,675 Views
fabio_poiatti
Contributor III

yes with that repository 

0 Kudos
Reply