Hoang Quoc Viet wrote:
I have the same problem when trying to run make_opensource.sh script in opensource_build directory
=======
checking for growing stack pointer... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
make: *** No rule to make target `clean'.  Stop.
make: *** No rule to make target `install'.  Stop.
=======
That happened when configuring glib-2.12.4. Trying to ignore this, by finding all strings "cannot run test program while cross compiling" in glib-2.12.4/configure and then delete { (exit 1); exit 1; }; as suggested on other Linux forums will cause this:
============
configure: error: glib_cv_monotonic_clock must be set in cache file when cross-compiling.
============
  Any idea how to solve this problem?

Using the trick from Diego [1] and adding an additional glib_cv_monotonic_clock=no makes glib configure happy for me:

# glib_cv_stack_grows=no glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=yes glib_cv_monotonic_clock=no ./configure --build=i686-linux --host=arm-linux --prefix=$GSTREAMER_DIR --cache-file=config.cache

Regards

Dirk

[1] http://linux.omap.com/pipermail/davinci-linux-open-source/2008-January/005011.html
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to