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. Qt Creator: /root/work2/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabi-g++: Permission denied
Forum Updated to NodeBB v4.3 + New Features

Qt Creator: /root/work2/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabi-g++: Permission denied

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 1 Posters 1.3k Views
  • 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.
  • J Offline
    J Offline
    Jeff Barnes
    wrote on last edited by
    #1

    Qt Creator 3.5.1

    Build & Run / Compilers
    Name: Rail GCC
    Compiler path: /home/jbarnes/rail/rail-buildtools32/CodeSourcery/Sourcery_G++_Lite/bin/arm-linux-g++

    Build & Run / Qt Versions
    Version name: RailQmake
    qmake location: /home/jbarnes/rail/rail/linux/host/usr/bin/qmake
    Qt version 4.8.6 for Embedded Linux
    Helpers: None available

    Build & Run / Kits
    Name: RailGcc
    File system name:
    Device type: Generic Linux Device
    Device: RAIL device (I tested connection, works)
    Sysroot: /mnt/device-disk (An ext2 filesystem image I built for the device)
    Compiler: Rail GCC
    Environment: No changes to apply
    Debugger: System GDB at /usr/bin/gdb (Not planning to use this)
    Qt version: RailQmake
    Qt mkspec:
    CMake Tool:

    I did a clean, qmake and build from Qt Creator. The build fails with the following.

    12:32:58: Running steps for project athena...
    12:32:58: Configuration unchanged, skipping qmake step.
    12:32:58: Starting: "/usr/bin/make"
    Makefile:1503: warning: overriding commands for target install_target' Makefile:1494: warning: ignoring old commands for target install_target'
    Makefile:1507: warning: overriding commands for target uninstall_target' Makefile:1498: warning: ignoring old commands for target uninstall_target'
    make: execvp: /root/work2/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabi-g++: Permission denied
    make: *** [main.o] Error 127
    /root/work2/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabi-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -g -D_REENTRANT -Wall -W -DQSSLSOCKET_DEBUG -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_DECLARATIVE_DEBUG -DQT_SHARED -I../../linux/host/usr/mkspecs/qws/linux-arm-g++ -I../athena -I../../projects/bcm589x/build-output/secuapp/BCM95892/qt-4.8.6/include/QtCore -I../../projects/bcm589x/build-output/secuapp/BCM95892/qt-4.8.6/include/QtNetwork -I../../projects/bcm589x/build-output/secuapp/BCM95892/qt-4.8.6/include/QtGui -I../../projects/bcm589x/build-output/secuapp/BCM95892/qt-4.8.6/include/QtScript -I../../projects/bcm589x/build-output/secuapp/BCM95892/qt-4.8.6/include/QtDeclarative -I../../projects/bcm589x/build-output/secuapp/BCM95892/qt-4.8.6/include -I../athena/qtquick1applicationviewer -I../athena/lib/openssl-1.0.2f/include -I../Drivers -I. -I../athena -I. -o main.o ../athena/main.cpp
    12:32:58: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project athena (kit: RailGcc)
    When executing step "Make"
    12:32:58: Elapsed time: 00:00.

    This builds from the command line using the same toolchain and mkspec.

    I have no idea why qmake generated CXX as /root/work2/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabi-g++. Doesn't correspond to the configured toolchain.

    Any help appreciated.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jeff Barnes
      wrote on last edited by
      #2

      Also, I added the following to my .pro.

      target.path = /nvdata
      INSTALLS += target

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jeff Barnes
        wrote on last edited by Jeff Barnes
        #3

        I solved this by editing my qmake.conf. Pretty obvious what changes were needed. It would be interesting to know why I needed to provide a compiler path, if it is redefined in the qmake.conf.

        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