Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvdBh-0006cB-BG for qemu-devel@nongnu.org; Sun, 08 Jan 2006 11:14:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvdBf-0006bm-E1 for qemu-devel@nongnu.org; Sun, 08 Jan 2006 11:14:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvdBf-0006bj-Af for qemu-devel@nongnu.org; Sun, 08 Jan 2006 11:14:31 -0500 Received: from [160.80.16.92] (helo=gw-iad.scuolaiad.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvdDm-0000SH-Uo for qemu-devel@nongnu.org; Sun, 08 Jan 2006 11:16:43 -0500 Received: from gw-iad.scuolaiad.it (localhost [127.0.0.1]) by gw-iad.scuolaiad.it (8.12.6/8.12.6) with ESMTP id k08EhoSM015928 for ; Sun, 8 Jan 2006 15:43:51 +0100 Received: (from nobody@localhost) by gw-iad.scuolaiad.it (8.12.6/8.12.6/Submit) id k08EhmEe015927 for qemu-devel@nongnu.org; Sun, 8 Jan 2006 15:43:48 +0100 Message-ID: <1136731428.43c12524cb7ab@webmail.scuolaiad.it> Date: Sun, 8 Jan 2006 15:43:48 +0100 From: Paolo Campegiani MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Qemu won't compile on Fedora Core 4/X86_64 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello guys, I've tried to compile qemu (version 0.8.0 from website and pulled from CVS) over a Fedora Core 4 on a X86_64. In both cases, I ran these commands: configure --cc=gcc32 --host-cc=gcc32 make and after lots of warnings about casting to pointer from integer of different size, I finally ended up with this: In file included from /home/zefram/Desktop/qemu-0.8.0/translate-op.c:36: op.h: In function `dyngen_code': op.h:3759: syntax error before '.' token op.h:3761: syntax error before '.' token make[1]: *** [translate-op.o] Error 1 make[1]: Leaving directory `/home/zefram/Desktop/qemu-0.8.0/sparc-user' make: *** [all] Error 1 what GCC does not like is in the .LC64 here: case INDEX_op_fnegs: { extern void op_fnegs(); extern char .LC64; memcpy(gen_code_ptr, (void *)((char *)&op_fnegs+0), 31); *(uint32_t *)(gen_code_ptr + 10) = (long)(&.LC64) - (long)(gen_code_ptr + 10) + -4; gen_code_ptr += 31; } If I comment these lines, compilation resumes until I get the same error over sparc-softmmu/op.h. If I "fix" it same way above, compilation terminates with no other errors. I can live without sparc emulation, but I was not able to install Windows XP with this qemu: the I/O seems a lot faster than 0.7.2/x86, but when the guest operating system restarts I have the splash screen saying to wait, and it does nothing (CPU usage for qemu is near zero) forever, so it seems to me that there are more problems than sparc-related. I'd be more than happy to test and try some fixes if someone will provide them to me, at least giving me a clue on what to do (I have understood that this .LC64 is something related to object file, but googling the Internet gave me no other information and the info gcc pages does not explicit report this symbol nor a more generic .LC, so I don't know what to search for). Also: would be possible to provide a _static_ binary for qemu on the site? the binary for i386 is dynamic and it does not run over a x86_64 system (complaints about missing libraries). -------------------------------------------------