Re: Phone emulator under Gentoo?
On 7/27/07, Xamindar [EMAIL PROTECTED] wrote: # 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 Mmm. I don't know what to say. I also have /usr/include/SDL. I don't know about gentoo / 64 bits. Do you have the sdl-config script available? I think it's used a lot by the configure script and it should tell it where to find things. $ sdl-config --cflags -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT BTW: /host/qemu-neo1973$ ldd arm-softmmu/qemu-system-arm linux-gate.so.1 = (0xe000) libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7ee1000) libz.so.1 = /usr/lib/libz.so.1 (0xb7ecc000) libSDL-1.2.so.0 = /usr/lib/libSDL-1.2.so.0 (0xb7e1a000) librt.so.1 = /lib/i686/cmov/librt.so.1 (0xb7e11000) libutil.so.1 = /lib/i686/cmov/libutil.so.1 (0xb7e0d000) libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7cc6000) /lib/ld-linux.so.2 (0xb7f28000) libasound.so.2 = /usr/lib/libasound.so.2 (0xb7c0) libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb7bfb000) libdirectfb-0.9.so.25 = /usr/lib/libdirectfb-0.9.so.25 (0xb7ba5000) libfusion-0.9.so.25 = /usr/lib/libfusion-0.9.so.25 (0xb7b9f000) libdirect-0.9.so.25 = /usr/lib/libdirect-0.9.so.25 (0xb7b9) libvga.so.1 = /usr/lib/libvga.so.1 (0xb7b3) libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7b19000) Regards. -- http://arhuaco.org http://emQbit.com ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Phone emulator under Gentoo?
Someone else mentioned the gcc version might cause a problem. Im going to look into that. white-rabbit src # gcc-config -l [1] x86_64-pc-linux-gnu-3.3.6 [2] x86_64-pc-linux-gnu-4.1.2 [3] x86_64-pc-linux-gnu-4.2.0 * Nelson Castillo wrote: On 7/27/07, Xamindar [EMAIL PROTECTED] wrote: # 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 Mmm. I don't know what to say. I also have /usr/include/SDL. I don't know about gentoo / 64 bits. Do you have the sdl-config script available? I think it's used a lot by the configure script and it should tell it where to find things. $ sdl-config --cflags -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT Looks like I do: white-rabbit src # sdl-config --cflags -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT This is very strange. BTW: /host/qemu-neo1973$ ldd arm-softmmu/qemu-system-arm linux-gate.so.1 = (0xe000) libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7ee1000) libz.so.1 = /usr/lib/libz.so.1 (0xb7ecc000) libSDL-1.2.so.0 = /usr/lib/libSDL-1.2.so.0 (0xb7e1a000) librt.so.1 = /lib/i686/cmov/librt.so.1 (0xb7e11000) libutil.so.1 = /lib/i686/cmov/libutil.so.1 (0xb7e0d000) libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7cc6000) /lib/ld-linux.so.2 (0xb7f28000) libasound.so.2 = /usr/lib/libasound.so.2 (0xb7c0) libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb7bfb000) libdirectfb-0.9.so.25 = /usr/lib/libdirectfb-0.9.so.25 (0xb7ba5000) libfusion-0.9.so.25 = /usr/lib/libfusion-0.9.so.25 (0xb7b9f000) libdirect-0.9.so.25 = /usr/lib/libdirect-0.9.so.25 (0xb7b9) libvga.so.1 = /usr/lib/libvga.so.1 (0xb7b3) libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7b19000) Regards. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Phone emulator under Gentoo?
Henryk Pltz wrote: Please post the full error message that the qemu configure gives. Here is the output of configure: white-rabbit qemu-neo1973 # ./configure WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x Found "gcc32" Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /usr/src/qemu-neo1973 C compiler gcc32 Host C compiler gcc make make install install host CPU x86_64 host big endian no target list i386-linux-user arm-linux-user armeb-linux-user sparc-linux-user ppc-linux-user mips-linux-user mipsel-linux-user m68k-linux-user alpha-linux-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu arm-softmmu ppc64-softmmu ppcemb-softmmu m68k-softmmu gprof enabled no profiler no static build no SDL support no mingw32 support no Adlib support no CoreAudio support no ALSA support no DSound support no FMOD support no OSS support yes kqemu support yes Documentation no ERROR: QEMU requires SDL or Cocoa for graphical output To build QEMU without graphical output configure with --disable-gfx-check Note that this will disable all output from the virtual graphics card. 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). Ok, I'll try setting it to gcc3.4.6 which is still on my system and see if that helps. The configure script does warn about the version I am using. white-rabbit qemu-neo1973 # gcc-config -l [1] x86_64-pc-linux-gnu-3.3.6 [2] x86_64-pc-linux-gnu-4.1.2 [3] x86_64-pc-linux-gnu-4.2.0 * 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. Thanks for your help. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Phone emulator under Gentoo?
Thanks for your help guys! It appears that I had to change my compiler to version 3.3.6 and now configure found SDL. I am compiling it right now and hopefully it will work. Thanks again for your help. ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Phone emulator under Gentoo?
Also the developer version? I have the libsdl1.2-dev package in my Debian sid system. And I forgot to say that I built the emulator with this library. I hadn't it before I noticed it was missing. Regards, Nelson.- -- http://arhuaco.org http://emQbit.com ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Phone emulator under Gentoo?
# 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 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 :( Nelson Castillo wrote: Also the developer version? I have the "libsdl1.2-dev" package in my Debian sid system. And I forgot to say that I built the emulator with this library. I hadn't it before I noticed it was missing. Regards, Nelson.- ___ OpenMoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community