Opened 17 years ago

Closed 17 years ago

#816 closed defect (invalid)

libavformat/allformats.c breaks mplayer-compilation

Reported by: ib84@… Owned by: diego@…
Priority: normal Component: build system
Version: 1.0rc1 Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

hello.
trying to get a recent version of mencoder on MacOS X/PPC.

OS: 10.4.9 with latest SecurityUpdates
latest XCode 2.4.1 (gcc 4.0.1)
ld -v: "Apple Computer, Inc. version cctools-622.5.obj~13"
as --version: "Apple Computer, Inc. version cctools-622.5.obj~13, GNU assembler version 1.38"

before i built the fink mplayer-altivec package from source (most of the dependencies were built from source too), it worked, but I realized the version is too old (only pre6-3.3, need the new deinterlacers).

Used the subversion-snapshot "mplayer-checkout-snapshot.tar.bz2" which seem to date to 27th of april 2007.

The last lines before the error on make are:

#############################
In file included from avformat.h:36,

from os_support.c:23:

../libavcodec/avcodec.h:2480: warning: 'ImgReSampleContext' is deprecated
../libavcodec/avcodec.h:2483: warning: 'ImgReSampleContext' is deprecated
In file included from os_support.c:23:
avformat.h:292: warning: 'AVFrac' is deprecated
cc -I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -faltivec -DAPPLE_ALTIVEC -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 -I/sw/include/SDL -D_THREAD_SAFE -I/sw/include/artsc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -c -o allformats.o allformats.c
In file included from avformat.h:36,

from allformats.c:21:

../libavcodec/avcodec.h:2480: warning: 'ImgReSampleContext' is deprecated
../libavcodec/avcodec.h:2483: warning: 'ImgReSampleContext' is deprecated
In file included from allformats.c:21:
avformat.h:292: warning: 'AVFrac' is deprecated
allformats.c: In function 'av_register_all':
allformats.c:167: error: 'ENABLE_FILE_PROTOCOL' undeclared (first use in this function)
allformats.c:167: error: (Each undeclared identifier is reported only once
allformats.c:167: error: for each function it appears in.)
allformats.c:168: error: 'ENABLE_HTTP_PROTOCOL' undeclared (first use in this function)
allformats.c:169: error: 'ENABLE_PIPE_PROTOCOL' undeclared (first use in this function)
allformats.c:170: error: 'ENABLE_RTP_PROTOCOL' undeclared (first use in this function)
allformats.c:171: error: 'ENABLE_TCP_PROTOCOL' undeclared (first use in this function)
allformats.c:172: error: 'ENABLE_UDP_PROTOCOL' undeclared (first use in this function)
make[1]: * [allformats.o] Error 1
make:
* [libavformat/libavformat.a] Error 2

############################# (couldn´t figure out, how/where to attach the logs?)

there is no libavformat/confik.mak

i tried the modifications of bug number #790 to the Makefile of libavformat, and also configure --disable-network, no effect.

Attachments (4)

configure.log (170.7 KB ) - added by ib84@… 17 years ago.
configure.log
config.mak (15.1 KB ) - added by ib84@… 17 years ago.
confik.mak
config.h (42.7 KB ) - added by ib84@… 17 years ago.
config.h
make.txt (247.0 KB ) - added by ib84@… 17 years ago.
output of make

Download all attachments as: .zip

Change History (9)

by ib84@…, 17 years ago

Attachment: configure.log added

configure.log

comment:1 by ib84@…, 17 years ago

by ib84@…, 17 years ago

Attachment: config.mak added

confik.mak

comment:2 by ib84@…, 17 years ago

by ib84@…, 17 years ago

Attachment: config.h added

config.h

comment:3 by ib84@…, 17 years ago

by ib84@…, 17 years ago

Attachment: make.txt added

output of make

comment:4 by ib84@…, 17 years ago

comment:5 by diego@…, 17 years ago

Resolution: invalid
Status: newclosed

You're not using Subversion HEAD.

Note: See TracTickets for help on using tickets.