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. arm-linux-gnueabihf-g++: Command not found
Forum Updated to NodeBB v4.3 + New Features

arm-linux-gnueabihf-g++: Command not found

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 2.3k 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.
  • S Offline
    S Offline
    Sekhar
    wrote on last edited by
    #1

    I was followed these are steps

    I used:

    1. wget http://download.qt.io/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz

    2. tar -xzf qt-everywhere-opensource-src-4.8.6.tar.gz
      Rename the folder to something more convenient:

    3. mv qt-everywhere-opensource-src-4.8.7 qt-4.8.7-beagle

    4. Go to the folder:
      cd qt-4.8.7-beagle

    5. Copy the folder:

    cp -r mkspecs/linux-arm-gnueabi-g++/ mkspecs/linux-arm-gnueabihf-g++/

    1. Edit the qmake.conf file:

    nano mkspecs/linux-arm-gnueabihf-g++/qmake.conf

    Change all references of “arm-linux-gnueabi” to “arm-linux-gnueabihf” (add the “hf”)
    For instance, arm-linux-gnueabi-gcc becomes arm-linux-gnueabihf-gcc.
    Save the file and exit.

    1. In the root of the new qt directory, create a config script file:

    nano config

    1. Add the line:

    ./configure -v -opensource -confirm-license -xplatform linux-arm-gnueabihf-g++ -embedded arm -little-endian -host-little-endian -prefix /usr/local/qt4.8.6-armhf
    Save and exit.

    1. Make it executable:

    chmod 700 config

    1. Configure, build, and install:

    ./config
    make
    sudo make install

    I was got this is an error :

    make[1]: arm-linux-gnueabihf-g++: Command not found
    make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 127
    make[1]: Leaving directory `/home/essen-s1/qt-4.8.7-beagle/src/corelib'
    make: *** [sub-corelib-make_default-ordered] Error 2

    Pablo J. RoginaP 1 Reply Last reply
    0
    • S Sekhar

      I was followed these are steps

      I used:

      1. wget http://download.qt.io/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz

      2. tar -xzf qt-everywhere-opensource-src-4.8.6.tar.gz
        Rename the folder to something more convenient:

      3. mv qt-everywhere-opensource-src-4.8.7 qt-4.8.7-beagle

      4. Go to the folder:
        cd qt-4.8.7-beagle

      5. Copy the folder:

      cp -r mkspecs/linux-arm-gnueabi-g++/ mkspecs/linux-arm-gnueabihf-g++/

      1. Edit the qmake.conf file:

      nano mkspecs/linux-arm-gnueabihf-g++/qmake.conf

      Change all references of “arm-linux-gnueabi” to “arm-linux-gnueabihf” (add the “hf”)
      For instance, arm-linux-gnueabi-gcc becomes arm-linux-gnueabihf-gcc.
      Save the file and exit.

      1. In the root of the new qt directory, create a config script file:

      nano config

      1. Add the line:

      ./configure -v -opensource -confirm-license -xplatform linux-arm-gnueabihf-g++ -embedded arm -little-endian -host-little-endian -prefix /usr/local/qt4.8.6-armhf
      Save and exit.

      1. Make it executable:

      chmod 700 config

      1. Configure, build, and install:

      ./config
      make
      sudo make install

      I was got this is an error :

      make[1]: arm-linux-gnueabihf-g++: Command not found
      make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 127
      make[1]: Leaving directory `/home/essen-s1/qt-4.8.7-beagle/src/corelib'
      make: *** [sub-corelib-make_default-ordered] Error 2

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @sekhar said in arm-linux-gnueabihf-g++: Command not found:

      make[1]: arm-linux-gnueabihf-g++: Command not found

      it looks like you're missing the toolchain (i.e. cross-compiler) installed in your host machine

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      3
      • S Offline
        S Offline
        Sekhar
        wrote on last edited by
        #3

        I installed " gcc-arm-linux-gnueabihf " toolchain.
        but it does't work.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • S Sekhar

          I installed " gcc-arm-linux-gnueabihf " toolchain.
          but it does't work.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @sekhar said in arm-linux-gnueabihf-g++: Command not found:

          but it does't work.

          It doesn't look like a good troubleshooting report...
          What does not work? didn't it brew coffee for instance?
          Please provide any error output if you mind.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          2

          • Login

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