[MPlayer-users] Strange compile errors on Intel Mac

Adam B voltagex at gmail.com
Fri May 4 17:24:53 CEST 2007


Yes, upgrading to XCode 2.4.1 fixed the problem, I can now compile
with mp3lib enabled

On 5/2/07, Adam B <voltagex at gmail.com> wrote:
> OK, the fix was to run compile with --disable-mp3lib
> I'm currently on XCode 2.2.1, it was suggested that I upgrade to 2.4.1
> Superdump in IRC says there's an mp3 decoder in libavcodec so you
> don't need mp3lib, and I'll upgrade XCode ASAP and report back.
>
> For anyone else compiling on OS X, make sure you have the latest
> version of XCode from http://developer.apple.com/tools/download/
> It's a whopping 900mb+ DMG disk image.
>
> On 4/30/07, Adam B <voltagex at gmail.com> wrote:
> > I'm on Intel Mac (OS 10.4) and I'm getting really odd compile errors.
> >
> > With current SVN:
> > make -C mp3lib
> >  cc -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I..
> > -I../libavutil -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
> > -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN
> > -DCONFIG_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -D_LARGEFILE64_SOURCE -I/usr/local/include -I/usr/X11R6/include   -c -o
> > dct64_MMX.o dct64_MMX.c
> > {standard input}:11:Missing operand value assumed absolute 0.
> >  make[1]: *** [dct64_MMX.o] Error 1
> > make: *** [mp3lib/libmp3.a] Error 2
> >
> > With RC1
> > make -C mp3lib
> > cc -c -I.. -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m
> > -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic
> > -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386
> > -isysroot /Developer/SDKs/MacOSX10.4u.sdk -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -o decode_MMX.o decode_MMX.c
> > {standard input}:91:Unknown pseudo-op: .balign
> > {standard input}:91:Rest of line ignored. 1st junk character valued 49 (1).
> > {standard input}:163:Unknown pseudo-op: .balign
> > {standard input}:163:Rest of line ignored. 1st junk character valued 49 (1).
> > make[1]: *** [decode_MMX.o] Error 1
> > make: *** [mp3lib/libMP3.a] Error 2
> >
> > Any help would be very much appreciated.
> >
> > --Adam
> >
> >
>



More information about the MPlayer-users mailing list