11 February 2010, 13:35 | #1 |
Registered User
Join Date: Aug 2008
Location: Göteborg / Sweden
Posts: 237
|
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... |
11 February 2010, 15:31 | #2 |
Registered User
Join Date: Aug 2007
Location: Boston, MA
Posts: 228
|
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.
|
11 February 2010, 19:43 | #3 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Nope, same story here. GnoStiC said somewhere that it works on his Debian 64bit box.
|
12 February 2010, 11:43 | #4 |
Registered User
Join Date: Aug 2008
Location: Göteborg / Sweden
Posts: 237
|
OK, thanks for confirming my suspicions. Damn shame though.
|
13 February 2010, 23:50 | #5 |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
<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 Last edited by GnoStiC; 17 January 2011 at 21:36. |
14 February 2010, 00:34 | #6 |
Wipe-Out Enthusiast
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,545
|
|
14 February 2010, 16:27 | #7 | ||
Registered User
Join Date: Aug 2008
Location: Göteborg / Sweden
Posts: 237
|
Quote:
Quote:
|
||
14 February 2010, 16:43 | #8 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
@MagerValp: Have you tried --without-cocoa-gui?
I get Quote:
|
|
14 February 2010, 17:50 | #9 |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
<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 Last edited by GnoStiC; 18 January 2011 at 09:56. |
14 February 2010, 19:46 | #10 | |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
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. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) |
|
14 February 2010, 20:17 | #11 |
Registered User
Join Date: Aug 2008
Location: Göteborg / Sweden
Posts: 237
|
|
14 February 2010, 20:24 | #12 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
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 if (veccode == NULL) veccode = cache_alloc (256) #endif Now I get Code:
memory.c:3050: error: conflicting types for ‘mapped_malloc’ ../src/include/memory.h:345: note: previous declaration of ‘mapped_malloc’ was here 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. Last edited by gilgamesh; 14 February 2010 at 23:44. |
15 February 2010, 02:57 | #13 | |
Registered User
Join Date: Apr 2006
Location: Sydney / Australia
Posts: 113
|
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:
Last edited by xaind; 18 February 2010 at 03:14. Reason: Removed attachment - it is superseded by an attachment in a later message. |
|
15 February 2010, 13:02 | #14 | |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
<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 Last edited by GnoStiC; 18 January 2011 at 09:57. |
|
15 February 2010, 13:45 | #15 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Commented out gui_disk_image_change(), gui_lock() and gui_unlock() from disk.c. Problem didn't go away.
Code:
PUAE 2.0.2 Build date: Feb 15 2010 13:31:39 SDLGFX: Initialized. SDLGFX: Using SDL version 1.2.13. SDLGFX: Display is 32 bits deep. SDLGFX: Found screenmode: 1440x900. SDLGFX: Found screenmode: 1024x768. SDLGFX: Found screenmode: 832x624. SDLGFX: Found screenmode: 800x600. SDLGFX: Found screenmode: 720x400. SDLGFX: Found screenmode: 700x525. SDLGFX: Found screenmode: 640x512. SDLGFX: Found screenmode: 640x480. SDLGFX: Found screenmode: 640x400. SDLGFX: Found screenmode: 640x350. SDLGFX: Found screenmode: 576x432. SDLGFX: Found screenmode: 512x384. SDLGFX: Found screenmode: 416x312. SDLGFX: Found screenmode: 400x300. SDLGFX: Found screenmode: 360x200. SDLGFX: Found screenmode: 320x240. SDLGFX: Found screenmode: 320x200. SDLGFX: Found screenmode: 320x175. Found 0 joystick(s) Found x11pc raw keyboard mapping Using cooked keymap Opening cfgfile '/home/uae/.uaerc'...okay. Testing the RDTSC instruction ... done. TSC frequency: 2393.500000 MHz Found x11pc raw keyboard mapping Using cooked keymap Found x11pc raw keyboard mapping Using cooked keymap Entered action_replay_load() ROM loader.. SDLGFX: Added P96 mode: 320x200x32 SDLGFX: Added P96 mode: 320x200x8 SDLGFX: Added P96 mode: 320x240x32 SDLGFX: Added P96 mode: 320x240x8 SDLGFX: Added P96 mode: 320x256x32 SDLGFX: Added P96 mode: 320x256x8 SDLGFX: Added P96 mode: 320x400x32 SDLGFX: Added P96 mode: 320x400x8 SDLGFX: Added P96 mode: 640x350x32 SDLGFX: Added P96 mode: 640x350x8 SDLGFX: Added P96 mode: 640x480x32 SDLGFX: Added P96 mode: 640x480x8 SDLGFX: Added P96 mode: 640x512x32 SDLGFX: Added P96 mode: 640x512x8 SDLGFX: Added P96 mode: 800x600x32 SDLGFX: Added P96 mode: 800x600x8 SDLGFX: Added P96 mode: 1024x768x32 SDLGFX: Added P96 mode: 1024x768x8 SDLGFX: Added P96 mode: 1152x864x32 SDLGFX: Added P96 mode: 1152x864x8 SDLGFX: Added P96 mode: 1440x900x32 SDLGFX: Added P96 mode: 1440x900x8 SDLGFX: Added P96 mode: 832x624x32 SDLGFX: Added P96 mode: 832x624x8 SDLGFX: Added P96 mode: 720x400x32 SDLGFX: Added P96 mode: 720x400x8 SDLGFX: Added P96 mode: 700x525x32 SDLGFX: Added P96 mode: 700x525x8 SDLGFX: Added P96 mode: 640x400x32 SDLGFX: Added P96 mode: 640x400x8 SDLGFX: Added P96 mode: 576x432x32 SDLGFX: Added P96 mode: 576x432x8 SDLGFX: Added P96 mode: 512x384x32 SDLGFX: Added P96 mode: 512x384x8 SDLGFX: Added P96 mode: 416x312x32 SDLGFX: Added P96 mode: 416x312x8 SDLGFX: Added P96 mode: 400x300x32 SDLGFX: Added P96 mode: 400x300x8 SDLGFX: Added P96 mode: 360x200x32 SDLGFX: Added P96 mode: 360x200x8 SDLGFX: Added P96 mode: 320x175x32 SDLGFX: Added P96 mode: 320x175x8 CBuilding CPU table for configuration: 68000 prefetch 24-bit 1876 CPU functions Building CPU, 44316 opcodes (0 1 1) CPU=68000, FPU=0, JIT=0. CPUID level=10, Family=6, Model=7, Mask=6, Vendor=GenuineIntel [0] JJCSDL: sound driver found and configured at 44100 Hz, buffer is 100 ms (17640 bytes). BEAMCON0 0000 -> 0020 PAL mode V=50Hz H=15600Hz (227x312) chipmem cleared CIllegal instruction: 4e7b at 00FC0564 -> 00FC0582 PAL mode V=50Hz H=15600Hz (227x312) Exception 3 (fc0fe3) at fc0fe0 -> fc081a! PAL mode V=50Hz H=15600Hz (227x312) Illegal instruction: 4e7b at 00FC0564 -> 00FC0582 PAL mode V=50Hz H=15600Hz (227x312) Exception 3 (fc0fe3) at fc0fe0 -> fc081a! PAL mode V=50Hz H=15600Hz (227x312) Illegal instruction: 4e7b at 00FC0564 -> 00FC0582 PAL mode V=50Hz H=15600Hz (227x312) Exception 3 (fc0fe3) at fc0fe0 -> fc081a! PAL mode V=50Hz H=15600Hz (227x312) Illegal instruction: 4e7b at 00FC0564 -> 00FC0582 DCOP1LC: 00000420, COP2LC: 00c00276 COPPTR: 0000046c DIWSTRT: 2c81 DIWSTOP: f4c1 DDFSTRT: 0038 DDFSTOP: 00d0 BPLCON 0: 0000 1: 0000 2: 0024 3: 0c00 4: 0011 |
15 February 2010, 13:49 | #16 | |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
<p>@gilgamesh:</p>
<p>what is your kick.rom version?</p> <p> </p> <p> Quote:
________ Harley-Davidson FLHTC Last edited by GnoStiC; 18 January 2011 at 09:57. |
|
15 February 2010, 13:58 | #17 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
Kickstart 1.3 34.5.
When I use KS 3.0, then the error is Code:
CIllegal instruction: 4e7b at 00F80B68 -> 00F80BF0 |
15 February 2010, 16:05 | #18 |
Registered User
Join Date: Aug 2008
Location: Göteborg / Sweden
Posts: 237
|
|
15 February 2010, 16:31 | #19 |
PUAE maintainer
Join Date: Feb 2010
Location: fort lauderdale
Posts: 195
|
<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 Last edited by GnoStiC; 18 January 2011 at 09:57. |
15 February 2010, 20:23 | #20 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
@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.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
E-UAE for Mac | VerizonLover | support.OtherUAE | 1 | 20 August 2012 07:18 |
FS-UAE For Mac | webneta | support.FS-UAE | 10 | 12 May 2012 16:10 |
Install Workbench3.1 E-UAE Mac OS | popto | support.OtherUAE | 6 | 08 August 2011 14:06 |
What's needed to compiling PUAE on Mac OS X | nexusle | support.OtherUAE | 0 | 28 July 2010 21:03 |
Any UAE for G3 Mac running Ubuntu? | Fingerlickin_B | support.OtherUAE | 7 | 05 February 2008 11:34 |
|
|