From: Burkhard P. <pl...@ip...> - 2013-04-23 15:08:46
|
Hi, Am 20.04.2013 14:24, schrieb Christian Ebert: > Hi, > > Recently CVS HEAD stopped building like so: > > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -O3 -I/usr/local/include -I/sw/include -I/usr/local/include -I/usr/local/include -DLOCALE_DIR=\"/usr/local/share/locale\" -O3 -I/usr/local/include -I/sw/include -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -MT audio.lo -MD -MP -MF .deps/audio.Tpo -c -o audio.lo audio.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -O3 -I/usr/local/include -I/sw/include -I/usr/local/include -I/usr/local/include -DLOCALE_DIR=\"/usr/local/share/locale\" -O3 -I/usr/local/include -I/sw/include -finline-functions -Wall -Winline -Wmissing-declarations -Wdeclaration-after-statement -fvisibility=hidden -MT audio.lo -MD -MP -MF .deps/audio.Tpo -c audio.c -fno-common -DPIC -o .libs/audio.o > audio.c: In function ‘decode_chunk_vbr’: > audio.c:518: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function) > audio.c:518: error: (Each undeclared identifier is reported only once > audio.c:518: error: for each function it appears in.) > audio.c: In function ‘decode_chunk’: > audio.c:674: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function) > make[3]: *** [audio.lo] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > $ uname -mprsv > Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386 > > ffmpeg the usual suspect? Yes. I've outlined a possible solution here: http://thread.gmane.org/gmane.comp.video.libquicktime.devel/1841/focus=1842 Any patch is welcome. > Probably because of the autoconf version I have, I also have to > do: [...] > -AM_CONFIG_HEADER(config.h) > +AC_CONFIG_HEADERS(config.h) Applied. Hope it doesn't break compilation on other systems. Burkhard |