Compiling P-UAE on Mac OS X
Has anyone managed to compile P-UAE for Mac OS X? I've cloned the git repository, but can't even get a working configure. I've struggled with autoreconf, automake, aclocal, and autoconf but can't seem to generate a configure script that doesn't die with syntax errors.
An intel build that's newer than 0.8.29-WIP4 would be lovely... |
I don't know how anyone gets P-UAE built on ANY platform. I tried compiling it once on OpenSUSE 11.2 and I had all the same problems that you seem to be having on Mac. Still, given that P-UAE is mainly for use with the forthcoming Pandora handheld, the fact that it doesn't seem to work elsewhere isn't all that surprising.
|
Nope, same story here. GnoStiC said somewhere that it works on his Debian 64bit box.
|
OK, thanks for confirming my suspicions. Damn shame though.
|
<p>sorry that i haven't noticed these messages before..</p>
<p> </p> <p>here is the latest backup i've found here on my ext hdd (latest version is on my work computer)</p> <p> </p> <p><a href="http://www.gamzeguckiran.com/puaex_2010_02_04.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_04.tar.gz</a></p> <p> </p> <p>please try this and meanwhile i can fix the errors you've been getting..</p> <p> </p> <p>p.s.: my dev system is ubuntu x64 9.10</p> <p>p.s.s.: git repo is quite old</p> -------- ZX14 vs Hayabusa |
|
Quote:
Quote:
|
@MagerValp: Have you tried --without-cocoa-gui?
I get Quote:
|
<p>@gilgamesh: </p>
<p>1) what is your configure parameters?</p> <p>2) uname -a, gcc -V</p> <p> </p> <p>@MagerValp:</p> <p>i only update gtk gui so the error message you get is normal. i'll fix that and rls (hopefully) tomorrow.</p> ________ Aprilia RS50 |
Quote:
Code:
./configure --with-sdl --with-sdl-sound --with-sdl-gl --with-sdl-gfx --host=i586 --target=i586 CFLAGS="-m32" LDFLAGS="-m32" Code:
Linux linux-zr5a 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux Code:
Using built-in specs. |
Quote:
|
Just checked preprocessed output (gcc -E ...). Probably NATMEM_OFFSET is not set in compemu_raw_x86.c.
EDIT: Yes, EUAE protects all access by to veccode in build_comp() by #ifdef NATMEM_OFFSET. PUAE/WinUAE does not. EDIT2: Tried this: Code:
#ifdef NATMEM_OFFSET Now I get Code:
memory.c:3050: error: conflicting types for ‘mapped_malloc’ Code:
uae_u8 *mapped_malloc (size_t s, const TCHAR *file) Doesn't find "au" in sound.c and "gui_..." in disk.c. (I'm building without GUI). EDIT4: One edit to end them all. au() is some unicode related routine. I commented all the missing functions away since I don't think they're strictly needed. Well, PUAE compiles, runs and restarts with illegal instructions. |
I have attached a fixed version of cocoaui.m that will compile.
With this and gilgamesh's fixes to compemu_support.c and memory.c I can get PUAEX to successfully compile in Mac OS X 10.6.2. Unfortunately it doesn't work - it just freezes solid. Here's the output: Quote:
|
<p>UPDATE:</p>
<p><a href="http://www.gamzeguckiran.com/puaex_2010_02_15.tar.gz" target="_blank">http://www.gamzeguckiran.com/puaex_2010_02_15.tar.gz</a></p> <p> </p> <p>please try this and report <img src="images/smilies/smile.gif" border="0" alt="" title="Smile" smilieid="1" class="inlineimg" /></p> <p> </p> <p> </p> <p>@xaind:</p> <p>if this doesn't work for you, can you please try without </p> <p>Opening cfgfile '<b>/Users/myname/Amiga/Configs/A500.uaerc</b>'...okay.</p> <p>and</p> <p>ROM KEY '<b>/Users/myname/Amiga/Roms/rom.key</b>' 2069 bytes loaded</p> <p> </p> <p> </p> <p>EDIT:</p> <p>my work notebook:</p> <p> Quote:
________ Suzuki GSR600 |
Commented out gui_disk_image_change(), gui_lock() and gui_unlock() from disk.c. Problem didn't go away.
Code:
PUAE 2.0.2 |
<p>@gilgamesh:</p>
<p>what is your kick.rom version?</p> <p> </p> <p> Quote:
________ Harley-Davidson FLHTC |
Kickstart 1.3 34.5.
When I use KS 3.0, then the error is Code:
CIllegal instruction: 4e7b at 00F80B68 -> 00F80BF0 |
Quote:
|
<p>@gilgamesh:</p>
<p>i was able to reproduce your "exception 3" error..</p> <p> </p> <p>apparently compiling with "--disable-ui" is the reason.. with gtk gui, everything works fine.. i'll look into it..</p> ________ vaporizer reviews |
@MagerValp: That REX error means you're compiling x86 code with an amd64 assembler. See my config parameters in #10 for a (hopefully functional) alternative.
|
All times are GMT +2. The time now is 00:35. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.