[FFmpeg-cvslog] r9281 - trunk/Makefile

Diego Biurrun diego
Fri Jun 15 12:46:03 CEST 2007


On Tue, Jun 12, 2007 at 11:24:58AM +0200, V?ctor Paesa wrote:
> 
> 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
> 
> $ make
> 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"
> -I"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavutil
> -I"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavcodec
> -I"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavformat
> -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:
> /home/wzrlpy/src/ffmpeg-9284/ffmpeg/libavformat/framehook.h:25:2:
> 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
> /home/wzrlpy/src/ffmpeg-9284/ffmpeg/libavformat/framehook.h:31,
>                  from null.c:23:
> /home/wzrlpy/src/ffmpeg-9284/ffmpeg/libavcodec/avcodec.h:2240:
> warning: `ImgReSampleContext' is deprecated (declared at
> /home/wzrlpy/src/ffmpeg-9284/ffmpeg/libavcodec/avcodec.h:2219)
> /home/wzrlpy/src/ffmpeg-9284/ffmpeg/libavcodec/avcodec.h:2246:
> warning: `ImgReSampleContext' is deprecated (declared at
> /home/wzrlpy/src/ffmpeg-9284/ffmpeg/libavcodec/avcodec.h:2219)
> gcc -Wl,--warn-common  -rdynamic -export-dynamic
> -Wl,-rpath-link,"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavcodec
> -Wl,-rpath-link,"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavformat
> -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"/libavcodec
> -L"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libswscale
> -L"/home/wzrlpy/src/ffmpeg-9284/ffmpeg"/libavutil null.o -lavformat
> -lavcodec -lswscale -lavutil -lz
> gcc: unrecognized option `-rdynamic'
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> 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).

Try removing -lavformat from the link command manually.

Diego

P.S.: Your mailer has horrible linebreaks...




More information about the ffmpeg-cvslog mailing list