[MEncoder-users] Problem with configure script

Laine Lee llee040 at sbcglobal.net
Thu Apr 29 16:15:33 CEST 2010


I can't address your problem specifically, but I build MPlayer all the time,
so when this sort of obstacle appears, I solve it at least 50% of the time
by moving aside my current build directory and getting an entirely new svn:

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

Laine Lee


On 4/29/10 1:37 AM, "Josef Wolf" <jw at raven.inka.de> wrote:

> 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?
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users




More information about the MEncoder-users mailing list