Results 1 to 4 of 4

Thread: Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuration

  1. #1
    Join Date
    Jul 2015
    Posts
    11
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

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

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

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuratio

    So, any indication in the verbose report?

    Cheers,
    _

  3. #3
    Join Date
    Jul 2015
    Posts
    11
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuratio

    Hi
    yes i enabled verbose, after that i am getting following error

    floatmath disabled.
    mmx 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 -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.
    sse 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 -msse -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o sse.o sse.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-msse'
    make: *** [sse.o] Error 1
    sse disabled.
    sse2 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 -msse2 -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o sse2.o sse2.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-msse2'
    make: *** [sse2.o] Error 1
    sse2 disabled.
    sse3 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 -msse3 -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o sse3.o sse3.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-msse3'
    make: *** [sse3.o] Error 1
    sse3 disabled.
    ssse3 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 -mssse3 -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o ssse3.o ssse3.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-mssse3'
    make: *** [ssse3.o] Error 1
    ssse3 disabled.
    sse4_1 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 -msse4.1 -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o sse4_1.o sse4_1.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-msse4.1'
    make: *** [sse4_1.o] Error 1
    sse4_1 disabled.
    sse4_2 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 -msse4.2 -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o sse4_2.o sse4_2.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-msse4.2'
    make: *** [sse4_2.o] Error 1
    sse4_2 disabled.
    avx 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 -mavx -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o avx.o avx.cpp
    arm-none-eabi-g++: error: unrecognized command line option '-mavx'
    make: *** [avx.o] Error 1
    avx disabled.
    neon 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 -mfpu=neon -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-mygnueabi-g++ -I. -I/usr/local/tslib/include -o neon.o neon.cpp
    In file included from neon.cpp:42:0:
    /home/kiran/Downloads/gcc-arm-none-eabi-5_3-2016q1/lib/gcc/arm-none-eabi/5.3.1/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
    #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
    ^
    neon.cpp: In function 'int main(int, char**)':
    neon.cpp:46:5: error: 'int32x4_t' was not declared in this scope
    int32x4_t null = vdupq_n_s32(0x0);
    ^
    neon.cpp:49:29: error: 'null' was not declared in this scope
    vst1q_lane_s32(&result, null, 0);
    ^
    neon.cpp:49:36: error: 'vst1q_lane_s32' was not declared in this scope
    vst1q_lane_s32(&result, null, 0);
    ^
    make: *** [neon.o] Error 1
    neon disabled.
    ipc_sysv 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 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
    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_posix disabled.
    zlib 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 zlib.o zlib.cpp
    zlib.cpp:42:18: fatal error: zlib.h: No such file or directory
    compilation terminated.
    make: *** [zlib.o] Error 1
    zlib disabled.
    libjpeg 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 libjpeg.o libjpeg.cpp
    libjpeg.cpp:45:21: fatal error: jpeglib.h: No such file or directory
    compilation terminated.
    make: *** [libjpeg.o] Error 1
    libjpeg disabled.
    libtiff 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 libtiff.o libtiff.cpp
    libtiff.cpp:42:20: fatal error: tiffio.h: No such file or directory
    compilation terminated.
    make: *** [libtiff.o] Error 1
    libtiff disabled.
    libmng 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 libmng.o libmng.cpp
    libmng.cpp:42:20: fatal error: libmng.h: No such file or directory
    compilation terminated.
    make: *** [libmng.o] Error 1
    libmng disabled.
    libpng 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 libpng.o libpng.cpp
    libpng.cpp:42:17: fatal error: png.h: No such file or directory
    compilation terminated.
    make: *** [libpng.o] Error 1
    libpng disabled.

    InterBase 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 ibase.o ibase.cpp
    ibase.cpp:42:19: fatal error: ibase.h: No such file or directory
    compilation terminated.


    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.


    how can i resolve this issue?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuratio

    Strange, none of the tests try to link glib.

    Have you verified that libglib-x.y.so (where x.y is a version number, e.g. 2.0) is part of the cross-compile sysroot?

    Cheers,
    _

Similar Threads

  1. Glib support cannot be enabled due to functionality tests
    By Vigneshkumar in forum Installation and Deployment
    Replies: 2
    Last Post: 12th April 2013, 13:12
  2. Qt with Phonon and Glib
    By S P in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 20th July 2010, 10:57
  3. S60 app with support for libREST and Glib
    By s0h4m in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 28th January 2010, 08:55
  4. QT4 and GLib
    By pdoria in forum Qt Programming
    Replies: 24
    Last Post: 13th March 2008, 16:21
  5. glib vs. no-glib
    By new_website85 in forum Installation and Deployment
    Replies: 6
    Last Post: 2nd January 2007, 16:21

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.