Opened 13 years ago

Closed 13 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: Analyzed by developer:

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@… 13 years ago.
configure.log
config.mak (15.1 KB) - added by ib84@… 13 years ago.
confik.mak
config.h (42.7 KB) - added by ib84@… 13 years ago.
config.h
make.txt (247.0 KB) - added by ib84@… 13 years ago.
output of make

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by ib84@…

configure.log

comment:1 Changed 13 years ago by ib84@…

Changed 13 years ago by ib84@…

confik.mak

comment:2 Changed 13 years ago by ib84@…

Changed 13 years ago by ib84@…

config.h

comment:3 Changed 13 years ago by ib84@…

Changed 13 years ago by ib84@…

output of make

comment:4 Changed 13 years ago by ib84@…

comment:5 Changed 13 years ago by diego@…

  • Resolution set to invalid
  • Status changed from new to closed

You're not using Subversion HEAD.

Note: See TracTickets for help on using tickets.