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. Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuration to embedded ARM

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
embedded qtqt4.8.7cross compileglibphonon
8 Posts 3 Posters 5.6k Views
  • 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.
  • N Offline
    N Offline
    Narthan
    wrote on last edited by
    #1

    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..

    1 Reply Last reply
    0
    • jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2
      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.

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

      N 1 Reply Last reply
      0
      • jsulmJ jsulm
        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.

        N Offline
        N Offline
        Narthan
        wrote on last edited by
        #3

        @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?

        1 Reply Last reply
        0
        • jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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?

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

          N 1 Reply Last reply
          0
          • jsulmJ jsulm

            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?

            N Offline
            N Offline
            Narthan
            wrote on last edited by Narthan
            #5

            @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

            1 Reply Last reply
            0
            • jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

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

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

              D 1 Reply Last reply
              0
              • jsulmJ jsulm

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

                D Offline
                D Offline
                DEEPAK NATH
                wrote on last edited by
                #7

                @jsulm have u solved the problem....I am also facing similar issues for setting pk_config_pathfor my arm9 tool chain...

                jsulmJ 1 Reply Last reply
                0
                • D DEEPAK NATH

                  @jsulm have u solved the problem....I am also facing similar issues for setting pk_config_pathfor my arm9 tool chain...

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @DEEPAK-NATH I'm not the one with the problem...

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

                  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