[Solved] pxp_lib.h:19:10: fatal error: linux/pxp_device.h: No such file or directory


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: Execution of '/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/run.do_compile.612337' failed with exit code 1
ERROR: Logfile of failure stored in: /sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/log.do_compile.612337
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-fsl-linux-gnueabi- PLATFORM= INCLUDE=-I/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot/usr/include/imx all
| make -C pxp all
| make[1]: Entering directory '/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/git/pxp'
| arm-fsl-linux-gnueabi-gcc  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot -D -I/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot/usr/include/imx -Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0=/usr/src/debug/imx-lib/1_5.8+AUTOINC+3f777974c0-r0                      -fdebug-prefix-map=/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0=/usr/src/debug/imx-lib/1_5.8+AUTOINC+3f777974c0-r0                      -fdebug-prefix-map=/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/recipe-sysroot=                      -fdebug-prefix-map=/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-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
|    19 | #include <linux/pxp_device.h>
|       |          ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| make[1]: *** [Makefile:30: pxp_lib.o] Error 1
| make[1]: Leaving directory '/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/git/pxp'
| make: *** [Makefile:17: pxp] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/sd1/jarvis-workspace/build-x11/tmp/work/cortexa7t2hf-neon-mx6ul-fsl-linux-gnueabi/imx-lib/1_5.8+AUTOINC+3f777974c0-r0/temp/run.do_compile.612337' failed with exit code 1

Error resolution:

meta-jarvis/recipes-bsp/imx-lib/imx-lib_git.bbappend



ADD:


PLATFORM_mx6ull = "IMX6UL"

Read More: