RPi2 compilation build error on liqQtnetwork .. any direction would help

  • how do i resolve the below error i get when compiling cross compiling for my raspberry pi 2.

    ln -s libQt5Network.so.5.9.2 libQt5Network.so
    ln -s libQt5Network.so.5.9.2 libQt5Network.so.5
    ln -s libQt5Network.so.5.9.2 libQt5Network.so.5.9
    rm -f ../../lib/libQt5Network.so.5.9.2
    mv -f libQt5Network.so.5.9.2  ../../lib/ 
    rm -f ../../lib/libQt5Network.so
    rm -f ../../lib/libQt5Network.so.5
    rm -f ../../lib/libQt5Network.so.5.9
    mv -f libQt5Network.so ../../lib/ 
    mv -f libQt5Network.so.5 ../../lib/ 
    mv -f libQt5Network.so.5.9 ../../lib/ 
    make[2]: Leaving directory '/home/mugambi/opt/qt5/qtbase/src/network'
    make[1]: Leaving directory '/home/mugambi/opt/qt5/qtbase/src'
    make: *** [Makefile:49: sub-src-make_first] Error 2

    I use the following config command

    ./configure -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi -hostprefix /usr/local/qt5pi

    the config and make outputs can be found here
    config and make output

    any direction would help

  • Qt Champions 2018

    @mugz You did not post actual error and in the link you posted I cannot see any errors.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.