Compiling with 3.3 on Ubuntu-based system
Ok, so next up is trying it on a couple other servers. I've already tried the crazy 2.4/2.6 bastard with an ancient gcc, but I'm giving up on that one.
Next up I'm going to try an Ubuntu-based server. Both gcc 4 and 3.3 are installed, but /usr/bin/gcc is linked to 3.3:
rs@a69-26-190-189:/usr/bin$ ls -latr /usr/bin/gcc lrwxrwxrwx 1 root root 7 Apr 3 01:35 /usr/bin/gcc -> gcc-3.3
rs@a69-26-190-189:/tmp/qemu-0.9.1$ gcc -v Reading specs from /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/specs Configured with: ../src/configure -v --enable-languages=c,c++,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug i486-linux-gnu Thread model: posix gcc version 3.3.6 (Ubuntu 1:3.3.6-10) rs@a69-26-190-189:/tmp/qemu-0.9.1$
When I ./configure it warns about a lack of SDL headers, but I think I remember hearing this can be safely ignored. (?) Furthermore, it seems to compile fine for a while, but then gets stuck here:
rs@a69-26-190-189:/tmp/qemu-0.9.1$ make make -C i386-linux-user all make[1]: Entering directory `/tmp/qemu-0.9.1/i386-linux-user' ../dyngen -c -o opc.h op.o dyngen: Unsupported ELF class make[1]: *** [opc.h] Error 1 make[1]: Leaving directory `/tmp/qemu-0.9.1/i386-linux-user' make: *** [subdir-i386-linux-user] Error 2
Alas, so close. Any suggestions?
I'm going to try compiling this on my Ubuntu laptop to make sure it works there (I've been using the pre-compiled binaries). Then I'm going to try a newer CVS snapshot (but http://qemu-forum.ipi.fi/qemu-snapshots/ seems to be down). If I can only get it working on one of these servers I'll be in nirvana!
-david