Phone emulator under Gentoo?

Henryk Plötz henryk at openmoko.org
Sat Jul 28 18:54:34 CEST 2007


Moin,

Am Fri, 27 Jul 2007 18:40:43 -0700 schrieb Xamindar:

> # ls /usr/lib64/libSDL*
> /usr/lib64/libSDL-1.2.so.0       /usr/lib64/libSDL.la            /usr/lib64/libSDL_net-1.2.so.0.0.7  /usr/lib64/libSDL_net.so
> /usr/lib64/libSDL-1.2.so.0.11.1  /usr/lib64/libSDLmain.a         /usr/lib64/libSDL_net.a             /usr/lib64/libSDL.so
> /usr/lib64/libSDL.a              /usr/lib64/libSDL_net-1.2.so.0  /usr/lib64/libSDL_net.la

Hmm, looks good to me. For me, even this is enough:
# ls /usr/lib64/libSDL*
/usr/lib64/libSDL-1.2.so.0       /usr/lib64/libSDL.a   /usr/lib64/libSDLmain.a
/usr/lib64/libSDL-1.2.so.0.11.0  /usr/lib64/libSDL.la  /usr/lib64/libSDL.so


> That's what's on my system.  Any new programs that I install with an
> SDL requirement install just fine.  The qemu-neo1973 configure can't
> find it for some reason :(

Please post the full error message that the qemu configure gives.


There is another much more likely problem with gentoo x86_64 and qemu:
qemu needs a gcc 3.x, while Gentoo by default now is at 4.x. One has to
emerge an additional 3.x series gcc (3.4.6* is current in Gentoo) and
either edit the MokoMakefile (add --cc=gcc-3.4.6 to the qemu-configure
call, after --target-list=arm-softmmu) or the qemu-configure (add
gcc-3.4.6 to gcc3_list).

> Nelson Castillo wrote:
> > Also the developer version?
> > I have the "libsdl1.2-dev" package in my Debian sid system.

Note that the usual notion of "developer packages" does not apply to
Gentoo systems, since all packages are built from source by default all
necessary files to compile against packages are always installed. So,
just installing libsdl is enough.

-- 
Henryk Plötz
Grüße aus Berlin
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~




More information about the community mailing list