[MPlayer-cygwin] Error compiling mplayer r26450: make version to use

Gianluigi Tiesi mplayer at netfarm.it
Thu Apr 17 07:01:57 CEST 2008


On Wed, Apr 16, 2008 at 07:18:41PM +0200, Reimar D?ffinger wrote:
> On Wed, Apr 16, 2008 at 01:07:26PM -0400, Henry Garcia wrote:
> > >
> > >
> > > I couldn't reproduce the problem. Which version of make and windres
> > > are u using? Mines are:
> > >
> > > C:\MSYS\source\mplayer>make --version
> > > GNU Make 3.81
> > > Copyright (C) 2006  Free Software Foundation, Inc.
> > > This is free software; see the source for copying conditions.
> > > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > > PARTICULAR PURPOSE.
> > >
> > 
> > You should be using make 3.79. You can compile it yourself from source
> > (check ftp.gnu.org), or just use the one that comes with the Mingw-msys base
> > installer.
> > 
> > I just keep my make in /usr/local/bin so it comes first in the path search.
> > 
> > 3.81 just doesn't compile mplayer.
> 
> I don't think 3.79 works, at least it is broken for ffmpeg. I think the
> latest version for MinGW is 3.81-2 and that should work AFAICT.
> 

3.79 does not handle recursive makefile inclusion,
I'm not able to find a 3.80/81 that compiles ffmpeg
common problems are that make invokes the shell
but the shell is not able to pass args to gcc
(it says no input file)
I've tried plain make, modified by mingw from source,
there are two 3.8x binaries on the mingw repository
one crashes the other one is not able to compile

make 3.79 does not cleanup correctly subdirs in mplayer

I'm using an hack that helps the compilation:

#!/bin/sh
DIRS="libavcodec libavdevice libavfilter \
    libavformat libavutil libpostproc \
    libswscale ."

for dir in $DIRS; do \
    echo make -C $dir $*; \
    make -C $dir $*; \
done

call it ffhelper
then sh ffhelper clean
sh ffhelper
to build
yes is ugly but I've no other solutions

Bye

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-cygwin mailing list