libtheora doesn't compile under vanilla OS X 10.5.2
I have an Intel Mac mini which came from Apple about a month ago, with 10.5.2 installed. I have installed the os updates since then. I have also installed the Xcode tools on the disk that came with it, in the standard location. I downloaded and compiled libfaad2, libogg, and libvorbis without any problems. I downloaded libtheora 1.0 beta 3, and verified the md5 sum. I ran .configure without any problems, but when I run make, I get the error
. . . gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libtheoraenc.1.0.0.dylib .libs/cpu.o .libs/dct_decode_mmx.o .libs/dsp_mmx.o .libs/dsp_mmxext.o .libs/recon_mmx.o .libs/idct_mmx.o .libs/fdct_mmx.o .libs/dct_encode.o .libs/encode.o .libs/encoder_huffman.o .libs/encoder_idct.o .libs/encoder_toplevel.o .libs/encoder_quant.o .libs/encapiwrapper.o .libs/blockmap.o .libs/dct.o .libs/dct_decode.o .libs/frarray.o .libs/frinit.o .libs/mcomp.o .libs/misc_common.o .libs/pb.o .libs/pp.o .libs/reconstruct.o .libs/scan.o .libs/dsp.o /usr/local/lib/libogg.dylib -Wl,-read_only_relocs -Wl,suppress -install_name /usr/local/lib/libtheoraenc.1.dylib -compatibility_version 2 -current_version 2.0 ld: absolute addressing (perhaps -mdynamic-no-pic) used in _FilterHoriz__mmx from .libs/dct_decode_mmx.o not allowed in slidable image collect2: ld returned 1 exit status make[2]: *** [libtheoraenc.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2