I'm experiencing compilation errors when building imx-image-desktop using the meta-nxp-desktop layer. The build consistently fails when compiling pseudo-native with the following error:
ports/unix/guts/unlinkat.c: In function 'wrap_unlinkat':
pseudo_client.h:14:65: error: '_STAT_VER' undeclared (first use in this function)
14 | #define base_fstatat(dirfd, path, buf, flags) real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
| ^~~~~~~~~
Additionally, there are multiple functions in ports/linux/pseudo_wrappers.c that lack return statements:
ports/linux/pseudo_wrappers.c: In function 'pseudo_stat':
ports/linux/pseudo_wrappers.c:12:1: warning: control reaches end of non-void function [-Wreturn-type]
12 | }
| ^
These errors appear to be related to libc compatibility issues. The pseudo recipe in meta-nxp-desktop currently has COMPATIBLE_HOST:libc-musl = 'null' which suggests it's not compatible with musl libc, but the errors occur even on a glibc system.
I've tried several approaches:
None of these approaches have resolved the issue completely.
Has anyone encountered similar issues with the meta-nxp-desktop layer? Is there a known workaround or fix for this pseudo compilation error?
System information:
Solved! Go to Solution.
The support for imx-image-desktop was stopped, instead of that, please use Debian and have a reference to NXPDEBIAN
Regards
Harvey
The support for imx-image-desktop was stopped, instead of that, please use Debian and have a reference to NXPDEBIAN
Regards
Harvey