----- "Cornelius Hald" <h...@icandy.de> wrote:
> ----- "Felipe Contreras" <felipe.contre...@gmail.com> wrote:
> > On Mon, Mar 9, 2009 at 12:01 AM, Cornelius Hald <h...@icandy.de>
> > wrote:
> > > Hi,
> > >
> > > I just saw that a new version of qemu was released. Did anyone
> try
> > to use this with scratchbox? If I understand it correctly it should
> > improve the compatibility with the tablets. Is it worth a try?
> > >
> > > http://www.nongnu.org/qemu/changelog.html
> > > http://www.phoronix.com/scan.php?page=news_item&px=NzEyNA
> > 
> > I tried, it didn't work with threads... but now it's fixed in the
> > repository:
> >
> http://repo.or.cz/w/qemu.git?a=commit;h=c2764719914ff0c4d6c06adafea17629600f21ba
> > 
> > Maybe the next stable release?
> 
> Thanks for your answer. How did you do it?
> What I did is:
> - Compiled qemu 0.10
> - Copied the binary qemu-0.10.0/arm-linux-user/qemu-arm to
> /scratchbox/devkits/cputransp/bin/qemu-arm-0.10
> - Changed /scratchbox/devkits/cputransp/etc/cputransp-methods to
> contain the line: qemu-arm-0.10
> - Changed /scratchbox/users/conny/targets/DIABLO_ARMEL.config to
> contain
> SBOX_CPUTRANSPARENCY_METHOD=/scratchbox/devkits/cputransp/bin/qemu-arm-0.10
> 
> However this seems to be not enough (or completely wrong). When I try
> to run an ARM binary from inside scratchbox I get:
> 
> [sbox-DIABLO_ARMEL: ~] > ./hello
> /scratchbox/tools/bin/misc_runner:
> /scratchbox/devkits/cputransp/bin/qemu-arm-0.10: No such file or
> directory
> 
> I hope you can help me on that, I really would like to see if the new
> qemu version solves some problems that I have.

Relying to myself :) It seems like I found the problem. If I try to run the new 
qemu from inside scratchbox I get this:
[sbox-DIABLO_ARMEL: ~] > /scratchbox/devkits/cputransp/bin/qemu-arm-0.10
/scratchbox/devkits/cputransp/bin/qemu-arm-0.10: 
/scratchbox/host_shared/lib/libc.so.6: version `GLIBC_2.4' not found (required 
by /scratchbox/devkits/cputransp/bin/qemu-arm-0.10)
/scratchbox/devkits/cputransp/bin/qemu-arm-0.10: 
/scratchbox/host_shared/lib/libc.so.6: version `GLIBC_2.8' not found (required 
by /scratchbox/devkits/cputransp/bin/qemu-arm-0.10)
/scratchbox/devkits/cputransp/bin/qemu-arm-0.10: 
/scratchbox/host_shared/lib/libc.so.6: version `GLIBC_2.3.4' not found 
(required by /scratchbox/devkits/cputransp/bin/qemu-arm-0.10)

So it seems that the problem is the compilation of qemu on the host. Because of 
this qemu has dependencies to different versions of libc6. Versions that are 
not available from inside scratchbox. I'll try to fix that...

Cheers!
Conny

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to