What did you edit in the Makefile? Just added -mstackrealign?
I didn't edit anything in the Makefile itself, just added a Makefile.local specifying BUILD_CLIENT, BUILD_SERVER, etc. The Makefile references -mstackrealign in line 389.
You could try running "ARCH=x86 make" to get a 32bit version, that's what make-macosx-ub.sh does.
Hmm, funny... when I try that I get the same errors. In fact, when I run "make" straight, it seems to set by itself ARCH to x86. I tried make-macosx-ub.sh, but it tells me I need the proper Mac OS X SDKs installed, without telling me what those are, haha.
Thanks for everyone's help so far.