[MEncoder-users] Problem with configure script
Josef Wolf
jw at raven.inka.de
Thu Apr 29 08:37:41 CEST 2010
Hello,
I am trying to recompile mencoder to adjust MAX_SKEW_DELTA in
stream/tvi_v4l2.c as suggested in
http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-April/079686.html
but the configure script bails out with
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ...
Error: You need static or shared libavutil, MPlayer will not compile without!
Check "configure.log" if you do not understand why it failed.
make: *** [configure-arch-stamp] Error 1
jw at ubuntu:~/dvd/mencoder/mplayer-1.0~rc3+svn20090426$
But I _have_ libavutil installed. In configure.log, I find those lines:
============ Checking for FFmpeg libavutil ============
#include <libavutil/common.h>
int main(void) { av_gcd(1,1); return 0; }
cc -W -Wall -O2 -march=i586 -mtune=i586 -pipe -g \
-I. -I/home/jw/dvd/mencoder/mplayer-1.0~rc3+svn20090426/debian/include
-Ilibdvdread4 -I/usr/include/freetype2 -lncurses -lfreetype -lz -lXext \
-lX11 -lpthread -lXvMC -l -o /tmp/mplayer.7UrWSB/mplayer-conf--26000 \
^^^^^^
/tmp/mplayer.7UrWSB/mplayer-conf--26000.c -lavutil
cc: /tmp/mplayer.7UrWSB/mplayer-conf--26000: No such file or directory /tmp/mplayer.7UrWSB/mplayer-conf--26000.c: In function 'main': /tmp/mplayer.7UrWSB/mplayer-conf--26000.c:2: warning: implicit declaration of function 'av_gcd'
Notice the missing library name between the -l and the -o switch when the
compiler is called. Is this a bug in the configure script? How can I work
around this?
BTW: Will MAX_SKEW_DELTA be changed in some future release of mencoder?
More information about the MEncoder-users
mailing list