QT5.5 on Raspberry Pi
-
Hello,
I am trying to use the beginners tut http://qt-project.org/wiki/RaspberryPi_Beginners_guide
Somehow I ended up compiling 5.5.0 ...
Anyway, not the problem here as I can run any 5.4 application too then right?The problem:
- qlibrary_unix.cpp:(.text+0x1330): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlopen.o): In functiondlopen': (.text+0xc): undefined reference to
__dlopen'
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlclose.o): In functiondlclose': (.text+0x0): undefined reference to
__dlclose'
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlsym.o): In functiondlsym': (.text+0xc): undefined reference to
__dlsym'
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libdl.a(dlerror.o): In functiondlerror': (.text+0x0): undefined reference to
__dlerror'
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(feholdexcpt.o): In functionfeholdexcept': (.text+0x48): undefined reference to
_dl_hwcap'
/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/libm.a(fesetenv.o): In functionfesetenv': (.text+0x64): undefined reference to
_dl_hwcap'
collect2: error: ld returned 1 exit status
Makefile:1207: recipe for target '../../lib/libQt5Core.so.5.5.0' failed
make[2]: *** [../../lib/libQt5Core.so.5.5.0] Error 1
make[2]: Leaving directory '/home/tueco/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/tueco/opt/qt5/qtbase/src'
Makefile:45: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
Anyone a clue?
- qlibrary_unix.cpp:(.text+0x1330): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
-
-
@sneubert
Thanks! However, when I execute it I get this:- tueco@ubuntu:~/opt/cross-compile-tools$ sudo ./fixQualifiedLibraryPaths
usage ./cmd target-rootfs path-to-target-toolchain-compiler
I'm not really sure what to do with it now..
nvm figured it out.. it's even in the tutorial.. totally looked over it!
Thanks!! - tueco@ubuntu:~/opt/cross-compile-tools$ sudo ./fixQualifiedLibraryPaths