Hello,
I am trying build qt5.x package for TI's arm but I get errors which I don't know how to resolve.
It seems that the package can't find some headers which are totally missing in out host environment.
If they are supposed to be installed in host. isn't it that the application on target will search for the library of those packages cross-sompiled and won't find them ?
These libararies for example are supposed to be installed in HOST (but not sure if they should also be build in target):
libfontconfig1-dev libdbus-1-dev libfreetype6-dev libudev-dev libicu-dev \ libsqlite3-dev libxslt1-dev libssl-dev libasound2-dev libavcodec-dev libavformat-dev libswscale-dev \ libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev gstreamer-tools gstreamer0.10-plugins-good \ gstreamer0.10-plugins-bad libraspberrypi-dev libpulse-dev libx11-dev libglib2.0-dev libcups2-dev \ freetds-dev libsqlite0-dev libpq-dev libiodbc2-dev libmysqlclient-dev firebird-dev libpng12-dev \ libjpeg62-dev libgst-dev libxext-dev libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 \ libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 \ libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev \ libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-glx0-dev libxi-dev \ libdrm-dev flex ruby gperf bison libts-dev)
ubuntu@ubuntu-laptop:/media/sdb/qt5/qt-everywhere-opensource-src-5.1.1$ ./configure -prefix /qt5 -release -make libs -xplatform linux-TIarmv7-g++ -opengl es2 -confirm-license -opensource -icu -no-xcb -no-pch -make examples -verbose >> myerr
Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
floatmath.cpp:44:5: warning: unused parameter 'argc'
floatmath.cpp:44:5: warning: unused parameter 'argv'
cc1plus: error: unrecognized command line option "-msse2"
make: *** [sse2.o] Error 1
cc1plus: error: unrecognized command line option "-msse3"
make: *** [sse3.o] Error 1
cc1plus: error: unrecognized command line option "-mssse3"
make: *** [ssse3.o] Error 1
cc1plus: error: unrecognized command line option "-msse4.1"
make: *** [sse4_1.o] Error 1
cc1plus: error: unrecognized command line option "-msse4.2"
make: *** [sse4_2.o] Error 1
cc1plus: error: unrecognized command line option "-mavx"
make: *** [avx.o] Error 1
libjpeg.cpp: In function 'int main(int, char**)':
libjpeg.cpp:51:32: warning: 'cinfo' is used uninitialized in this function
db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory
compilation terminated.
make: *** [db2.o] Error 1
ibase.cpp:42:19: fatal error: ibase.h: No such file or directory
compilation terminated.
make: *** [ibase.o] Error 1
../mysql/mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
compilation terminated.
make: *** [mysql.o] Error 1
mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
compilation terminated.
make: *** [mysql.o] Error 1
oci.cpp:42:17: fatal error: oci.h: No such file or directory
compilation terminated.
make: *** [oci.o] Error 1
odbc.cpp:45:17: fatal error: sql.h: No such file or directory
compilation terminated.
make: *** [odbc.o] Error 1
iodbc.cpp:42:17: fatal error: sql.h: No such file or directory
compilation terminated.
make: *** [iodbc.o] Error 1
psql.cpp:42:22: fatal error: libpq-fe.h: No such file or directory
compilation terminated.
make: *** [psql.o] Error 1
sqlite2.cpp:42:20: fatal error: sqlite.h: No such file or directory
compilation terminated.
make: *** [sqlite2.o] Error 1
tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
compilation terminated.
make: *** [tds.o] Error 1
In file included from dbus.cpp:43:0:
/media/sdc/dvrrdk/DVRRDK_04.01.00.02/ti_tools/cgt_a8/arago/linux-devkit/arm-arago-linux-gnueabi/usr/include/dbus-1.0/dbus/dbus.h:29:33: fatal error: dbus/dbus-arch-deps.h: No such file or directory
compilation terminated.
make: *** [dbus.o] Error 1
glib.cpp: In function 'int main(int, char**)':
glib.cpp:55:38: warning: 'pollfd' is used uninitialized in this function
glib.o: In function `main':
glib.cpp:(.text+0x20): undefined reference to `g_thread_init'
glib.cpp:(.text+0x24): undefined reference to `g_main_context_default'
glib.cpp:(.text+0x30): undefined reference to `g_source_new'
glib.cpp:(.text+0x38): undefined reference to `g_source_add_poll'
glib.cpp:(.text+0x48): undefined reference to `g_threads_got_initialized'
collect2: ld returned 1 exit status
make: *** [glib] Error 1
icu.cpp:42:28: fatal error: unicode/utypes.h: No such file or directory
compilation terminated.
make: *** [icu.o] Error 1
ubuntu@ubuntu-laptop:/media/sdb/qt5/qt-everywhere-opensource-src-5.1.1$
In the following link from TI's patch for Qt I see that the latest version patches is QT5.1.1 which is supposed to support SGX:
Does it mean that later version should not be used with TI's arm ?
I have removed icu from configure shell command. Is it required for the openGL ?
Regards,
Ran