From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESdAm-0004QL-Ul for qemu-devel@nongnu.org; Thu, 20 Oct 2005 12:21:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESdAl-0004PT-RF for qemu-devel@nongnu.org; Thu, 20 Oct 2005 12:21:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESdAl-0004PB-Cw for qemu-devel@nongnu.org; Thu, 20 Oct 2005 12:21:43 -0400 Received: from [209.16.72.194] (helo=psi-sli-bk.psislidell.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ESdAl-0003FT-7u for qemu-devel@nongnu.org; Thu, 20 Oct 2005 12:21:43 -0400 Received: from hal.psislidell.com (hal.psislidell.com [192.168.3.2]) by psi-sli-bk.psislidell.com (8.13.4/8.13.4) with ESMTP id j9KGMbOK014264 for ; Thu, 20 Oct 2005 11:22:37 -0500 Received: from [192.168.3.81] ([192.168.3.81]) (authenticated user rfought@psislidell.com) by hal.psislidell.com (Kerio MailServer 6.1.0 patch 6) for qemu-devel@nongnu.org; Thu, 20 Oct 2005 11:21:39 -0500 Message-ID: <4357C410.7090903@psislidell.com> Date: Thu, 20 Oct 2005 11:21:36 -0500 From: Rich Fought MIME-Version: 1.0 Subject: Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4 References: <435684D8.2050303@psislidell.com> <6c3f5e6c0510191633q7c9bc051ie50fe833eb1e31@mail.gmail.com> In-Reply-To: <6c3f5e6c0510191633q7c9bc051ie50fe833eb1e31@mail.gmail.com> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 gb spam wrote:
On 10/19/05, Rich Fought <rfought@psislidell.com> wrote:
  
I'm using gcc32 and it gets pretty far, but runs out of luck here:

make[1]: Entering directory `/home/rfought/qemu-0.7.2/kqemu'
make -C /lib/modules/2.6.11-1.1369_FC4smp/build M=`pwd` modules
make[2]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686'
  CC [M]  /home/rfought/qemu-0.7.2/kqemu/kqemu-linux.o
cc1: invalid option `32'
cc1: invalid option `arch=i686'
cc1: invalid option `regparm=3'
make[3]: *** [/home/rfought/qemu-0.7.2/kqemu/kqemu-linux.o] Error 1
make[2]: *** [_module_/home/rfought/qemu-0.7.2/kqemu] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686'
make[1]: *** [kqemu.ko] Error 2
make[1]: Leaving directory `/home/rfought/qemu-0.7.2/kqemu'
make: *** [all] Error 2
    

I have no problem compiling on FC4.  Have never worked out exactly how
to use gcc32 "officially", but would be happy to be enlightened, and
have ended up with a hack, but the following works for me:

tar zxvf qemu-0.7.2.tar.gz
cd qemu-0.7.2
tar zxvf ../kqemu-0.7.2.tar.gz
./configure
perl -pi -e 's/=gcc/=gcc32/g' config-host.mak
make


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


  
OK, apparently it was the SMP Linux messing things up, I booted into normal mode and the compile went fine.

Not I am having another problem - I'm trying to run qemu-system-ppc and I'm getting the following:

> qemu-img create hd.img 5G
> qemu-system-ppc -boot d -hda hd.img

PPC Open Hack'Ware BIOS for qemu version 0.4.1
Build 2005-07-06 23:10:57
Copyright 2003-2005 Jocelyn Mayer

Memory Size: 144 MB.
Booting from device d
PPC Open Hack'Ware BIOS for qemu version 0.4.1
Build 2005-07-06 23:10:57
Copyright 2003-2005 Jocelyn Mayer

ide0: drive 0: Hard Disk
ERROR: OF_property_copy cannot get property 'hd' for aliases
ide0: drive 1: CD-ROM
ERROR: OF_property_copy cannot get property 'cd' for aliases
ERROR: ATAPI TEST_UNIT_READY : status 41 != 0x40
ide1: drive 0: none
ide1: drive 1: none
ERROR: Found no boot partition!