gnu/stubs-32.h: No such file or directory
-
I am struggling with an issue with cross-compiling for an i.MX8 chip running a Yocto-built Linux distribution. It all works fine until I add the following line to the .pro file:
INCLUDEPATH += $$PWD/../../../../opt/fsl-imx-wayland-lite/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/includeI need this addition to access header files in the SDK. When I add it, I get an error message as follows:
gnu/stubs-32.h: No such file or directoryI then build Yocto with multilib enabled and get a new set of errors:
‘__float128’ does not name a type; did you mean ‘__cfloat128’
‘_Float128’ does not name a type; did you mean ‘_Float32x’
‘_Float128’ has not been declared
cast from ‘void*’ to ‘uintptr_t’ {aka ‘unsigned int’} loses precision [-fpermissive]I have read you can set Qt to disable multilib so that 32 bit libraries are not required but I am not aware of how to do this.
Any suggestions will be appreciated. -
I am struggling with an issue with cross-compiling for an i.MX8 chip running a Yocto-built Linux distribution. It all works fine until I add the following line to the .pro file:
INCLUDEPATH += $$PWD/../../../../opt/fsl-imx-wayland-lite/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/includeI need this addition to access header files in the SDK. When I add it, I get an error message as follows:
gnu/stubs-32.h: No such file or directoryI then build Yocto with multilib enabled and get a new set of errors:
‘__float128’ does not name a type; did you mean ‘__cfloat128’
‘_Float128’ does not name a type; did you mean ‘_Float32x’
‘_Float128’ has not been declared
cast from ‘void*’ to ‘uintptr_t’ {aka ‘unsigned int’} loses precision [-fpermissive]I have read you can set Qt to disable multilib so that 32 bit libraries are not required but I am not aware of how to do this.
Any suggestions will be appreciated.