Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. gnu/stubs-32.h: No such file or directory
Forum Updated to NodeBB v4.3 + New Features

gnu/stubs-32.h: No such file or directory

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ABest2
    wrote on last edited by
    #1

    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/include

    I 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 directory

    I 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.

    A 1 Reply Last reply
    0
    • A ABest2

      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/include

      I 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 directory

      I 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.

      A Offline
      A Offline
      ABest2
      wrote on last edited by
      #2

      @ABest2

      I discovered I had incorrectly used the path to the x86 headers instead of the aarch64 headers. I had mistakenly assumed that you use the path to the x86 folders because the compiler path was to the x86 folders. Now it compiles without errors.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved