[MPlayer-users] stream_cdda.c build error
Andy Furniss
andyqos at ukfsn.org
Thu Jul 14 13:47:56 CEST 2011
My system is a bit wacky old LFS with xorg/mesa built/installed from
gits under home but mplayer usually builds OK for me.
./configure --enable-xvmc
--extra-cflags="-I/home/andy/Src/Xorg-git/modular/include"
--extra-libs="-L/home/andy/Src/Xorg-git/modular/lib"
--extra-libs-mplayer="-L/home/andy/Src/Xorg-git/modular/lib"
some ENV is also set up to point to my xorg modular dir
cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Werror-implicit-function-declaration
-Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O4
-march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer
-fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg
-I/home/andy/Src/Xorg-git/modular/include -D_REENTRANT
-I/usr/X11R6/include -I/usr/include/freetype2
-DFF_API_MAX_STREAMS=0 -c -o stream/stream_cdda.o stream/stream_cdda.c
stream/stream_cdda.c:97: warning: initialization discards qualifiers
from pointer target type
stream/stream_cdda.c:99: warning: initialization discards qualifiers
from pointer target type
stream/stream_cdda.c:123: warning: initialization discards qualifiers
from pointer target type
stream/stream_cdda.c: In function 'open_cdda':
stream/stream_cdda.c:357: warning: format '%d' expects type 'int', but
argument 4 has type 'long int'
stream/stream_cdda.c:424: error: implicit declaration of function
'paranoia_cachemodel_size'
make: *** [stream/stream_cdda.o] Error 1
bash-3.2$ gcc --version
gcc (GCC) 4.2.3
More information about the MPlayer-users
mailing list