Yes, rebuilding qemu with arm-eabi patches (
http://qemu-arm-eabi.wiki.sourceforge.net/) will fix this problem. And sorry
because the link that I passed to you was in portuguese.
But the steps are simple:
1. You have to install gcc-3.4 and zlib1g-dev
- (sudo apt-get install gcc-3.4 zlib1g-dev)
2. Get the patched qemu-arm-eabi sources available in
http://sourceforge.net/projects/qemu-arm-eabi/
- svn co
https://qemu-arm-eabi.svn.sourceforge.net/svnroot/qemu-arm-eabi/trunkqemu-arm-eabi
3. Compile
- cd qemu-arm-eabi
- ./configure --target-list=arm-linux-user --static
- make
4. Update the scratchbox
- sudo cp arm-linux-user/qemu-arm
/scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2
- sudo vim /scratchbox/devkits/cputransp/etc/cputransp-methods
- add the line: qemu-arm-eabi-sb2
- vim /scratchbox/users/USERNAME/targets/SDK_ARMEL.config
- change the variable value SBOX_CPUTRANSPARENCY_METHOD to
/scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2
The syscall errors will disappear.
On Wed, Apr 2, 2008 at 10:23 PM, Andrew Daviel <[EMAIL PROTECTED]> wrote:
> On Wed, 2 Apr 2008, José Luís wrote:
>
> Hi, you have to install python2.5-dev package in scratchbox (apt-get
> > install
> > python2.5-dev).
> >
>
> OK - that gets python2.5 and libffi4, too.
>
> To install your package you can use "python2.5-dev setup.py install"
> > command.
> >
>
> I guess you mean "python2.5 setup.py install"
>
>
> > This message "sem_post: Function not implemented" is a qemu problem
> > (http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/),
> > but compilation should work.
> >
>
> "python2.5 setup.py build" works, but I get things like
> qemu: Unsupported syscall: 0
> qemu: uncaught target signal 11 (Segmentation fault) - exiting
> qemu: uncaught target signal 4 (Illegal instruction) - exiting
> error: command '/usr/bin/python2.5' failed with exit status 252
> when I do "python2.5 setup.py install".
> Tt seems to fail after a certain time, so by re-running the script
> multiple times, eventually it finishes.
> Would rebuilding quemu fix this problem, too ?
>
>
>
> Andrew
--
José Luís do Nascimento
Mestrando em Engenharia Elétrica
Laboratório de Sistemas Embarcados e Computação Pervasiva
UFCG - Campina Grande
jluisn at {ee,dee,embedded}.ufcg.edu.br
_______________________________________________
maemo-users mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-users