Closed jwestman89 closed 1 year ago
Hi @jwestman89 This is most likely because it can't find libdrm. You can fix that by manually specifying the path:
export LDFLAGS="-L/opt/fsl-imx-wayland/5.15-kirkstone/sysroots/armv8a-poky-linux/usr/lib/ -ldrm"
You should have a libdrm.so in that directory
@eichenberger Thank you, Stefan. That was indeed the problem. Just a heads up to any future reader who is trying to cross compile in a yocto project with the same errors - check if $LDFLAGS is already set and is overwriting the LDFLAGS that is defined in the Makefile - in my case this was the issue. I just renamed the LDFLAGS variable in the Makefile and it worked without any issues.
Does this require a specific version of the kernel? I'm trying to XCC but no luck so far.