Hi!
I have been trying for weeks to build qemu-sceamer for Arch Linux. (I am still crazy about macos9!)
This:
"qemu-screamer/docs/../include/exec/memory.h:3:Type must be either just a name or a typedef-like declaration.
If just a name:
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6]
struct MemoryListener
------^
If typedef-like declaration:
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
struct MemoryListener"
I have tried several build arguments but the last one (./configure --target-list="ppc-softmmu" --enable-sdl --enable-gtk) I thought was a safe bet.
I use the recommended git-place for linux.
I am lost now and I wonder if someone could hint me?
Womp
qemu-screamer host Arch Linux build error
Moderators: Cat_7, Ronald P. Regensburg
Re: qemu-screamer host Arch Linux build error
Hi,
From exactly which repo did you download? How did you download and how did you unpack the source?
Best,
Cat_7
From exactly which repo did you download? How did you download and how did you unpack the source?
Best,
Cat_7
Re: qemu-screamer host Arch Linux build error
Hi and thanks for answer!
git clone -b screamer https://github.com/mcayland/qemu qemu-screamer
For unpacking used engrampa. (which format that is used I am not sure about because engrampa takes care of that.I am guessing unzip)
womp
git clone -b screamer https://github.com/mcayland/qemu qemu-screamer
For unpacking used engrampa. (which format that is used I am not sure about because engrampa takes care of that.I am guessing unzip)
womp
Re: qemu-screamer host Arch Linux build error
Hi,
If you use:
The source should be ready for building immediately.
So:
Should work. If not, then there is something wrong in your compiler setup.
If you use:
Code: Select all
git clone -b screamer https://github.com/mcayland/qemu qemu-screamer
So:
Code: Select all
cd qemu-screamer
./configure --target-list=ppc-softmmu --enable-sdl --enable-gtk
Re: qemu-screamer host Arch Linux build error
Hi again!
I removed and did a new git clone and now it did build fine!!
I am now trying to install 9.2. I have made a script that look like this.
!/usr/bin/bash
export QEMU_AUDIO_DRV=pa
./qemu-system-ppc
-L openbios-ppc \
-cpu "g4" \
-boot d \
-M mac99,via=pmu \
-prom-env "auto-boot?=true" \
-prom-env "boot-args=-v" \
-prom-env "vga-ndrv?=true" \
-device VGA,edid=on \
-m 256 \
-netdev user,id=network01 \
-device sungem,netdev=network01 \
-drive file=/9.2.img,format=raw,media=disk \
-cdrom "PowerMacG4Install9.2.toast" \
I get error message "qemu-system-ppc: Initialization of device ne2k_pci failed: failed to find romfile "efi-ne2k_pci.rom"
When I look in rom folder there are no ne2k_pci.rom. Can I download that from somewhere?
I also get that the -L command doesn't exist!?
womp
I removed and did a new git clone and now it did build fine!!
I am now trying to install 9.2. I have made a script that look like this.
!/usr/bin/bash
export QEMU_AUDIO_DRV=pa
./qemu-system-ppc
-L openbios-ppc \
-cpu "g4" \
-boot d \
-M mac99,via=pmu \
-prom-env "auto-boot?=true" \
-prom-env "boot-args=-v" \
-prom-env "vga-ndrv?=true" \
-device VGA,edid=on \
-m 256 \
-netdev user,id=network01 \
-device sungem,netdev=network01 \
-drive file=/9.2.img,format=raw,media=disk \
-cdrom "PowerMacG4Install9.2.toast" \
I get error message "qemu-system-ppc: Initialization of device ne2k_pci failed: failed to find romfile "efi-ne2k_pci.rom"
When I look in rom folder there are no ne2k_pci.rom. Can I download that from somewhere?
I also get that the -L command doesn't exist!?
womp
Re: qemu-screamer host Arch Linux build error
Hi,
That is an interesting combination of commands
You need to find the pc-bios folder that was created in the folder in which you built qemu.
I normally put everything needed in one folder in my home folder:
qemu-system-ppc
pc-bios folder
batch file to start qemu.
If you do that, this should work:
#!/bin/bash
export QEMU_AUDIO_DRV=pa
./qemu-system-ppc \
-L pc-bios \
-boot d \
-M mac99,via=pmu \
-device VGA,edid=on \
-m 256 \
-drive file=9.2.img,format=raw,media=disk \
-drive file=PowerMacG4Install9.2.toast,format=raw,media=cdrom
Best,
Cat_7
That is an interesting combination of commands
You need to find the pc-bios folder that was created in the folder in which you built qemu.
I normally put everything needed in one folder in my home folder:
qemu-system-ppc
pc-bios folder
batch file to start qemu.
If you do that, this should work:
#!/bin/bash
export QEMU_AUDIO_DRV=pa
./qemu-system-ppc \
-L pc-bios \
-boot d \
-M mac99,via=pmu \
-device VGA,edid=on \
-m 256 \
-drive file=9.2.img,format=raw,media=disk \
-drive file=PowerMacG4Install9.2.toast,format=raw,media=cdrom
Best,
Cat_7
Re: qemu-screamer host Arch Linux build error
Yeeeesss!
Thank you soo much!! I have been struggling with this for the last weeks and now I have sound!!
I have 9.2 installed on my mbp too with sound and the only thing missing now is how to share a folder or disk between host and guest. Do you have a link or hint on what's a good solution?
Thank you!!
womp
Thank you soo much!! I have been struggling with this for the last weeks and now I have sound!!
I have 9.2 installed on my mbp too with sound and the only thing missing now is how to share a folder or disk between host and guest. Do you have a link or hint on what's a good solution?
Thank you!!
womp