Thanks Mickael
i got the problem, the problem was with qemu, i installed newer version of
scratchbox and its work just fine.
I have another problem: I am compiling x-org (TinyX) server, i compiled all
the needed libs and also the x-org server. but the final binary are not
getting executed on my target board.
When i run ./Xfbdev on my target its says:
sh: ./Xfbdev : No such file or directroy
i have no clue what went wrong, If any one have any idea do let me know.
One thing, the linux running on the target is compiled with a normal cross
compiler but not with scatchbox. Does that make a difference?

Appreciate your help

Regards
Alim




On 8/30/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Send Scratchbox-users mailing list submissions to
>        scratchbox-users@lists.scratchbox.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> or, via email, send a message with subject or body 'help' to
>        [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>        [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Scratchbox-users digest..."
>
>
> Today's Topics:
>
>   1. Regarding the cross compiling hello-world test    program
>      (Alim Akhtar)
>   2. Re: Regarding the cross compiling hello-world     test    program
>      (Mickael Istria)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 29 Aug 2007 18:56:45 +0530
> From: "Alim Akhtar" <[EMAIL PROTECTED]>
> Subject: [Scratchbox-users] Regarding the cross compiling hello-world
>        test    program
> To: scratchbox-users@lists.scratchbox.org
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear all,
>
> Today i installed successfully scratchbox-0.9.8.8 on my FC-5 system, with
> no
> warning no errors.I created my target successfuly, which is a ARM based
> board.
> I tried to test by running the test application which was there with this
> package.
> but to my surprised its looking for the gcc compiler instead of arm-linux-
>
> [sbox-HOST: ~] > sbox-config --create-target
>
> Enter target name: alim-ARM
>
> Available compilers:
>        0) arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1
>        1) host-gcc
>
> Enter compiler number: 0
>
> Available CPU-transparency methods:
>        sbrsh
>        qemu-arm
>        qemu-ppc
>
> Enter method name (qemu-arm): qemu-arm
>
> Completed writing configuration to: /targets/alim-ARM.config
>
> Below is what is got when i run ./autogen.sh
>
> -------------start---------------------
> [sbox-alim-ARM: /scratchbox/users/alim/home/alim/hello-world] >
> ./autogen.sh
> + aclocal
> /scratchbox/tools/share/aclocal/pkg.m4:5: warning: underquoted definition
> of
> PKG_CHECK_MODULES
> run info '(automake)Extending aclocal'
> or see
> http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> + autoconf
> + autoheader
> + automake --add-missing --foreign
> + ./configure
> 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 for gcc... gcc
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> [sbox-Alim-ARM: /scratchbox/users/alim/home/alim/hello-world]
> -------------------end---------------------------------------------
>
> Can any one please tell me whats the problem. i followed all the steps
> from
>
> http://www.scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html
>
> Will hearty appreciate your suggestions and help.
>
> Regards
> Alim
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20070829/f1c27846/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 29 Aug 2007 15:41:45 +0200
> From: Mickael Istria <[EMAIL PROTECTED]>
> Subject: Re: [Scratchbox-users] Regarding the cross compiling
>        hello-world     test    program
> To: scratchbox-users@lists.scratchbox.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Have you tried to compile your own simplest hello world with a simple
> "gcc kikoo.c", just to check if gcc succeeds to build it?
> Ensure your gcc is a good version with "gcc --version"
>
> If it cannot run, but display the good version, problem may come from
> your qemu. Find an independent executable file compiled for your
> architecture, and verify if qemu can launch it.
>
> Any other issue may be a problem with libraries.
>
>
> Try to compile a "main() { printf("kikoolol!"; }" and you may get a more
> detailed error.
> (if it is a problem of libraries, use sb-menu instead of sbox-config, it
> wil advise you to install some files on your target)
>
> Mickael
>
>
> ------------------------------
>
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
>
> End of Scratchbox-users Digest, Vol 24, Issue 5
> ***********************************************
>



-- 
aLim akHtaR
mAin hUn nA :-)
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to