Make sure you are installing a clean copy of the SDL framework from a downloaded DMG file.
Confirmed: this is the case for both 1.2.15 and 2.0.
Another poster described replacing his framework which fixed some other issues he was having.
It doesn't seem to have fixed it for me, but I haven't really had time to play with it much since yesterday. Right now my work schedule doesn't align with anyone else in a timezone close to mine, so finding the time to look into this is scarce until probably this weekend, when I can hopefully get my sleep schedule back on track.
Type "make clean" and then try again a simple "make" without any flags and see how that works.
I'm using freshly-unzipped (redownloaded; md5sums have matched on three occasions) source rather than risking a `make clean` that may not be doing what it should.
Yeah, but 32 bit kernels are now 4 major upgrades ago, 2 of them free.
Manually setting PTR64=1 in the makefile is a throwback habit for me to when I was building MAME on two different machines: one was an iMac with a 64-bit Core2 Duo but 32-bit EFI; the other is the fully 64-bit Macbook Pro. I haven't built on the iMac in a year or so, but once I'd established the habit of setting that particular build flag I never really dropped it.
Either way, I did try a completely vanilla (no makefile changes) build as part of the process and received the same error.
Hopefully I'll be able to look into this some more this weekend.