[FFmpeg-cvslog] r9281 - trunk/Makefile

Víctor Paesa victorpaesa
Tue Jun 12 11:24:58 CEST 2007


On 6/12/07, Diego Biurrun wrote:
> On Mon, Jun 11, 2007 at 12:44:58PM -0300, Ramiro Ribeiro Polla wrote:
> > diego wrote:
> > >
> > > Log:
> > > The video hooks do not depend on the libav* libraries.
> >
> > Actually, while working on vhooks for MinGW, and re-reading V?ctor's two
> > month effort to get them working on Cygwin, vhooks do depend on the
> > libav* libraries. Since I'm already trying to finish the integration for
> > MinGW, I'll see how it can be set conditionally for Windows platforms.
> It sure compiles standalone here, so I'm very curious to see what you
> are talking about.

Broken here on Cygwin:

$ ./configure --disable-static --enable-shared --enable-gpl --enable-swscaler
install prefix            /usr/local
source path               /home/wzrlpy/src/ffmpeg-9284/ffmpeg
C compiler                gcc
make                      make
.align is power-of-two    no
ARCH                      x86_32 (generic)
big-endian                no
MMX enabled               yes
CMOV enabled              no
CMOV is fast              no
gprof enabled             no
debug symbols             yes
strip symbols             yes
optimize                  yes
static                    no
shared                    yes
postprocessing support    no
software scaler enabled   yes
video hooking             yes
Imlib2 support            yes
FreeType support          yes
network support           yes
IPv6 support              no
threading support         no
SDL support               yes
Sun medialib support      no
AVISynth enabled          no
liba52 support            no
liba52 dlopened           no
libamr-nb support         no
libamr-wb support         no
libfaac enabled           no
libfaad enabled           no
faadbin enabled           no
libgsm enabled            no
libmp3lame enabled        no
libnut enabled            no
libogg enabled            no
libtheora enabled         no
libvorbis enabled         no
x264 enabled              no
XviD enabled              no
zlib enabled              yes
License: GPL
Creating config.mak and config.h...

$ make
gcc -MM -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-O3 -I"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"
ffmpeg.c ffplay.c ffserver.c cmdutils.c 1>.depend
make -C vhook all
make[1]: Entering directory `/home/wzrlpy/src/ffmpeg-9284/ffmpeg/vhook'
gcc -I"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"
-I"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libswscale -fPIC
-fomit-frame-pointer -g -Wdeclaration-after-statement -Wall
-Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-O3 -DHAVE_AV_CONFIG_H `imlib2-config --cflags` `freetype-config
--cflags`   -c -o null.o null.c
null.c:1: warning: -fPIC ignored for target (all code is position independent)
In file included from null.c:23:
warning: #warning VHOOK is deprecated. Please help porting libmpcodecs
or a better filter system to FFmpeg instead of wasting your time
writing new filters for this crappy one.
In file included from
                 from null.c:23:
warning: `ImgReSampleContext' is deprecated (declared at
warning: `ImgReSampleContext' is deprecated (declared at
gcc -Wl,--warn-common  -rdynamic -export-dynamic
-Wl,-rpath-link,"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavutil -g -o
null.dll -shared -L"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavformat
-L"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavutil null.o -lavformat
-lavcodec -lswscale -lavutil -lz
gcc: unrecognized option `-rdynamic'
cannot find -lavformat
collect2: ld returned 1 exit status
make[1]: *** [null.dll] Error 1
rm null.o
make[1]: Leaving directory `/home/wzrlpy/src/ffmpeg-9284/ffmpeg/vhook'
make: *** [videohook] Error 2

Reverting the change fixes the build
(with the unapproved llrintf() patch applied, of course).


More information about the ffmpeg-cvslog mailing list