AnsweredAssumed Answered

FSL Community BSP: error during image genration

Question asked by fabio mario poiatti on Apr 1, 2019
Latest reply on Apr 3, 2019 by fabio mario poiatti

I tried to generate a BSP image from the instruction found here:

 

GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest 

 

but I have some problem .... any suggestions?

thanks

 

 

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-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:aa710b8af81ca103903d8b66c227589510e2416f"
meta-freescale-3rdparty = "HEAD:98cbd732cf3103fa61e9de4300c686eaef4461b2"
meta-freescale-distro = "HEAD:ef7e7ec8141c5099ba87c766108f698b9cc2e9a0"

Initialising tasks: 100% |##################################################################| Time: 0:00:03
Sstate summary: Wanted 414 Found 0 Missed 414 Current 754 (0% match, 64% 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/fabio/fsl-community-bsp/build/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.14454)
ERROR: Logfile of failure stored in: /home/fabio/fsl-community-bsp/build/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.14454
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- PLATFORM= INCLUDE=-I/home/fabio/fsl-community-bsp/build/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/fabio/fsl-community-bsp/build/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/fabio/fsl-community-bsp/build/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot -D -I/home/fabio/fsl-community-bsp/build/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/fabio/fsl-community-bsp/build/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/fabio/fsl-community-bsp/build/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot= -fdebug-prefix-map=/home/fabio/fsl-community-bsp/build/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/fabio/fsl-community-bsp/build/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/git/pxp'
| Makefile:17: recipe for target 'pxp' failed
| make: *** [pxp] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/fabio/fsl-community-bsp/build/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.14454)
ERROR: Task (/home/fabio/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 1995 tasks of which 1987 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/fabio/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.

Outcomes