compiling mplayer on cygwin (Rafael Mattos)

"Henry Garcia" <[email protected]>
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
> I'm having problems while compiling svn 24787 (although I hadn't
> compiled mplayer for quite a while, so maybe the version is not the
> point).
>
> Configure script:
> ./configure --enable-static --disable-mencoder --disable-tv
> --codecsdir=/usr/local/codecs --with-extraincdir=../live
> --confdir=./mplayer


Check your version of make
use make-3.79.1

You can just move the live directory to /usr/lib/
mv -v live /usr/lib/

And leave out all the extraincdir stuff. That way mplayer configuration will
autodetect its location.

Don't really see anything wrong with your configure script. Not the way I
would do it. But it should work. Just check your version of make: make
3.80.x bombs in the make process.

Here's what I use:
./configure --enable-static --prefix=/opt/mplayer




And make dies right here:
>
> cc -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D
> _LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> -Wdisabled-optimizat
> ion -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
> -Wno-switch -Wpo
> inter-arith -Wredundant-decls -O4 -march=prescott -mtune=prescott -pipe
> -ffast-m
> ath -fomit-frame-pointer -D__CYGWIN__ -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -DSYS_CYGWIN -DHAVE_CONFIG_H -I../live
> -I/usr/include/fre
> etype2  -c -o huffman.o huffman.c
> huffman.c: In function `get_tree_codes':
> huffman.c:65: error: prior parameter's size depends on 'nb_codes'
> make[1]: *** [huffman.o] Error 1
> make[1]: Leaving directory `/home/Rafael/mplayer-build/mplayer/libavcodec'
> make: *** [libavcodec/libavcodec.a] Error 2
>
> Any thoughts?
>
>
> ------------------------------
>
> _______________________________________________
> MPlayer-cygwin mailing list
> [email protected]
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
>
> End of MPlayer-cygwin Digest, Vol 57, Issue 8
> *********************************************
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.