Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. [solved] cross-compile Qt5 for the Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

[solved] cross-compile Qt5 for the Raspberry Pi

Scheduled Pinned Locked Moved QtonPi
2 Posts 1 Posters 1.6k 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.
  • agiles_chromsA Offline
    agiles_chromsA Offline
    agiles_chroms
    wrote on last edited by agiles_chroms
    #1

    hello,
    I tried to follow RaspberryPi Beginners Guide
    and I get this compiler output
    does anyone know what is wrong?

    ............................ .obj/qelapsedtimer_unix.o: In functionqt_gettime()':
    qelapsedtimer_unix.cpp:(.text+0x34): undefined reference to clock_gettime' .obj/qelapsedtimer_unix.o: In function QElapsedTimer::start()':
    qelapsedtimer_unix.cpp:(.text+0xa0): undefined reference to clock_gettime' .obj/qelapsedtimer_unix.o: In function QElapsedTimer::restart()':
    qelapsedtimer_unix.cpp:(.text+0xe0): undefined reference to clock_gettime' .obj/qelapsedtimer_unix.o: In function QElapsedTimer::nsecsElapsed() const':
    qelapsedtimer_unix.cpp:(.text+0x168): undefined reference to clock_gettime' collect2: error: ld returned 1 exit status Makefile:1289: recipe for target '../../lib/libQt5Core.so.5.5.1' failed make[2]: *** [../../lib/libQt5Core.so.5.5.1] Error 1 make[2]: Leaving directory '/home/mchl/opt/qt5/qtbase/src/corelib' Makefile:170: recipe for target 'sub-corelib-make_first' failed make[1]: *** [sub-corelib-make_first] Error 2 make[1]: Leaving directory '/home/mchl/opt/qt5/qtbase/src' Makefile:45: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 mchl@debianJessie:~/opt/qt5/qtbase$
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    my system VirtualBox OS: Debian 8.2 jessie Kernel: x86_64 Linux 3.16.0-4-amd64
    Thanks in advance for an answer

    1 Reply Last reply
    0
    • agiles_chromsA Offline
      agiles_chromsA Offline
      agiles_chroms
      wrote on last edited by
      #2

      I setup a clean machine

      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