glib_cross_compiling issue
- From: Lokesh Kumar <lokesh datawaysolution com>
- To: gtk-list gnome org
- Cc: Harsh Chauhan <harsh datawaysolution com>, Shilpa S Jadhav <Shilpa datawaysolution com>, Kalyan Alle <kalyan datawaysolution com>
- Subject: glib_cross_compiling issue
- Date: Wed, 25 May 2011 23:14:52 +0530
Hi
We are trying to cross compile glib-2.29.4 for ARM .But some issues we are facing while cross compiling.
Following is command we have used for configuring
./configure --cache-file=arm-linux.cache --host=arm CC=arm-none-linux-gnueabi-gcc CROSS_COMPILE=arm-none-linux-gnueabi --prefix=/home/shilpa/jorjin/ ZLIB_CFLAGS=/home/shilpa/Desktop/bluetooth/zlib-1.2.5/libz.a ZLIB_LIBS=/home/shilpa/Desktop/bluetooth/zlib-1.2.5/libz.a
The contents of arm-linux.cache is
glib_cv_have_qsort_r=yes
glib_cv_stack_grows=no
glib_cv_uscore=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_path_GLIB_COMPILE_SCHEMAS=yes
ac_cv_path_GLIB_GENMARSHAL=yes
While doing make we are getting following error
make all-recursive
make[1]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4'
Making all in .
make[2]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4'
make[2]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4'
Making all in m4macros
make[2]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/m4macros'
Making all in glib
make[2]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib'
make all-recursive
make[3]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib'
Making all in libcharset
make[4]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/libcharset'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/libcharset'
Making all in gnulib
make[4]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/gnulib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/gnulib'
Making all in pcre
make[4]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/pcre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/pcre'
Making all in update-pcre
make[4]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/update-pcre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/update-pcre'
Making all in .
make[4]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib'
Making all in tests
make[4]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib/tests'
make[3]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib'
make[2]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/glib'
Making all in gmodule
make[2]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gmodule'
make all-am
make[3]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gmodule'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gmodule'
make[2]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gmodule'
Making all in gthread
make[2]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gthread'
Making all in .
make[3]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gthread'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gthread'
Making all in tests
make[3]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gthread/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gthread/tests'
make[2]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gthread'
Making all in gobject
make[2]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gobject'
make glib-genmarshal
make[3]: Entering directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gobject'
make[3]: `glib-genmarshal' is up to date.
make[3]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gobject'
GEN stamp-gmarshal.h
yes: invalid option -- '-'
Try `yes --help' for more information.
make[2]: *** [stamp-gmarshal.h] Error 1
make[2]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shilpa/Desktop/bluetooth/glib-2.29.4'
make: *** [all] Error 2
Need help to rectify this error.Please help me
--
Thanks,
Lokesh Kumar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]