[quake3] Building On Mac

un dead q3urt.undead at gmail.com
Sat Mar 31 16:18:19 EDT 2007


On 3/31/07, Jorge Peña <jorgepblank at gmail.com> wrote:
> It gets a lot further into the build process now, and then it spits out the
> following:
>
> ld: Undefined symbols:
> _fprintf$LDBLStub
> _sprintf$LDBLStub
> _inflate
> _inflateEnd
> _inflateInit2_
> _inflateReset
> make[1]: *** [build/release-darwin-ppc/tip.ppc] Error 1
> make: *** [build_release] Error 2
>
> I google'd this and I found out it's a linker error (ld, duh). I google'd
> for the symbols, and I can't find what library they correspond to, I think
> it's zlib.

Yeah that's from libz (zlib).  Do you guys have 'nm' in MacOSX?  If
so, you can run:

$ nm /usr/lib/libz.a | egrep "inflate(|End|Init2_|Reset)$"
                 U inflate
                 U inflateEnd
                 U inflateInit2_
                 U inflateReset
                 U inflate
                 U inflateEnd
00000000000005c0 T inflate
0000000000000100 T inflateEnd
00000000000021c0 T inflateInit2_
0000000000000000 T inflateReset



More information about the quake3 mailing list