List Info

Thread: Regarding Xfbdev is not executing on target board compiled with scratchbox




Regarding Xfbdev is not executing on target board compiled with scratchbox
user name
2007-08-30 11:12:18
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, scratchbox-users-requestlists.scratchbox.org">scratchbox-users-requestlists.scratchbox.org < scratchbox-users-requestlists.scratchbox.org"> scratchbox-users-requestlists.scratchbox.org> wrote:
Send Scratchbox-users mailing list submissions to
 &nbsp;   ;  scratchbox-userslists.scratchbox.org"> scratchbox-userslists.scratchbox.org

To subscribe or unsubscribe via the World Wide Web, visit
&nbsp; &nbsp; &nbsp;  http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
or, via email, send a message with subject or body 'help&#39; to
 &nbsp;   ;  scratchbox-users-requestlists.scratchbox.org">scratchbox-users-requestlists.scratchbox.org

You can reach the person managing the list at
 ; &nbsp; &nbsp;  scratchbox-users-ownerlists.scratchbox.org">scratchbox-users-ownerlists.scratchbox.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Scratchbox-users digest...&quot;


Today's Topics:

&nbsp; 1. Regarding the cross compiling hello-world test   ; program
 &nbsp;   (Alim Akhtar)
&nbsp; 2. Re: Regarding the cross compiling hello-world &nbsp; &nbsp; test   ; program
 &nbsp;   (Mickael Istria)


----------------------------------------------------------------------

Message: 1
Date: Wed, 29 Aug 2007 18:56:45 +0530
From: "Alim Akhtar&quot; < alim.akhtargmail.com">alim.akhtargmail.com >
Subject: [Scratchbox-users] Regarding the cross compiling hello-world
 &nbsp; &nbsp; &nbsp; test   ; program
To: scratchbox-userslists.scratchbox.org">scratchbox-userslists.scratchbox.org
Message-ID:
 &nbsp;   ;  < d79200170708290626i3247a777nce1a1ca28cea5b46mail.gmail.com">d79200170708290626i3247a777nce1a1ca28cea5b46mail.gmail.com>
Content-Type: text/plain; charset=&quot;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:
 &nbsp; &nbsp; &nbsp; 0) arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1
&nbsp;   ; &nbsp; 1) host-gcc

Enter compiler number: 0

Available CPU-transparency methods:
&nbsp;   ; &nbsp; sbrsh
&nbsp; &nbsp; &nbsp;  qemu-arm
&nbsp;   ; &nbsp; 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 aclocal9;
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 < mickael.istriapurplelabs.com">mickael.istriapurplelabs.com>
Subject: Re: [Scratchbox-users] Regarding the cross compiling
  ; &nbsp; &nbsp; hello-world &nbsp; &nbsp; test   ; program
To: scratchbox-userslists.scratchbox.org"> scratchbox-userslists.scratchbox.org
Message-ID: < 46D57799.2030105purplelabs.com">46D57799.2030105purplelabs.com>
Content-Type: text/plain; charset=ISO-8859-1

Have you tried to compile your own simplest hello world with a simple
&quot;gcc kikoo.c&quot;, just to check if gcc succeeds to build it?
Ensure your gcc is a good version with "gcc --version&quot;

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(&quot;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-userslists.scratchbox.org">Scratchbox-userslists.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
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )