Hi All,
I have downloaded example project, target is omap3 for me.

git-clone git://linux.onarm.com/git/example-project.git
cd example-project
matrix install -j2 -comap3

Checking cache: 2
0/1 Building   src/gtk-doc
0/1 Failed     src/gtk-doc/meta/build.log
Error: Failed to build gtk-doc

it is giving error while compiling gtk-doc

the log is pasted below:-
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--disable-gtk-doc --disable-xml-docs --disable-doxygen-docs
--disable-docbook --disable-docs --disable-demos --disable-examples
--disable-tests --disable-debug
--with-xml-catalog=/scratchbox/devkits/doctools/etc/xml/catalog
checking for a BSD-compatible install... /scratchbox/tools/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [__matrix_build] Error 1
~

Since we have no ctrl over the build process, if done manuallly --host in
makefile would do the trick, but how can this be done now?

~
SBOX_CPU=arm
SBOX_OS=none-linux-gnueabi
SBOX_CLIB=glibc
SBOX_CPUTRANSPARENCY_METHOD=/scratchbox/devkits/cputransp/bin/sbrsh
SBOX_DEVKIT_NAMES=doctools:git:mtd:perl:cputransp

# DO NOT USE THESE IN YOUR MAKEFILES

SBOX_DEFAULT_GCC_PREFIX=arm-none-linux-gnueabi-
SBOX_TARGET_DIR=/targets/vandana
SBOX_TARGET_SETUP_SCRIPT=/scratchbox/compilers/arm-linux-2007q1-21/target_setup.sh

SBOX_CROSS_GCC_NAME=arm-linux-2007q1-21
SBOX_CROSS_GCC_PREFIX_LIST=arm-linux-gnueabi-:arm-linux-:arm-none-linux-gnueabi-
SBOX_CROSS_GCC_SUBST_PREFIX=sbox-arm-none-linux-gnueabi-
SBOX_CROSS_GCC_SPECS_FILE=/scratchbox/compilers/arm-linux-2007q1-21/gcc.specs
SBOX_CROSS_GCC_DIR=/scratchbox/compilers/arm-linux-2007q1-21/bin
SBOX_CROSS_GCC_LD_ARGS=

SBOX_HOST_GCC_NAME=host-gcc
SBOX_HOST_GCC_PREFIX_LIST=host-
SBOX_HOST_GCC_SUBST_PREFIX=host-
SBOX_HOST_GCC_SPECS_FILE=/scratchbox/compilers/host-gcc/host-gcc.specs
SBOX_HOST_GCC_DIR=/scratchbox/compilers/host-gcc/bin
SBOX_HOST_GCC_LD_ARGS="-rpath /scratchbox/compilers/host-gcc/lib/
-L/scratchbox/compilers/host-gcc/lib"


On Mon, Dec 22, 2008 at 2:01 PM, Kalle Vahlman <kalle.vahl...@gmail.com>wrote:

> 2008/12/22 vandy linux <vandy.li...@gmail.com>:
> > Hi Peter,
> > hello world ran fine.
> > I have 2 questions--
> >
> > 1) I intend to extract packages from http://linux.onarm.com/gitweb/ ,
> say
> > busybox and need to compile it through matrix,
> > but I think I need to create a new project (create components, configDir
> as
> > well as main file myself) , How can I do that, What contents go into
> these
> > files, is there some tutorial for it..
>
> Yes, there is a user guide:
>
>  http://linux.onarm.com/index.php/User_guide
>
> > 2)When I do a matrix install of example_project , I get the following
> errror
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... configure: error: cannot run C
> > compiled programs.
> > If you meant to cross compile, use `--host'.
>
> The  actual error in the components config.log would be interesting,
> but usually this is due to bad setup in the target (most often cpu
> transparency) or passing in incompatible arguments for the
> compilation.
>
> --
> Kalle Vahlman, z...@iki.fi
> Powered by http://movial.fi
> Interesting stuff at http://sandbox.movial.com
> See also http://syslog.movial.fi
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to