[MPlayer-users] OS X Compilation errors in libavcodec
Guillaume POIRIER
poirierg at gmail.com
Tue Jun 26 17:50:47 CEST 2007
Hi,
On 6/26/07, Kev Beeley <kevb at itsamouse.com> wrote:
> 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....
It's irrelevant, but IMHO it's the best way to install it. That's the
way I do it, so you can expect that it's supported ;-)
> 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
No problem here with this version of gas:
as -version
Apple Computer, Inc. version cctools-622.5.obj~13, GNU assembler version 1.38
If this version doesn't match yours, please download latest Xcode.
> 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,
No, it's the version of GAS that's outdated.
> but was
> wondering if anyone else had had a similar error occur, or should
> this be directed to the FFMpeg mailing list instead?
Shouldn't be necessary: Please update your copy of Xcode, retry and
come back to us.
Guillaume
--
Subversion has been the most pointless project ever started
-- Linus Torvalds
More information about the MPlayer-users
mailing list