* [Qemu-devel] Compiling Qemu + Accelerator on FC4
@ 2005-10-19 17:39 Rich Fought
2005-10-19 23:33 ` gb spam
0 siblings, 1 reply; 6+ messages in thread
From: Rich Fought @ 2005-10-19 17:39 UTC (permalink / raw)
To: qemu-devel
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
Any ideas would be appreciated.
Regards,
Rich
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
2005-10-19 17:39 [Qemu-devel] Compiling Qemu + Accelerator on FC4 Rich Fought
@ 2005-10-19 23:33 ` gb spam
2005-10-20 16:21 ` Rich Fought
0 siblings, 1 reply; 6+ messages in thread
From: gb spam @ 2005-10-19 23:33 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
2005-10-19 23:33 ` gb spam
@ 2005-10-20 16:21 ` Rich Fought
2005-10-20 18:44 ` André Braga
0 siblings, 1 reply; 6+ messages in thread
From: Rich Fought @ 2005-10-20 16:21 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/html, Size: 2945 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
2005-10-20 16:21 ` Rich Fought
@ 2005-10-20 18:44 ` André Braga
2005-10-20 19:39 ` Rich Fought
0 siblings, 1 reply; 6+ messages in thread
From: André Braga @ 2005-10-20 18:44 UTC (permalink / raw)
To: qemu-devel
"-boot d"?
;)
--
"The user-friendly computer is a red herring. The user-friendliness of
a book just makes it easier to turn pages. There's nothing
user-friendly about learning to read."
-Alan Kay
On 10/20/05, Rich Fought <rfought@psislidell.com> wrote:
> 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!
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
2005-10-20 18:44 ` André Braga
@ 2005-10-20 19:39 ` Rich Fought
2005-10-21 13:07 ` Jan Marten Simons
0 siblings, 1 reply; 6+ messages in thread
From: Rich Fought @ 2005-10-20 19:39 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/html, Size: 2112 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] Compiling Qemu + Accelerator on FC4
2005-10-20 19:39 ` Rich Fought
@ 2005-10-21 13:07 ` Jan Marten Simons
0 siblings, 0 replies; 6+ messages in thread
From: Jan Marten Simons @ 2005-10-21 13:07 UTC (permalink / raw)
To: qemu-devel
Rich Fought wrote:
> Yes, I am trying to install Debian from bootable CD-ROM - is this not
> the correct option?
>
>>> > qemu-img create hd.img 5G
>>> > qemu-system-ppc -boot d -hda hd.img
>>>
>>>
>>>
Your commandline is missing the -cdrom parameter:
-cdrom 'file'
Use file as CD-ROM image (you cannot use '-hdc' and and '-cdrom' at the
same time). You can use the host CD-ROM by using '/dev/cdrom' as filename.
-boot [a|c|d]
Boot on floppy (a), hard disk (c) or CD-ROM (d). Hard disk boot is the
default.
Reading http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC10 might
help you in discovering some more features of qemu.
With regards,
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-21 13:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19 17:39 [Qemu-devel] Compiling Qemu + Accelerator on FC4 Rich Fought
2005-10-19 23:33 ` gb spam
2005-10-20 16:21 ` Rich Fought
2005-10-20 18:44 ` André Braga
2005-10-20 19:39 ` Rich Fought
2005-10-21 13:07 ` Jan Marten Simons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).