[MPlayer-users] OS X Compilation errors in libavcodec

Kev Beeley kevb at itsamouse.com
Tue Jun 26 17:37:11 CEST 2007


Afternoon!

I've held off on this a while to see if an SVN update may have cured  
it, but there doesn't seem to have been any luck.

Building on OS X 10.4.10, using MacPorts for FontConfig, though this  
is irrelevant for the problem I'm experiencing....

I'd compiled MPlayer perfectly up until around mid-May.  After  
attempting to go compile more recent builds (primarily to take  
advantage of MP3lib running OK), things started going awry with the  
FFMpeg side of things.

On every build since then, I've had issues with compilation to this  
point;

../libavcodec/avcodec.h:2258: warning: 'ImgReSampleContext' is  
deprecated
cc -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H - 
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. - 
I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration- 
after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer- 
arith -Wredundant-decls -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/ 
opt/local/include/freetype2 -I/opt/local/include  -c -o i386/ 
fft_sse.o i386/fft_sse.c
In file included from ../libavcodec/dsputil.h:33,
                  from i386/fft_sse.c:21:
../libavcodec/avcodec.h:2252: warning: 'ImgReSampleContext' is  
deprecated
../libavcodec/avcodec.h:2258: warning: 'ImgReSampleContext' is  
deprecated
{standard input}:190:Missing operand value assumed absolute 0.
{standard input}:190:Relocation error. Absolute 0 assumed
{standard input}:191:Missing operand value assumed absolute 0.
{standard input}:191:Relocation error. Absolute 0 assumed
{standard input}:194:Missing operand value assumed absolute 0.
{standard input}:194:Relocation error. Absolute 0 assumed
{standard input}:195:Missing operand value assumed absolute 0.
{standard input}:195:Relocation error. Absolute 0 assumed
{standard input}:347:Missing operand value assumed absolute 0.
{standard input}:347:Relocation error. Absolute 0 assumed
{standard input}:349:Missing operand value assumed absolute 0.
{standard input}:349:Relocation error. Absolute 0 assumed
{standard input}:353:Missing operand value assumed absolute 0.
{standard input}:353:Relocation error. Absolute 0 assumed
{standard input}:373:Missing operand value assumed absolute 0.
{standard input}:373:Relocation error. Absolute 0 assumed
make[1]: *** [i386/fft_sse.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2


Gcc version being used is i686-apple-darwin8-gcc-4.0.1

I still have the previous source which complied, and can verify this  
still can.  File was from 25th April in this case.

I've been reading up and know that there seem to be issues with  
apparently an outdated version of GCC underneath OS X, but was  
wondering if anyone else had had a similar error occur, or should  
this be directed to the FFMpeg mailing list instead?

Cheers,

Kev



More information about the MPlayer-users mailing list