Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuration to embedded ARM



  • Below steps are followed...

    ./configure -prefix /usr/local/Qt_arm -embedded arm -little-endian -fast -DQT_QWS_CLIENTBLIT -depths 16,24,32 -xplatform qws/linux-arm-mygnueabi-g++ -arch arm -no-xinerama -glib -phonon -no-nis -no-opengl -no-cups -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-sm -no-xinerama -no-xshape -no-separate-debug-info -nomake examples -nomake demos -confirm-license -phonon-backend

    ERROR is :

    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Glib support cannot be enabled due to functionality tests!
    Turn on verbose messaging (-v) to ./configure to see the final report.
    If you believe this message is in error you may use the continue

    I Found some solution through internet:

    sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

    After intalling the package also same issue is comming...
    Please help me to solve this issue..


  • Moderators

    sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
    

    will not help as it installs the stuff on your host machine and not the target ARM device. And how is GStreamer related to GLib?

    You're probably missing development parts of GLib for ARM. Try to execute configure with -v option as suggested in the error message.



  • @jsulm Hi thank you for your reply
    i am using arm-none-linux-gnueabi-gcc tool chain,
    i enabled -v option then i am getting

    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -mmmx -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o mmx.o mmx.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-mmmx'
    make: *** [mmx.o] Error 1
    mmx disabled.

    3dnow auto-detection... ()
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -m3dnow -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o 3dnow.o 3dnow.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-m3dnow'
    make: *** [3dnow.o] Error 1
    3dnow disabled

    ..
    ..

    how can i resolve this issue?


  • Moderators

    These are not errors. It just tells you that your CPU architecture (ARM) does not support MMX and 3DNow extensions (these are available on x86).
    What is about GLib, can you post the whole error log for that one?



  • @jsulm

    it shows below errors

    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o ipc.o ipc.cpp
    ipc.cpp:43:21: fatal error: sys/ipc.h: No such file or directory
    compilation terminated.
    make: *** [ipc.o] Error 1
    ipc_sysv disabled.
    ipc_posix auto-detection... ()
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored

    /home/kiran/Downloads/gcc-arm-none-eabi-5_3-2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld: skipping incompatible /usr/lib/libpq.a when searching for -lpq
    /home/kiran/Downloads/gcc-arm-none-eabi-5_3-2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lpq
    collect2: error: ld returned 1 exit status
    make: *** [psql] Error 1
    PostgreSQL disabled.
    SQLite2 auto-detection... ()
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o sqlite2.o sqlite2.cpp
    sqlite2.cpp:42:20: fatal error: sqlite.h: No such file or directory
    compilation terminated.
    make: *** [sqlite2.o] Error 1
    SQLite2 disabled.
    unknown SQL driver: sqlite_symbian
    unknown SQL driver: symsql
    TDS auto-detection... ()
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o tds.o tds.cpp
    tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
    compilation terminated.
    make: *** [tds.o] Error 1
    TDS disabled.
    D-Bus auto-detection... ()
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o dbus.o dbus.cpp
    dbus.cpp:43:23: fatal error: dbus/dbus.h: No such file or directory
    compilation terminated.
    make: *** [dbus.o] Error 1
    D-Bus disabled.
    Glib auto-detection... ()
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
    To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    arm-none-eabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o glib.o glib.cpp
    glib.cpp:44:18: fatal error: glib.h: No such file or directory
    compilation terminated.
    make: *** [glib.o] Error 1
    Glib disabled.
    Glib support cannot be enabled due to functionality tests!
    Turn on verbose messaging (-v) to ./configure to see the final report.
    If you believe this message is in error you may use the continue
    switch (-continue) to ./configure to continue.
    kiran@FSETBLR1DT042:~/install-kit/qt-everywhere-opensource-src-4.8.4$ Glib disabled.
    No command 'Glib' found, did you mean:
    Command 'slib' from package 'slib' (universe)
    Command 'olib' from package 'geda-utils' (universe)
    Glib: command not found
    kiran@FSETBLR1DT042:~/install-kit/qt-everywhere-opensource-src-4.8.4$ Glib support cannot be enabled due to functionality tests!
    No command 'Glib' found, did you mean:
    Command 'slib' from package 'slib' (universe)
    Command 'olib' from package 'geda-utils' (universe)
    Glib: command not found


  • Moderators

    Well, the question is: do you need GLib support?
    If not then just build (call make).



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