$cd dvsdk/qt-everywhere-opensource-src-4.7.3-arm
$vim arm-config.sh
--
#!/bin/sh
./configure \
-prefix /usr/local/qt-emembeded-4.7.3-arm-linux \
-opensource \
-release \
-shared \
-system-nas-sound \
-qt-sql-sqlite \
-qt-zlib \
-optimized-qmake \
-confirm-license \
-embedded arm \
-platform qws/linux-x86-g++ \
-xplatform qws/linux-omap-g++ \
-depths 16,18,24,32 \
-release \
-fast \
-pch \
-dbus \
-force-pkg-config \
-phonon \
-phonon-backend \
-qt-libjpeg \
-qt-libpng \
-qt-libtiff \
-qt-gif \
-qt-freetype \
-multimedia \
-qt-mouse-tslib \
-v \
-L "/home/linuxsir/arm-linux/arm-2009q1/lib -lgthread-2.0" \
-I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include" \
-L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm" \
-I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus" \
-I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus" \
-I "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa" \
-L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib" \
-L "/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer"
--
$./arm-config.sh
----------------------------------------------------------------------------------
make: Nothing to be done for `first'.
The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found.
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.
**********************
add -ldbus-1 -lpthread -lrt
$vim mkspecs/qws/linux-omap-g++/qmake.conf
# flags for libdbus-1
QT_CFLAGS_DBUS="-I /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0 -I /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include"
QT_LIBS_DBUS="-L /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -ldbus-1 -lpthread -lrt"
------------------------------------------------------------------------------------
arm-none-linux-gnueabi-g++ -Wl,-O1 -o sound sound.o -L-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -litter-debian
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -litter-debian
***********************
delete -litter-debian
**********************
Debug .................. no
Qt 3 compatibility ..... yes
QtDBus module .......... yes (run-time)
QtConcurrent code ...... yes
QtGui module ........... yes
QtScript module ........ yes
QtScriptTools module ... yes
QtXmlPatterns module ... no
Phonon module .......... no
Multimedia module ...... yes
SVG module ............. yes
WebKit module .......... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
Declarative module ..... yes
Declarative debugging ...yes
Support for S60 ........ no
Symbian DEF files ...... no
STL support ............ yes
PCH support ............ yes
MMX/3DNOW/SSE/SSE2/SSE3. no/no/no/no/no
SSSE3/SSE4.1/SSE4.2..... no/no/no
AVX..................... no
iWMMXt support ......... no
NEON support ........... yes
IPv6 support ........... yes
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... no
Iconv support .......... no
Glib support ........... no
GStreamer support ...... no
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
TIFF support ........... plugin (qt)
JPEG support ........... plugin (qt)
PNG support ............ yes (qt)
MNG support ............ plugin (qt)
zlib support ........... yes
Session management ..... no
Embedded support ....... arm
Freetype2 support ...... yes
Graphics (qt) .......... linuxfb multiscreen
Graphics (plugin) ......
Decorations (qt) ....... styled windows default
Decorations (plugin) ...
Keyboard driver (qt) ... tty
Keyboard driver (plugin) ..
Mouse driver (qt) ...... pc linuxtp tslib
Mouse driver (plugin) ..
OpenGL support ......... no
OpenVG support ......... no
SQLite support ......... qt (qt)
OpenSSL support ........ no
Alsa support ........... no
ICD support ............ no
------------------------------------------------------------------------------------
arm-none-linux-gnueabi-g++ -Wl,-O1 -o glib glib.o -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -pthread -lgthread-2.0 -lrt -lglib-2.0
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgthread-2.0
collect2: ld returned 1 exit status
make: *** [glib] Error 1
Glib disabled.
Phonon support cannot be enabled due to functionality tests!
************************
cross lib gthread-2.0
glib-2.26.0
$./configure CC=arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm
$make
**********************
------------------------------------------------------------------------------------
$tar xzvf glib-2.12.4.tar.gz
$cd glib-2.12.4
$NM=nm CC=arm-none-linux-gnueabi-gcc ./configure --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm glib_cv_stack_grows=no glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes ac_cv_lib_rt_clock_gettime=no glib_cv_monotonic_clock=yes
checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
**********************
gettext-0.18.1.1
$./configure CC=arm-none-linux-gnueabi-gcc --host=arm-linux --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
$make
configure: error: cannot find sources (gettext-tools/src/msgfmt.c) in . or ..
$vim gettext-tools/gnulib-lib/wchar.h
/usr/bin/ld: unknown architecture of input file `.libs/lib-asprintf.o' is incompatible with i386 output
collect2: ld returned 1 exit status
libtool: link: arm-none-linux-gnueabi-gcc -shared .libs/lib-asprintf.o .libs/autosprintf.o -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0.0.0
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/autosprintf.o: Relocations in generic ELF (EM: 3)
.libs/autosprintf.o: could not read symbols: File in wrong format
------------------------------------------------------------------------------
install gettext-0.17
$cd gettext-0.17
$CC=arm-none-linux-gnueabi-gcc ./configure --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm --disable-shared
In file included from mbchar.h:157,
from mbchar.c:21:
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:112: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:118: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:121: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:125: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:129: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:134: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:137: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:142: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:147: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:152: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:157: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:163: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:176: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towctrans'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:231: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:237: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:240: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:244: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:248: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:253: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:256: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:261: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:266: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:271: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:276: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:281: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:290: error: expected ')' before '__wc'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower_l'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper_l'
/home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h:310: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towctrans_l'
In file included from mbchar.c:21:
mbchar.h:239: error: expected ')' before 'wc'
First Follow:
vim /home/linuxsir/arm-linux/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/usr/include/wctype.h
***********************solved:
#Install gettext-0.17
There have gunlib bug in gettext-0.17, so must fix two files
/gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h
/gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h
$vim gettext-runtime/gnulib-lib/wchar.in.h
$vim gettext-tools/gnulib-lib/wchar.in.h
-----------------------------------------------------------
* the declaration of wcwidth().
*/
+#ifdef __need_mbstate_t
+/* Special invocation convention inside glibc header files. */
+
+# @INCLUDE_NEXT@ @NEXT_WCHAR_H@
+
+#else
+/* Normal invocation convention. */
+
#ifndef _GL_WCHAR_H
#endif /* _GL_WCHAR_H */
#endif /* _GL_WCHAR_H */
+#endif
$make
$make intall
--------------------------------------------------------------------------------
continue install glib:
$./configure "CC=arm-none-linux-gnueabi-gcc -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib" --build=arm-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm glib_cv_stack_grows=no glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes ac_cv_lib_rt_clock_gettime=no glib_cv_monotonic_clock=yes
checking for msgfmt... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
$vim configure
if test "$gt_cv_have_gettext" != "yes" ; then
{ { echo "$as_me:$LINENO: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
" >&5
echo "$as_me: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
" >&2;}
# { (exit 1); exit 1; }; //shielded this line
}
fi
$make
$make install
or
$vim arn-linux.cache
--
b_cv_stack_grows=no
glib_cv_uscore=no
ac_cv_func_posix_getpwuid_r
ac_cv_func_posix_getgrgid_r
ac_cv_lib_rt_clock_gettime=yes
glib_cv_monotonic_clock=yes
--
then
$vim configure to //shielded that line
$make
$make install
----------------------------------------------------------------------------------
cross complie qt-everywhere-opensource-src-4.7.3-arm:
$./arm-config.sh
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgstreamer-0.10
collect2: ld returned 1 exit status
make: *** [gstreamer] Error 1
GStreamer disabled.
Phonon support cannot be enabled due to functionality tests!
arm-none-linux-gnueabi-g++ -Wl,-O1 -o gstreamer gstreamer.o -L/home/linuxsir/arm-linux/arm-2009q1/lib\ -lgthread-2.0 -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lm -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgstreamer-0.10
$wget gstreamer-0.10.13.tar.gz
$tar xzvf gstreamer-0.10.13.tar.gz
$cd gstreamer-0.10.13
./configure CC=arm-none-linux-gnueabi-gcc --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm LDFLAGS=-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib CFLAGS=-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include --disable-registry --disable-loadsave --disable-gtk-doc ac_cv_func_register_printf_function=no --disable-tests --disable-valgrind --disable-debug --disable-gst-debug
-------------------------------------------------------------------------------------
checking for perl... /usr/bin/perl
checking for bison... no
configure: error: Could not find bison
$tar xzvf bison-2.5.tar.gz
$cd bison-2.5
$./configure CC=arm-none-linux-gnueabi-gcc --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm LDFLAGS=-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib CFLAGS=-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include
$make
$make install
-------------------------------------------------------------------------------------
continue gstream cross make:
$./configure CC=arm-none-linux-gnueabi-gcc --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm LDFLAGS=-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib CFLAGS=-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include --disable-registry --disable-loadsave --disable-gtk-doc ac_cv_func_register_printf_function=no --disable-tests --disable-valgrind --disable-debug --disable-gst-debug
checking for perl... /usr/bin/perl
checking for bison... no
configure: error: Could not find bison
$export PATH=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/bin:$PATH
----------------------------------------------------------------------------------------
$bison -v
bash: /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/bin/bison: cannot execute binary file
$./configure CC=arm-none-linux-gnueabi-gcc --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include LDFLAGS=-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib CFLAGS=-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include --disable-registry --disable-loadsave --disable-gtk-doc ac_cv_func_register_printf_function=no --disable-tests --disable-valgrind --disable-debug --disable-gst-debug
also:
checking bison version >= 1.35... Unterminated <> operator at - line 1.
no
configure: error: Your bison version is too old, 1.35 or later is required.
$sudo dpkg -i bison_13a2.3.dfsg-4build1_i386.deb
$sudo dpkg -i flex_2.5.33-10build1_i386.deb
$./configure CC=arm-none-linux-gnueabi-gcc --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include LDFLAGS=-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib CFLAGS=-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include --disable-registry --disable-loadsave --disable-gtk-doc ac_cv_func_register_printf_function=no --disable-tests --disable-valgrind --disable-debug --disable-gst-debug
OK,past!
$make
---------------------------------------------------------------------------------
In file included from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
../../../libs/gst/check/gstcheck.h:30:19: error: check.h: No such file or directory
In file included from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
../../../libs/gst/check/gstcheck.h:78: error: expected ')' before '*' token
gstbufferstraw.c: In function 'gst_buffer_straw_start_pipeline':
gstbufferstraw.c:90: warning: implicit declaration of function 'fail_if'
make[4]: *** [libgstcheck_0.10_la-gstbufferstraw.lo] Error 1
$find -name "gstbufferstraw.h"
$find -name "gstcheck.h"
$vim ./libs/gst/check/gstcheck.h
#include <stdlib.h>
//#include <check.h> //cannot found
#include <gst/gst.h>
$tar xzvf gst-plugins-base-0.10.36.tar.gz
cd gst-plugins-base-0.10.36
gst-plugins-base-0.10.36:
CC=arm-none-linux-gcc PKG_CONFIG_PATH=/home/work/gst/lib/pkgconfig ./configure --build=i686-linux --host=arm-none-linux \ --prefix=/home/work/gst --disable-valgrind --disable-x --disable-gnome_vfs --disable-alsa \ --disable-ogg --disable-pango --disable-theora --disable-vorbis --disable-examples
--------------------------------------------------------------------------------------
arm-none-linux-gnueabi-g++: : No such file or directory
arm-none-linux-gnueabi-g++: -O3: No such file or directory
../../3rdparty/zlib/adler32.c:57: error: 'uLong adler32' redeclared as different kind of symbol
../../3rdparty/zlib/zlib.h:1271: error: previous declaration of 'uLong adler32(uLong, const Bytef*, uInt)'
../../3rdparty/zlib/adler32.c:57: error: 'adler' was not declared in this scope
../../3rdparty/zlib/adler32.c:57: error: 'buf' was not declared in this scope
../../3rdparty/zlib/adler32.c:57: error: 'len' was not declared in this scope
../../3rdparty/zlib/adler32.c:61: error: expected unqualified-id before '{' token
*************************make install in right filepath
---------------------------------------------------------------------------------------
checking for GLIB... no
no
configure: Requested 'glib-2.0 >= 2.18' but version of GLib is 2.12.4
configure: error: This package requires GLib >= 2.18 to compile.
--------------------------------------------------------------------------------------
In file included from gstbufferstraw.h:25,
from gstbufferstraw.c:31:
../../../libs/gst/check/gstcheck.h:78: error: expected ')' before '*' token
gstbufferstraw.c: In function 'gst_buffer_straw_start_pipeline':
gstbufferstraw.c:90: warning: implicit declaration of function 'fail_if'
$cd /home/linuxsir
$mkdir dvsdk
$tar xzvf ti-dvsdk_dm3730-evm_4_02_00_06.tar.gz
$cd ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib
$cp libgstreamer-0.10.la /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$cp ./pkgconfig/gstreamer-0.10.pc /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/pkgconfig/
$cp -r gstreamer-0.10/ /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$cp libgstreamer-0.10.* /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$./arm-config.sh
-------------------------------------------------------------------------------------------------------------------------------
-L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lxml2 -lm -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgstinterfaces-0.10
$cp libgstinterfaces-0.10.* /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$./arm-config.sh
----------------------------------------------------------------------------------------------------------------------
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgstvideo-0.10
$cp libgstvideo-0.10.* /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$./arm-config.sh
----------------------------------------------------------------------------------------------------------------------------
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgstbase-0.10
$cp libgstbase-0.10.* /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$./arm-config.sh
---------------------------------------------------------------------------------------------------------------------
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libxml2.so.2, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libz.so.1, needed by /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so, not found (try using -rpath or -rpath-link)
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlFindCharEncodingHandler@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlParseFile@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_realloc_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewDocNode@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlSaveFormatFileTo@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewChild@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_malloc0_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_assertion_message_expr'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlDocGetRootElement@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlParseMemory@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_once_init_enter_impl'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewNs@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlFree@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNewDoc@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_mapped_file_unref'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlOutputBufferCreateFile@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlSearchNsByHref@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_assertion_message'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_thread_get_initialized'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_slice_copy'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_malloc_n'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `g_once_init_leave'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlParseCharEncoding@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlNodeGetContent@LIBXML2_2.4.30'
/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/libgstreamer-0.10.so: undefined reference to `xmlFreeDoc@LIBXML2_2.4.30'
$cp libgstreamer-0.10.* /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/
$./arm-config.sh
----------------------------------------------------------------------------------------------------------------------
-I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o libmng.o libmng.cpp
libmng.cpp:42:20: error: libmng.h: No such file or directory
libmng.cpp:50:2: error: #error System libmng version is less than 1.0.9; using built-in version instead.
libmng.cpp: In function 'int main(int, char**)':
libmng.cpp:46: error: 'mng_handle' was not declared in this scope
libmng.cpp:46: error: expected `;' before 'hMNG'
libmng.cpp:47: error: 'hMNG' was not declared in this scope
libmng.cpp:47: error: 'mng_cleanup' was not declared in this scope
make: *** [libmng.o] Error 1
$vim arm-config.sh
add:
-no-libmng \
-no-qt3support \
-no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 \
-no-avx -no-neon -no-openssl -no-cups -no-ssse3 \
$./arm-config.sh
--------------------------------------------------------------------------------------------------------------------
-o libmng.o libmng.cpp
libmng.cpp:42:20: error: libmng.h: No such file or directory
libmng.cpp:50:2: error: #error System libmng version is less than 1.0.9; using built-in version instead.
libmng.cpp: In function 'int main(int, char**)':
libmng.cpp:46: error: 'mng_handle' was not declared in this scope
libmng.cpp:46: error: expected `;' before 'hMNG'
libmng.cpp:47: error: 'hMNG' was not declared in this scope
libmng.cpp:47: error: 'mng_cleanup' was not declared in this scope
make: *** [libmng.o] Error 1
libmng disabled.
DB2 auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o db2.o db2.cpp
db2.cpp:42:20: error: sqlcli.h: No such file or directory
db2.cpp:43:21: error: sqlcli1.h: No such file or directory
make: *** [db2.o] Error 1
DB2 disabled.
InterBase auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o ibase.o ibase.cpp
ibase.cpp:42:19: error: ibase.h: No such file or directory
make: *** [ibase.o] Error 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:42:19: error: mysql.h: No such file or directory
make: *** [mysql.o] Error 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o mysql.o mysql.cpp
mysql.cpp:42:19: error: mysql.h: No such file or directory
make: *** [mysql.o] Error 1
MySQL (thread-unsafe) disabled.
OCI auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o oci.o oci.cpp
oci.cpp:42:17: error: oci.h: No such file or directory
make: *** [oci.o] Error 1
OCI disabled.
ODBC auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o odbc.o odbc.cpp
odbc.cpp:45:17: error: sql.h: No such file or directory
odbc.cpp:46:20: error: sqlext.h: No such file or directory
make: *** [odbc.o] Error 1
ODBC disabled.
iODBC auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o iodbc.o iodbc.cpp
iodbc.cpp:42:17: error: sql.h: No such file or directory
iodbc.cpp:43:20: error: sqlext.h: No such file or directory
make: *** [iodbc.o] Error 1
iODBC disabled.
PostgreSQL auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o psql.o psql.cpp
psql.cpp:42:22: error: libpq-fe.h: No such file or directory
psql.cpp: In function 'int main(int, char**)':
psql.cpp:46: error: 'PQescapeBytea' was not declared in this scope
psql.cpp:47: error: 'PQunescapeBytea' was not declared in this scope
make: *** [psql.o] Error 1
PostgreSQL disabled.
SQLite2 auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o sqlite2.o sqlite2.cpp
sqlite2.cpp:42:20: error: sqlite.h: No such file or directory
make: *** [sqlite2.o] Error 1
SQLite2 disabled.
unknown SQL driver: sqlite_symbian
TDS auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o tds.o tds.cpp
tds.cpp:42:22: error: sybfront.h: No such file or directory
tds.cpp:43:19: error: sybdb.h: No such file or directory
make: *** [tds.o] Error 1
TDS disabled.
NIS auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o nis.o nis.cpp
arm-none-linux-gnueabi-g++ -Wl,-O1 -o nis nis.o -L/home/linuxsir/arm-linux/arm-2009q1/lib\ -lgthread-2.0\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib\ -L/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer -lnsl
NIS enabled.
Cups auto-detection... ()
arm-none-linux-gnueabi-g++ -c -pipe -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wall -W -I../../../mkspecs/qws/linux-omap-g++ -I. -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa -o cups.o cups.cpp
cups.cpp:42:23: error: cups/cups.h: No such file or directory
cups.cpp: In function 'int main(int, char**)':
cups.cpp:46: error: 'cups_dest_t' was not declared in this scope
cups.cpp:46: error: 'd' was not declared in this scope
cups.cpp:47: error: 'cupsGetDests' was not declared in this scope
make: *** [cups.o] Error 1
Cups disabled.
$tar zxvf mysql-5.0.22.tar.gz
$cd mysql-5.0.22/
$./configure CC=arm-none-linux-gnueabi-gcc --host=arm-none-linux-gnueabi --prefix=/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm --with-shared --without-debug
checking for pdftex... no
checking for tex... no
checking "return type of sprintf"... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
XXXXXXXXXXXXXXXXXXXXXX
$find -name "sqlite*.h"
./src/3rdparty/sqlite/sqlite3.h
auto suport sqlite3.It's does't matter there is no sqlite or sqlite2.
Just continue.
------------------------------------------------------------------------------------------