According to the build log, the compiler command to build pxp_test.c is:
arm-poky-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=/data/projects/imx8gp/paugeu/repos/work/bld-imx6ull-bb-xwayland/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-test/1_7.0+AUTOINC+c856132f0f-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -I/data/projects/imx8gp/paugeu/repos/work/bld-imx6ull-bb-xwayland/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-test/1_7.0+AUTOINC+c856132f0f-r0/git/include -I/data/projects/imx8gp/paugeu/repos/work/bld-imx6ull-bb-xwayland/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-test/1_7.0+AUTOINC+c856132f0f-r0/recipe-sysroot/usr/include/imx -I/data/projects/imx8gp/paugeu/repos/work/bld-imx6ull-bb-xwayland/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-test/1_7.0+AUTOINC+c856132f0f-r0/recipe-sysroot/usr/include -L/data/projects/imx8gp/paugeu/repos/work/bld-imx6ull-bb-xwayland/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-test/1_7.0+AUTOINC+c856132f0f-r0/recipe-sysroot/usr/lib -c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g -I/data/projects/imx8gp/paugeu/repos/work/bld-imx6ull-bb-xwayland/tmp/work/cortexa7t2hf-neon-mx6ul-poky-linux-gnueabi/imx-test/1_7.0+AUTOINC+c856132f0f-r0/recipe-sysroot/usr/include/imx pxp_lib_test/pxp_test.c -o pxp_lib_test/pxp_test.o
This compilation step gives the error:
| pxp_lib_test/pxp_test.c:34:10: fatal error: pxp_lib.h: No such file or directory
| 34 | #include "pxp_lib.h"
| | ^~~~~~~~~~~
A quick search tells me the header required is in a subdirectory of imx-lib, which is not available a an include directory in the compiler command (hence the compiler error). But i have no idea how to add it.