[MPlayer-users] Can't compile latest SVN

Carlos Véliz darkomegax at gmail.com
Mon Oct 15 00:31:09 CEST 2007


Hi, I just updated MPlayer today to revision 24787 (libavcodec, libavutil,
libavformat, libpostproc are at revision 10736) and I get errors when trying
to compile:

fraps.c: In function `fraps2_decode_plane':
fraps.c:102: warning: passing arg 1 of pointer to function from incompatible
pointer type
fraps.c:102: warning: passing arg 2 of pointer to function from incompatible
pointer type
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-optimization -Wdeclaration-after-statement -I.
-I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/SDL -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0-I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include    -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/carlos/Programas/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2


I use the following options when compiling: --enable-gui,
--enable-largefiles and --enable-menu.
I'm using ForesightLinux with gcc 3.4.4-9.4-1 and I have been able to
compile mplayer from svn previously without problems for months so I don't
have any idea what might be happening now.
Any help will be appreciated

Carlos



More information about the MPlayer-users mailing list