PDA

View Full Version : Glib support cannot be enabled due to functionality tests! in Qt 4.8 configuration



Narthan
3rd May 2016, 07:09
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..

anda_skoa
3rd May 2016, 08:52
So, any indication in the verbose report?

Cheers,
_

Narthan
3rd May 2016, 10:46
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?

anda_skoa
3rd May 2016, 11:41
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,
_