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. Configuration of OpenGL with Qt5.7.1 for BeagleBone
Forum Updated to NodeBB v4.3 + New Features

Configuration of OpenGL with Qt5.7.1 for BeagleBone

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 1.3k Views 2 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
    saurabh162
    wrote on last edited by
    #1

    Dear developers,

    I am trying to cross compile Qt5.7.1 for Beaglebone board with OpenGL module.

    In order configure "qt-everywhere-opensource-src-5.7.1" source code I gave following configure option.

    sudo ./configure -opensource -confirm-license -no-pch -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples -opengl  -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker
    

    And got following error, which shows that OpenGL module cannot be configured. Can you please inform me how can I solve this configuration error related to OpenGL library.

    + cd qtbase
    + /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/configure -top-level -opensource -confirm-license -no-pch -prefix /opt/Qt5_7_1/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples -opengl es2 -device-option CROSS_COMPILE=/opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker
    
    This is the Qt Open Source Edition.
    
    You are licensed to use this software under the terms of
    the GNU Lesser General Public License (LGPL) versions 3.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 2.
    
    You have already accepted the terms of the Open Source license.
    
    DEFAULT_INCDIRS="/opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/arm-linux-gnueabihf
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/backward
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include-fixed
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/usr/include
    "
    DEFAULT_LIBDIRS="/opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/usr/lib
    "
    Creating qmake...
    make: Nothing to be done for 'first'.
    Running configuration tests...
    Found pkg-config from $PATH: /usr/bin/pkg-config
    Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set and
    the host's .pc files would be used (even if you set PKG_CONFIG_PATH).
    Set this variable to the directory that contains target .pc files
    for pkg-config to function correctly when cross-compiling or
    use -pkg-config to override this test.
    Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
    Set this variable to your sysroot for pkg-config to function correctly when
    cross-compiling or use -pkg-config to override this test.
    Determining architecture... ()
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -g -Wall -W -fPIC  -I. -I../../mkspecs/devices/linux-bbbhf-g++ -o arch.o arch.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o arch arch.o   -lrt -lpthread -ldl 
        Found architecture in binary
    CFG_ARCH="arm"
    CFG_CPUFEATURES=" neon"
    Determining architecture... ()
    g++ -c -pipe -g -Wall -W -fPIC  -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp
    g++  -o arch arch.o    
        Found architecture in binary
    CFG_HOST_ARCH="x86_64"
    CFG_HOST_CPUFEATURES=" mmx sse sse2"
    System architecture: 'arm'
    Host architecture: 'x86_64'
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
    Symbol visibility control enabled.
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
    bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
     #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
      ^~~~~
    Symbolic function binding disabled.
    checking for C++14... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++1y -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++14.o c++14.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++14 c++14.o   -lrt -lpthread -ldl 
    C++14 enabled.
    checking for C++1z... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++1z -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++1z.o c++1z.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++1z c++1z.o   -lrt -lpthread -ldl 
    C++1z enabled.
    checking for default C++ standard edition... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++default.ii -E c++default.cpp
    default C++ standard edition enabled.
    checking for 64-bit std::atomic... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl 
    64-bit std::atomic enabled.
    checking for std::atomic for function pointers... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomicfptr.o atomicfptr.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomicfptr atomicfptr.o   -lrt -lpthread -ldl 
    std::atomic for function pointers enabled.
    checking for sse2... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -msse2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o sse2.o sse2.cpp
    arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse2’
    Makefile:195: recipe for target 'sse2.o' failed
    make: *** [sse2.o] Error 1
    sse2 disabled.
    checking for ipc_sysv... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o ipc.o ipc.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o ipc_sysv ipc.o   -lrt -lpthread -ldl 
    ipc_sysv enabled.
    checking for mtdev... 
    Project WARNING: pkg-config disabled, can't check package existence
    Project ERROR: mtdev development package not found
    mtdev disabled.
    checking for libjpeg... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o libjpeg.o libjpeg.cpp
    libjpeg.cpp:43:21: fatal error: jpeglib.h: No such file or directory
     #include <jpeglib.h>
                         ^
    compilation terminated.
    Makefile:195: recipe for target 'libjpeg.o' failed
    make: *** [libjpeg.o] Error 1
    libjpeg disabled.
    checking for libpng... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o libpng.o libpng.cpp
    libpng.cpp:40:17: fatal error: png.h: No such file or directory
     #include <png.h>
                     ^
    compilation terminated.
    Makefile:195: recipe for target 'libpng.o' failed
    make: *** [libpng.o] Error 1
    libpng disabled.
    checking for dlopen... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o dlopen.o dlopen.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o dlopen dlopen.o   -lrt -lpthread -ldl 
    dlopen enabled.
    checking for DB2... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o db2.o db2.cpp
    db2.cpp:40:20: fatal error: sqlcli.h: No such file or directory
     #include <sqlcli.h>
                        ^
    compilation terminated.
    Makefile:195: recipe for target 'db2.o' failed
    make: *** [db2.o] Error 1
    DB2 disabled.
    checking for InterBase... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o ibase.o ibase.cpp
    ibase.cpp:40:19: fatal error: ibase.h: No such file or directory
     #include <ibase.h>
                       ^
    compilation terminated.
    Makefile:195: recipe for target 'ibase.o' failed
    make: *** [ibase.o] Error 1
    InterBase disabled.
    checking for MySQL (thread-safe)... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I/usr/include/mysql -I../../../mkspecs/devices/linux-bbbhf-g++ -o mysql.o ../mysql/mysql.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o mysql_r mysql.o   -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl -lmysqlclient_r 
    /usr/lib/x86_64-linux-gnu/libmysqlclient.so: file not recognized: File format not recognized
    collect2: error: ld returned 1 exit status
    Makefile:91: recipe for target 'mysql_r' failed
    make: *** [mysql_r] Error 1
    MySQL (thread-safe) disabled.
    checking for MySQL (thread-unsafe)... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I/usr/include/mysql -I../../../mkspecs/devices/linux-bbbhf-g++ -o mysql.o mysql.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o mysql mysql.o   -L/usr/lib/x86_64-linux-gnu -lpthread -lz -lm -lrt -ldl -lmysqlclient 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread
    /usr/lib/x86_64-linux-gnu/libz.so: file not recognized: File format not recognized
    collect2: error: ld returned 1 exit status
    Makefile:91: recipe for target 'mysql' failed
    make: *** [mysql] Error 1
    MySQL (thread-unsafe) disabled.
    checking for OCI... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o oci.o oci.cpp
    oci.cpp:40:17: fatal error: oci.h: No such file or directory
     #include <oci.h>
                     ^
    compilation terminated.
    Makefile:195: recipe for target 'oci.o' failed
    make: *** [oci.o] Error 1
    OCI disabled.
    checking for ODBC... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o odbc.o odbc.cpp
    odbc.cpp:43:17: fatal error: sql.h: No such file or directory
     #include <sql.h>
                     ^
    compilation terminated.
    Makefile:195: recipe for target 'odbc.o' failed
    make: *** [odbc.o] Error 1
    ODBC disabled.
    checking for iODBC... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o iodbc.o iodbc.cpp
    iodbc.cpp:40:17: fatal error: sql.h: No such file or directory
     #include <sql.h>
                     ^
    compilation terminated.
    Makefile:195: recipe for target 'iodbc.o' failed
    make: *** [iodbc.o] Error 1
    iODBC disabled.
    checking for PostgreSQL... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o psql.o psql.cpp
    psql.cpp:40:22: fatal error: libpq-fe.h: No such file or directory
     #include "libpq-fe.h"
                          ^
    compilation terminated.
    Makefile:195: recipe for target 'psql.o' failed
    make: *** [psql.o] Error 1
    PostgreSQL disabled.
    checking for SQLite2... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o sqlite2.o sqlite2.cpp
    sqlite2.cpp:40:20: fatal error: sqlite.h: No such file or directory
     #include <sqlite.h>
                        ^
    compilation terminated.
    Makefile:195: recipe for target 'sqlite2.o' failed
    make: *** [sqlite2.o] Error 1
    SQLite2 disabled.
    checking for TDS... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o tds.o tds.cpp
    tds.cpp:40:22: fatal error: sybfront.h: No such file or directory
     #include <sybfront.h>
                          ^
    compilation terminated.
    Makefile:195: recipe for target 'tds.o' failed
    make: *** [tds.o] Error 1
    TDS disabled.
    checking for Cups... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o cups.o cups.cpp
    cups.cpp:40:23: fatal error: cups/cups.h: No such file or directory
     #include <cups/cups.h>
                           ^
    compilation terminated.
    Makefile:195: recipe for target 'cups.o' failed
    make: *** [cups.o] Error 1
    Cups disabled.
    checking for POSIX iconv... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o iconv.o iconv.cpp
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o iconv iconv.o   -lrt -lpthread -ldl 
    POSIX iconv enabled.
    checking for D-Bus... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o dbus.o dbus.cpp
    dbus.cpp:41:23: fatal error: dbus/dbus.h: No such file or directory
     #include <dbus/dbus.h>
                           ^
    compilation terminated.
    Makefile:195: recipe for target 'dbus.o' failed
    make: *** [dbus.o] Error 1
    D-Bus disabled.
    checking for libproxy... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o libproxy.o libproxy.cpp
    libproxy.cpp:42:19: fatal error: proxy.h: No such file or directory
     #include <proxy.h>
                       ^
    compilation terminated.
    Makefile:195: recipe for target 'libproxy.o' failed
    make: *** [libproxy.o] Error 1
    libproxy disabled.
    checking for Glib... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o glib.o glib.cpp
    glib.cpp:42:18: fatal error: glib.h: No such file or directory
     #include <glib.h>
                      ^
    compilation terminated.
    Makefile:195: recipe for target 'glib.o' failed
    make: *** [glib.o] Error 1
    Glib disabled.
    checking for ICU... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o icu.o icu.cpp
    icu.cpp:40:28: fatal error: unicode/utypes.h: No such file or directory
     #include <unicode/utypes.h>
                                ^
    compilation terminated.
    Makefile:198: recipe for target 'icu.o' failed
    make: *** [icu.o] Error 1
    ICU disabled.
    checking for PulseAudio... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o pulseaudio.o pulseaudio.cpp
    pulseaudio.cpp:40:30: fatal error: pulse/pulseaudio.h: No such file or directory
     #include <pulse/pulseaudio.h>
                                  ^
    compilation terminated.
    Makefile:195: recipe for target 'pulseaudio.o' failed
    make: *** [pulseaudio.o] Error 1
    PulseAudio disabled.
    checking for OpenGL ES 2.0... 
    /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o opengles2.o opengles2.cpp
    opengles2.cpp:43:25: fatal error: GLES2/gl2.h: No such file or directory
       #include <GLES2/gl2.h>
                             ^
    compilation terminated.
    Makefile:195: recipe for target 'opengles2.o' failed
    make: *** [opengles2.o] Error 1
    OpenGL ES 2.0 disabled.
    The OpenGL ES 2.0 functionality test failed!
     Use of pkg-config is not enabled, maybe you want to pass -pkg-config?
     You might need to modify the include and library search paths by editing
     QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
     /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/devices/linux-bbbhf-g++.
    
    raven-worxR 1 Reply Last reply
    0
    • S saurabh162

      Dear developers,

      I am trying to cross compile Qt5.7.1 for Beaglebone board with OpenGL module.

      In order configure "qt-everywhere-opensource-src-5.7.1" source code I gave following configure option.

      sudo ./configure -opensource -confirm-license -no-pch -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples -opengl  -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker
      

      And got following error, which shows that OpenGL module cannot be configured. Can you please inform me how can I solve this configuration error related to OpenGL library.

      + cd qtbase
      + /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/configure -top-level -opensource -confirm-license -no-pch -prefix /opt/Qt5_7_1/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples -opengl es2 -device-option CROSS_COMPILE=/opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker
      
      This is the Qt Open Source Edition.
      
      You are licensed to use this software under the terms of
      the GNU Lesser General Public License (LGPL) versions 3.
      You are also licensed to use this software under the terms of
      the GNU General Public License (GPL) versions 2.
      
      You have already accepted the terms of the Open Source license.
      
      DEFAULT_INCDIRS="/opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/arm-linux-gnueabihf
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/backward
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include-fixed
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/usr/include
      "
      DEFAULT_LIBDIRS="/opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/usr/lib
      "
      Creating qmake...
      make: Nothing to be done for 'first'.
      Running configuration tests...
      Found pkg-config from $PATH: /usr/bin/pkg-config
      Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set and
      the host's .pc files would be used (even if you set PKG_CONFIG_PATH).
      Set this variable to the directory that contains target .pc files
      for pkg-config to function correctly when cross-compiling or
      use -pkg-config to override this test.
      Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
      Set this variable to your sysroot for pkg-config to function correctly when
      cross-compiling or use -pkg-config to override this test.
      Determining architecture... ()
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -g -Wall -W -fPIC  -I. -I../../mkspecs/devices/linux-bbbhf-g++ -o arch.o arch.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o arch arch.o   -lrt -lpthread -ldl 
          Found architecture in binary
      CFG_ARCH="arm"
      CFG_CPUFEATURES=" neon"
      Determining architecture... ()
      g++ -c -pipe -g -Wall -W -fPIC  -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp
      g++  -o arch arch.o    
          Found architecture in binary
      CFG_HOST_ARCH="x86_64"
      CFG_HOST_CPUFEATURES=" mmx sse sse2"
      System architecture: 'arm'
      Host architecture: 'x86_64'
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
      Symbol visibility control enabled.
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
      bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
       #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
        ^~~~~
      Symbolic function binding disabled.
      checking for C++14... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++1y -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++14.o c++14.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++14 c++14.o   -lrt -lpthread -ldl 
      C++14 enabled.
      checking for C++1z... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++1z -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++1z.o c++1z.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++1z c++1z.o   -lrt -lpthread -ldl 
      C++1z enabled.
      checking for default C++ standard edition... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++default.ii -E c++default.cpp
      default C++ standard edition enabled.
      checking for 64-bit std::atomic... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl 
      64-bit std::atomic enabled.
      checking for std::atomic for function pointers... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomicfptr.o atomicfptr.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomicfptr atomicfptr.o   -lrt -lpthread -ldl 
      std::atomic for function pointers enabled.
      checking for sse2... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -msse2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o sse2.o sse2.cpp
      arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse2’
      Makefile:195: recipe for target 'sse2.o' failed
      make: *** [sse2.o] Error 1
      sse2 disabled.
      checking for ipc_sysv... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o ipc.o ipc.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o ipc_sysv ipc.o   -lrt -lpthread -ldl 
      ipc_sysv enabled.
      checking for mtdev... 
      Project WARNING: pkg-config disabled, can't check package existence
      Project ERROR: mtdev development package not found
      mtdev disabled.
      checking for libjpeg... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o libjpeg.o libjpeg.cpp
      libjpeg.cpp:43:21: fatal error: jpeglib.h: No such file or directory
       #include <jpeglib.h>
                           ^
      compilation terminated.
      Makefile:195: recipe for target 'libjpeg.o' failed
      make: *** [libjpeg.o] Error 1
      libjpeg disabled.
      checking for libpng... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o libpng.o libpng.cpp
      libpng.cpp:40:17: fatal error: png.h: No such file or directory
       #include <png.h>
                       ^
      compilation terminated.
      Makefile:195: recipe for target 'libpng.o' failed
      make: *** [libpng.o] Error 1
      libpng disabled.
      checking for dlopen... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o dlopen.o dlopen.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o dlopen dlopen.o   -lrt -lpthread -ldl 
      dlopen enabled.
      checking for DB2... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o db2.o db2.cpp
      db2.cpp:40:20: fatal error: sqlcli.h: No such file or directory
       #include <sqlcli.h>
                          ^
      compilation terminated.
      Makefile:195: recipe for target 'db2.o' failed
      make: *** [db2.o] Error 1
      DB2 disabled.
      checking for InterBase... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o ibase.o ibase.cpp
      ibase.cpp:40:19: fatal error: ibase.h: No such file or directory
       #include <ibase.h>
                         ^
      compilation terminated.
      Makefile:195: recipe for target 'ibase.o' failed
      make: *** [ibase.o] Error 1
      InterBase disabled.
      checking for MySQL (thread-safe)... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I/usr/include/mysql -I../../../mkspecs/devices/linux-bbbhf-g++ -o mysql.o ../mysql/mysql.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o mysql_r mysql.o   -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl -lmysqlclient_r 
      /usr/lib/x86_64-linux-gnu/libmysqlclient.so: file not recognized: File format not recognized
      collect2: error: ld returned 1 exit status
      Makefile:91: recipe for target 'mysql_r' failed
      make: *** [mysql_r] Error 1
      MySQL (thread-safe) disabled.
      checking for MySQL (thread-unsafe)... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I/usr/include/mysql -I../../../mkspecs/devices/linux-bbbhf-g++ -o mysql.o mysql.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o mysql mysql.o   -L/usr/lib/x86_64-linux-gnu -lpthread -lz -lm -lrt -ldl -lmysqlclient 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread
      /usr/lib/x86_64-linux-gnu/libz.so: file not recognized: File format not recognized
      collect2: error: ld returned 1 exit status
      Makefile:91: recipe for target 'mysql' failed
      make: *** [mysql] Error 1
      MySQL (thread-unsafe) disabled.
      checking for OCI... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o oci.o oci.cpp
      oci.cpp:40:17: fatal error: oci.h: No such file or directory
       #include <oci.h>
                       ^
      compilation terminated.
      Makefile:195: recipe for target 'oci.o' failed
      make: *** [oci.o] Error 1
      OCI disabled.
      checking for ODBC... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o odbc.o odbc.cpp
      odbc.cpp:43:17: fatal error: sql.h: No such file or directory
       #include <sql.h>
                       ^
      compilation terminated.
      Makefile:195: recipe for target 'odbc.o' failed
      make: *** [odbc.o] Error 1
      ODBC disabled.
      checking for iODBC... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o iodbc.o iodbc.cpp
      iodbc.cpp:40:17: fatal error: sql.h: No such file or directory
       #include <sql.h>
                       ^
      compilation terminated.
      Makefile:195: recipe for target 'iodbc.o' failed
      make: *** [iodbc.o] Error 1
      iODBC disabled.
      checking for PostgreSQL... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o psql.o psql.cpp
      psql.cpp:40:22: fatal error: libpq-fe.h: No such file or directory
       #include "libpq-fe.h"
                            ^
      compilation terminated.
      Makefile:195: recipe for target 'psql.o' failed
      make: *** [psql.o] Error 1
      PostgreSQL disabled.
      checking for SQLite2... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o sqlite2.o sqlite2.cpp
      sqlite2.cpp:40:20: fatal error: sqlite.h: No such file or directory
       #include <sqlite.h>
                          ^
      compilation terminated.
      Makefile:195: recipe for target 'sqlite2.o' failed
      make: *** [sqlite2.o] Error 1
      SQLite2 disabled.
      checking for TDS... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o tds.o tds.cpp
      tds.cpp:40:22: fatal error: sybfront.h: No such file or directory
       #include <sybfront.h>
                            ^
      compilation terminated.
      Makefile:195: recipe for target 'tds.o' failed
      make: *** [tds.o] Error 1
      TDS disabled.
      checking for Cups... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o cups.o cups.cpp
      cups.cpp:40:23: fatal error: cups/cups.h: No such file or directory
       #include <cups/cups.h>
                             ^
      compilation terminated.
      Makefile:195: recipe for target 'cups.o' failed
      make: *** [cups.o] Error 1
      Cups disabled.
      checking for POSIX iconv... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o iconv.o iconv.cpp
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o iconv iconv.o   -lrt -lpthread -ldl 
      POSIX iconv enabled.
      checking for D-Bus... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o dbus.o dbus.cpp
      dbus.cpp:41:23: fatal error: dbus/dbus.h: No such file or directory
       #include <dbus/dbus.h>
                             ^
      compilation terminated.
      Makefile:195: recipe for target 'dbus.o' failed
      make: *** [dbus.o] Error 1
      D-Bus disabled.
      checking for libproxy... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o libproxy.o libproxy.cpp
      libproxy.cpp:42:19: fatal error: proxy.h: No such file or directory
       #include <proxy.h>
                         ^
      compilation terminated.
      Makefile:195: recipe for target 'libproxy.o' failed
      make: *** [libproxy.o] Error 1
      libproxy disabled.
      checking for Glib... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o glib.o glib.cpp
      glib.cpp:42:18: fatal error: glib.h: No such file or directory
       #include <glib.h>
                        ^
      compilation terminated.
      Makefile:195: recipe for target 'glib.o' failed
      make: *** [glib.o] Error 1
      Glib disabled.
      checking for ICU... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o icu.o icu.cpp
      icu.cpp:40:28: fatal error: unicode/utypes.h: No such file or directory
       #include <unicode/utypes.h>
                                  ^
      compilation terminated.
      Makefile:198: recipe for target 'icu.o' failed
      make: *** [icu.o] Error 1
      ICU disabled.
      checking for PulseAudio... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o pulseaudio.o pulseaudio.cpp
      pulseaudio.cpp:40:30: fatal error: pulse/pulseaudio.h: No such file or directory
       #include <pulse/pulseaudio.h>
                                    ^
      compilation terminated.
      Makefile:195: recipe for target 'pulseaudio.o' failed
      make: *** [pulseaudio.o] Error 1
      PulseAudio disabled.
      checking for OpenGL ES 2.0... 
      /opt/Qt5_7_1/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o opengles2.o opengles2.cpp
      opengles2.cpp:43:25: fatal error: GLES2/gl2.h: No such file or directory
         #include <GLES2/gl2.h>
                               ^
      compilation terminated.
      Makefile:195: recipe for target 'opengles2.o' failed
      make: *** [opengles2.o] Error 1
      OpenGL ES 2.0 disabled.
      The OpenGL ES 2.0 functionality test failed!
       Use of pkg-config is not enabled, maybe you want to pass -pkg-config?
       You might need to modify the include and library search paths by editing
       QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
       /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/devices/linux-bbbhf-g++.
      
      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @saurabh162
      you are missing the GLES package (libs and includes).
      Also since you are cross compiling you are advised to use the sysroot parameter for configure to avoid linking to the wrong libraries/architecture. Its mandatory to cross-link against ARM libs!

      apt-get install libgles2-mesa-dev
      

      You may also want to read this.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      S 1 Reply Last reply
      1
      • raven-worxR raven-worx

        @saurabh162
        you are missing the GLES package (libs and includes).
        Also since you are cross compiling you are advised to use the sysroot parameter for configure to avoid linking to the wrong libraries/architecture. Its mandatory to cross-link against ARM libs!

        apt-get install libgles2-mesa-dev
        

        You may also want to read this.

        S Offline
        S Offline
        saurabh162
        wrote on last edited by
        #3

        Hello @raven-worx.....Thank you very much for the update. I will try as you mentioned and will update you

        1 Reply Last reply
        0
        • S Offline
          S Offline
          saurabh162
          wrote on last edited by saurabh162
          #4

          Hello @raven-worx

          As mentioned by you I installed following libraries in BBB SD Card (also used to boot BBB).

          sudo apt-get install libgl1-mesa-dev
          sudo apt-get install libglu1-mesa-dev
          apt-get install libgles2-mesa-dev
          

          Then mounted BBB SD card on my PC and gave following command to configure Qt from source.

          sudo ./configure -v -opengl  -opensource -confirm-license -no-pch  -sysroot /media/bbone/rootfs -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples   -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker -pkg-config
          

          After this I got following error.

          /media/bbone/rootfs -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples   -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker -pkg-config
          + cd qtbase
          + /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/configure -top-level -v -opengl -opensource -confirm-license -no-pch -sysroot /media/bbone/rootfs -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker -pkg-config
          
          This is the Qt Open Source Edition.
          
          You are licensed to use this software under the terms of
          the GNU Lesser General Public License (LGPL) versions 3.
          You are also licensed to use this software under the terms of
          the GNU General Public License (GPL) versions 2.
          
          You have already accepted the terms of the Open Source license.
          
          DEFAULT_INCDIRS="/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/arm-linux-gnueabihf
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/backward
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include-fixed
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include
          /media/bbone/rootfs/usr/local/include
          /media/bbone/rootfs/usr/include/arm-linux-gnueabihf
          /media/bbone/rootfs/usr/include
          "
          DEFAULT_LIBDIRS="/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib
          /media/bbone/rootfs/lib/arm-linux-gnueabihf
          /media/bbone/rootfs/lib
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf
          /media/bbone/rootfs/usr/lib
          "
          Creating qmake...
          make: Nothing to be done for 'first'.
          Running configuration tests...
          Found pkg-config from $PATH: /usr/bin/pkg-config
          Note: PKG_CONFIG_LIBDIR automatically set to /media/bbone/rootfs/usr/lib/pkgconfig:/media/bbone/rootfs/usr/share/pkgconfig:/media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
          Note: PKG_CONFIG_SYSROOT_DIR automatically set to /media/bbone/rootfs
          Determining architecture... ()
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -g -Wall -W -fPIC  -I. -I../../mkspecs/devices/linux-bbbhf-g++ -o arch.o arch.cpp
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o arch arch.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
          collect2: error: ld returned 1 exit status
          Makefile:92: recipe for target 'arch' failed
          make: *** [arch] Error 1
          Unable to determine architecture!
          
          Could not determine the target architecture!
          Turn on verbose messaging (-v) to see the final report.
          Determining architecture... ()
          g++ -c -pipe -g -Wall -W -fPIC  -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp
          g++  -o arch arch.o    
              Found architecture in binary
          CFG_HOST_ARCH="x86_64"
          CFG_HOST_CPUFEATURES=" mmx sse sse2"
          System architecture: 'unknown'
          Host architecture: 'x86_64'
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
          Symbol visibility control enabled.
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/media/bbone/rootfs -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
          bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
           #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
            ^~~~~
          Symbolic function binding disabled.
          checking for C++14... 
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++1y -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++14.o c++14.cpp
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++14 c++14.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
          collect2: error: ld returned 1 exit status
          Makefile:92: recipe for target 'c++14' failed
          make: *** [c++14] Error 1
          C++14 disabled.
          checking for default C++ standard edition... 
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++default.ii -E c++default.cpp
          default C++ standard edition enabled.
          checking for 64-bit std::atomic... 
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
          collect2: error: ld returned 1 exit status
          Makefile:92: recipe for target 'atomic64' failed
          make: *** [atomic64] Error 1
          64-bit std::atomic disabled.
          checking for 64-bit std::atomic in -latomic... 
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs -latomic 
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
          collect2: error: ld returned 1 exit status
          Makefile:92: recipe for target 'atomic64' failed
          make: *** [atomic64] Error 1
          64-bit std::atomic in -latomic disabled.
          checking for std::atomic for function pointers... 
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomicfptr.o atomicfptr.cpp
          /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomicfptr atomicfptr.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
          /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
          collect2: error: ld returned 1 exit status
          Makefile:92: recipe for target 'atomicfptr' failed
          make: *** [atomicfptr] Error 1
          std::atomic for function pointers disabled.
          ERROR: detected a std::atomic implementation that fails for function pointers.
          Please apply the patch corresponding to your Standard Library vendor, found in
            /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/config.tests/common/atomicfptr
          
          

          Can you please inform me how can I solve this problem ..Thank you very much

          jsulmJ 1 Reply Last reply
          0
          • S saurabh162

            Hello @raven-worx

            As mentioned by you I installed following libraries in BBB SD Card (also used to boot BBB).

            sudo apt-get install libgl1-mesa-dev
            sudo apt-get install libglu1-mesa-dev
            apt-get install libgles2-mesa-dev
            

            Then mounted BBB SD card on my PC and gave following command to configure Qt from source.

            sudo ./configure -v -opengl  -opensource -confirm-license -no-pch  -sysroot /media/bbone/rootfs -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples   -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker -pkg-config
            

            After this I got following error.

            /media/bbone/rootfs -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples   -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker -pkg-config
            + cd qtbase
            + /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/configure -top-level -v -opengl -opensource -confirm-license -no-pch -sysroot /media/bbone/rootfs -prefix /opt/Qt5_7_1_test_OpenGl/qt571-bbbhf -release -force-debug-info -device linux-bbbhf-g++ -make libs -nomake tests -nomake examples -device-option CROSS_COMPILE=/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -v -qt-zlib -skip virtualkeyboard -no-use-gold-linker -pkg-config
            
            This is the Qt Open Source Edition.
            
            You are licensed to use this software under the terms of
            the GNU Lesser General Public License (LGPL) versions 3.
            You are also licensed to use this software under the terms of
            the GNU General Public License (GPL) versions 2.
            
            You have already accepted the terms of the Open Source license.
            
            DEFAULT_INCDIRS="/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/arm-linux-gnueabihf
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include/c++/6.3.1/backward
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1/include-fixed
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/include
            /media/bbone/rootfs/usr/local/include
            /media/bbone/rootfs/usr/include/arm-linux-gnueabihf
            /media/bbone/rootfs/usr/include
            "
            DEFAULT_LIBDIRS="/opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf/6.3.1
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc/arm-linux-gnueabihf
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/lib/gcc
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib
            /media/bbone/rootfs/lib/arm-linux-gnueabihf
            /media/bbone/rootfs/lib
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf
            /media/bbone/rootfs/usr/lib
            "
            Creating qmake...
            make: Nothing to be done for 'first'.
            Running configuration tests...
            Found pkg-config from $PATH: /usr/bin/pkg-config
            Note: PKG_CONFIG_LIBDIR automatically set to /media/bbone/rootfs/usr/lib/pkgconfig:/media/bbone/rootfs/usr/share/pkgconfig:/media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
            Note: PKG_CONFIG_SYSROOT_DIR automatically set to /media/bbone/rootfs
            Determining architecture... ()
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -g -Wall -W -fPIC  -I. -I../../mkspecs/devices/linux-bbbhf-g++ -o arch.o arch.cpp
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o arch arch.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
            collect2: error: ld returned 1 exit status
            Makefile:92: recipe for target 'arch' failed
            make: *** [arch] Error 1
            Unable to determine architecture!
            
            Could not determine the target architecture!
            Turn on verbose messaging (-v) to see the final report.
            Determining architecture... ()
            g++ -c -pipe -g -Wall -W -fPIC  -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp
            g++  -o arch arch.o    
                Found architecture in binary
            CFG_HOST_ARCH="x86_64"
            CFG_HOST_CPUFEATURES=" mmx sse sse2"
            System architecture: 'unknown'
            Host architecture: 'x86_64'
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
            Symbol visibility control enabled.
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/media/bbone/rootfs -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
            bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
             #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
              ^~~~~
            Symbolic function binding disabled.
            checking for C++14... 
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++1y -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++14.o c++14.cpp
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++14 c++14.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
            collect2: error: ld returned 1 exit status
            Makefile:92: recipe for target 'c++14' failed
            make: *** [c++14] Error 1
            C++14 disabled.
            checking for default C++ standard edition... 
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++default.ii -E c++default.cpp
            default C++ standard edition enabled.
            checking for 64-bit std::atomic... 
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
            collect2: error: ld returned 1 exit status
            Makefile:92: recipe for target 'atomic64' failed
            make: *** [atomic64] Error 1
            64-bit std::atomic disabled.
            checking for 64-bit std::atomic in -latomic... 
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs -latomic 
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
            collect2: error: ld returned 1 exit status
            Makefile:92: recipe for target 'atomic64' failed
            make: *** [atomic64] Error 1
            64-bit std::atomic in -latomic disabled.
            checking for std::atomic for function pointers... 
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomicfptr.o atomicfptr.cpp
            /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomicfptr atomicfptr.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
            /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
            collect2: error: ld returned 1 exit status
            Makefile:92: recipe for target 'atomicfptr' failed
            make: *** [atomicfptr] Error 1
            std::atomic for function pointers disabled.
            ERROR: detected a std::atomic implementation that fails for function pointers.
            Please apply the patch corresponding to your Standard Library vendor, found in
              /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/config.tests/common/atomicfptr
            
            

            Can you please inform me how can I solve this problem ..Thank you very much

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @saurabh162 said in Configuration of OpenGL with Qt5.7.1 for BeagleBone:

            make: Nothing to be done for 'first'.

            You should try again with clean source tree (without build artefacts from previous builds). Better would be to do out of source build.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • S Offline
              S Offline
              saurabh162
              wrote on last edited by saurabh162
              #6

              ok @jslum I do it agian Thank you

              1 Reply Last reply
              0
              • S Offline
                S Offline
                saurabh162
                wrote on last edited by
                #7

                Hello @jsulm,

                I configured Qt again from fresh source code but got same error as mentioned below. I could not attach complete output from configure command due to maximum word limit. So pasting only final lines of output of configure command. Kindly inform me if you need any other information from me

                In file included from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/qplatformdefs.h:83:0,
                                 from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:40:
                /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp: In member function ‘bool QFileSystemIterator::advance(QFileSystemEntry&, QFileSystemMetaData&)’:
                /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/../common/posix/qplatformdefs.h:150:35: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
                 #define QT_READDIR_R            ::readdir_r
                                                   ^
                /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:112:17: note: in expansion of macro ‘QT_READDIR_R’
                     lastError = QT_READDIR_R(dir, mt_file.data(), &dirEntry);
                                 ^
                In file included from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/qplatformdefs.h:63:0,
                                 from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:40:
                /usr/include/dirent.h:183:12: note: declared here
                 extern int readdir_r (DIR *__restrict __dirp,
                            ^
                In file included from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/qplatformdefs.h:83:0,
                                 from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:40:
                /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/../common/posix/qplatformdefs.h:150:35: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
                 #define QT_READDIR_R            ::readdir_r
                                                   ^
                /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:112:17: note: in expansion of macro ‘QT_READDIR_R’
                     lastError = QT_READDIR_R(dir, mt_file.data(), &dirEntry);
                                 ^
                In file included from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/qplatformdefs.h:63:0,
                                 from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:40:
                /usr/include/dirent.h:183:12: note: declared here
                 extern int readdir_r (DIR *__restrict __dirp,
                            ^
                /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:112:60: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
                     lastError = QT_READDIR_R(dir, mt_file.data(), &dirEntry);
                                                                            ^
                In file included from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++/qplatformdefs.h:63:0,
                                 from /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfilesystemiterator_unix.cpp:40:
                /usr/include/dirent.h:183:12: note: declared here
                 extern int readdir_r (DIR *__restrict __dirp,
                            ^
                g++ -c -o qfsfileengine_unix.o -pipe -std=c++11 -ffunction-sections -O2 -g  -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/library -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/unix -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/win32 -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/mac -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/integrity -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1 -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++ -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/io/qfsfileengine_unix.cpp
                g++ -c -o qlocale_unix.o -pipe -std=c++11 -ffunction-sections -O2 -g  -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/library -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/unix -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/win32 -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/mac -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/qmake/generators/integrity -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1 -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-g++ -I/opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/tools/shared -DQT_VERSION_STR=\"5.7.1\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=1 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/tools/qlocale_unix.cpp
                g++ -o "../bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qringbuffer.o qdebug.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o  -Wl,--gc-sections
                Running configuration tests...
                Found pkg-config from $PATH: /usr/bin/pkg-config
                Note: PKG_CONFIG_LIBDIR automatically set to /media/bbone/rootfs/usr/lib/pkgconfig:/media/bbone/rootfs/usr/share/pkgconfig:/media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
                Note: PKG_CONFIG_SYSROOT_DIR automatically set to /media/bbone/rootfs
                Determining architecture... ()
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -g -Wall -W -fPIC  -I. -I../../mkspecs/devices/linux-bbbhf-g++ -o arch.o arch.cpp
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o arch arch.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
                collect2: error: ld returned 1 exit status
                Makefile:91: recipe for target 'arch' failed
                make: *** [arch] Error 1
                Unable to determine architecture!
                
                Could not determine the target architecture!
                Turn on verbose messaging (-v) to see the final report.
                Determining architecture... ()
                g++ -c -pipe -g -Wall -W -fPIC  -I. -I../../mkspecs/linux-g++ -o arch.o arch.cpp
                g++  -o arch arch.o    
                    Found architecture in binary
                CFG_HOST_ARCH="x86_64"
                CFG_HOST_CPUFEATURES=" mmx sse sse2"
                System architecture: 'unknown'
                Host architecture: 'x86_64'
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
                Symbol visibility control enabled.
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/media/bbone/rootfs -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
                bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
                 #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
                  ^~~~~
                Symbolic function binding disabled.
                checking for C++14... 
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++1y -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++14.o c++14.cpp
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o c++14 c++14.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
                collect2: error: ld returned 1 exit status
                Makefile:91: recipe for target 'c++14' failed
                make: *** [c++14] Error 1
                C++14 disabled.
                checking for default C++ standard edition... 
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o c++default.ii -E c++default.cpp
                default C++ standard edition enabled.
                checking for 64-bit std::atomic... 
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
                collect2: error: ld returned 1 exit status
                Makefile:91: recipe for target 'atomic64' failed
                make: *** [atomic64] Error 1
                64-bit std::atomic disabled.
                checking for 64-bit std::atomic in -latomic... 
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomic64.o atomic64.cpp
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomic64 atomic64.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs -latomic 
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
                collect2: error: ld returned 1 exit status
                Makefile:91: recipe for target 'atomic64' failed
                make: *** [atomic64] Error 1
                64-bit std::atomic in -latomic disabled.
                checking for std::atomic for function pointers... 
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/media/bbone/rootfs -O2 -g -std=gnu++11 -Wall -W -fPIC  -I. -I../../../mkspecs/devices/linux-bbbhf-g++ -o atomicfptr.o atomicfptr.cpp
                /opt/Qt5_7_1_test_OpenGl/arm-toolchain/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard -o atomicfptr atomicfptr.o   -lrt -lpthread -ldl --sysroot=/media/bbone/rootfs 
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/librt.so: undefined reference to `__close_nocancel@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
                /media/bbone/rootfs/usr/lib/arm-linux-gnueabihf/libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
                collect2: error: ld returned 1 exit status
                Makefile:91: recipe for target 'atomicfptr' failed
                make: *** [atomicfptr] Error 1
                std::atomic for function pointers disabled.
                ERROR: detected a std::atomic implementation that fails for function pointers.
                Please apply the patch corresponding to your Standard Library vendor, found in
                  /opt/Qt5_7_1_test_OpenGl/qt-everywhere-opensource-src-5.7.1/qtbase/config.tests/common/atomicfptr
                
                
                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