Hi Felipe, I have tried with scratchbox 1. SB1 has been installed successfully. But when i tried to configure glib2.16.2 with following command. [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi it gives following error.Please find log of configure command as followed. checking for a BSD-compatible install... /scratchbox/tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /scratchbox/tools/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-none-linux-gnueabi-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-unknown-linux-gnueabi checking host system type... arm-none-linux-gnueabi checking for the BeOS... no checking for Win32... no checking for Mac OS X Carbon support... checking for style of include used by make... GNU checking for arm-none-linux-gnueabi-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E no checking whether to enable garbage collector friendliness... no checking whether to disable memory pools... no checking for arm-none-linux-gnueabi-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for arm-none-linux-gnueabi-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking for a BSD-compatible install... /scratchbox/tools/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for pkg-config... /scratchbox/tools/bin/pkg-config checking for gawk... (cached) gawk checking for perl5... no checking for perl... perl checking for indent... no checking for perl... /scratchbox/tools/bin/perl checking for a Python interpreter with version >= 2.4... none checking for iconv_open... yes checking for grep that handles long lines and -e... /scratchbox/tools/bin/grep checking for egrep... /scratchbox/tools/bin/grep -E checking whether we are using the GNU C Library 2.1 or newer... yes checking Whether to cache iconv descriptors... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /scratchbox/tools/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /scratchbox/tools/bin/msgfmt checking for xgettext... /scratchbox/tools/bin/xgettext checking for catalogs to be installed... am ar as az be be at latin bg bn bn_IN bs ca cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kn ko ku lt lv mg mk ml mn mr ms nb ne nl nn oc or pa pl pt pt_BR ro ru rw si sk sl sq sr sr at Latn sr at ije sv ta te th tl tr tt uk vi wa xh yi zh_CN zh_HK zh_TW checking for a sed that does not truncate output... /scratchbox/tools/bin/sed checking for ld used by gcc... /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld checking if the linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... c++ -E checking for arm-none-linux-gnueabi-g77... no checking for arm-none-linux-gnueabi-xlf... no checking for arm-none-linux-gnueabi-f77... no checking for arm-none-linux-gnueabi-frt... no checking for arm-none-linux-gnueabi-pgf77... no checking for arm-none-linux-gnueabi-cf77... no checking for arm-none-linux-gnueabi-fort77... no checking for arm-none-linux-gnueabi-fl32... no checking for arm-none-linux-gnueabi-af77... no checking for arm-none-linux-gnueabi-xlf90... no checking for arm-none-linux-gnueabi-f90... no checking for arm-none-linux-gnueabi-pgf90... no checking for arm-none-linux-gnueabi-pghpf... no checking for arm-none-linux-gnueabi-epcf90... no checking for arm-none-linux-gnueabi-gfortran... no checking for arm-none-linux-gnueabi-g95... no checking for arm-none-linux-gnueabi-xlf95... no checking for arm-none-linux-gnueabi-f95... no checking for arm-none-linux-gnueabi-fort... no checking for arm-none-linux-gnueabi-ifort... no checking for arm-none-linux-gnueabi-ifc... no checking for arm-none-linux-gnueabi-efc... no checking for arm-none-linux-gnueabi-pgf95... no checking for arm-none-linux-gnueabi-lf95... no checking for arm-none-linux-gnueabi-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for arm-none-linux-gnueabi-ar... no checking for ar... ar configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf at gnu.org. checking for arm-none-linux-gnueabi-ranlib... no checking for ranlib... ranlib checking for arm-none-linux-gnueabi-strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld checking if the linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking whether the c++ linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for extra flags for POSIX compliance... none needed checking for ANSI C header files... (cached) yes checking for vprintf... yes checking for _doprnt... no checking for working alloca.h... yes checking for alloca... yes checking for mmap... yes checking for posix_memalign... yes checking for memalign... yes checking for valloc... yes checking for atexit... yes checking for on_exit... yes checking for timegm... yes checking for gmtime_r... yes checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of int... 4 checking size of void *... 4 checking size of long long... 8 checking size of __int64... 0 checking for format to printf and scanf a guint64... none checking for an ANSI C-conforming const... yes checking if malloc() and friends prototypes are gmem.h compatible... yes checking for growing stack pointer... configure: error: cannot run test program while cross compiling See `config.log' for more details. Please help me out to resolve this issue. If any where i am wrong, please correct me. Thanks in Advance, Tejas. ----- Original Message ----- From: "Felipe Contreras" <felipe.contreras at gmail.com> To: "Nigel Hsiung" <nigelcz at hotmail.com> Cc: <tejas at oriolesoftware.com>; "gst mailing list" <gstreamer-embedded at lists.sourceforge.net> Sent: Monday, October 12, 2009 8:22 PM Subject: Re: New to gstreamer > 2009/10/12 Nigel Hsiung <nigelcz at hotmail.com>: >> >> Hi Tejas, >> >>> If i follow >>> "http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded" >>> link to cross compile gstreamer for my beagle board, there is no CC >>> option >>> is given to cross compile it. >> >> The wiki is for compiling on scratchbox which does not require CC to be >> specified. > > Exactly. For an explanation of what scratchbox is, what problems it > solves, and how to cross-compile without it: > http://felipec.wordpress.com/2009/06/07/installing-scratchbox-1-and-2-for-arm-cross-compilation/ > > Cheers. > > -- > Felipe Contreras >