qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4


From: Rich Fought
Subject: Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
Date: Thu, 20 Oct 2005 11:21:36 -0500
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

gb spam wrote:
On 10/19/05, Rich Fought <address@hidden> 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
address@hidden
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!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]