[MPlayer-users] snapshot compile fails

kqt4at5v at gmail.com kqt4at5v at gmail.com
Sat Feb 18 18:01:42 CET 2012


On Sat, 18 Feb 2012, Reimar D?ffinger wrote:

> On Sat, Feb 18, 2012 at 06:49:02AM -0600, kqt4at5v at gmail.com wrote:
>> Trying to build mplayer-export-2012-02-18
>>
>> ./configure --enable-zr --enable-debug=3 --enable-gui --enable-menu --enable-radio-capture --enable-radio
>>
>>
>> cc -MD -MP -Wundef -W -Wall -Wstrict-prototypes -Wmissing-prototypes
>> -Wdisabled-optimization -Wno-pointer-sign
>> -Wdeclaration-after-statement -std=gnu99  -O2 -march=native
>> -mtune=native -pipe -g3  -fno-tree-vectorize -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I.
>> -Iffmpeg  -D_REENTRANT -I/usr/include/directfb -I/usr/include/
>> -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
>> -I/usr/include/bs2b   -pthread -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/gdk-pixbuf-2.0
>> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
>> -I/usr/include/freetype2 -I/usr/include/libpng12   -c -o
>> libvo/jpeg_enc.o libvo/jpeg_enc.c
>> libvo/jpeg_enc.c: In function 'convert_matrix':
>> libvo/jpeg_enc.c:84:28: error: 'fdct_ifast' undeclared (first use in this function)
>> libvo/jpeg_enc.c:84:28: note: each undeclared identifier is reported only once for each function it appears in
>> libvo/jpeg_enc.c: In function 'jpeg_enc_init':
>> libvo/jpeg_enc.c:307:20: error: 'FF_I_TYPE' undeclared (first use in this function)
>> libvo/jpeg_enc.c:338:2: warning: implicit declaration of function 'MPV_common_init' [-Wimplicit-function-declaration]
>
> These two are fixed, but the zr code may have more issues.

I am building on Fedora 16 kernel 3.2.6-3.fc16.i686.PAE
I did 'svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer' at 10:45AM
I get

cc -MD -MP -Wundef -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99  -O2 -march=native -mtune=native -pipe -g3  -fno-tree-vectorize 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT -I/usr/include/directfb 
-I/usr/include/   -pthread -I/usr/include/kde/artsc 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/bs2b   -pthread 
-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/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12   -c -o libvo/vo_zr.o 
libvo/vo_zr.c libvo/vo_zr.c:36:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make: *** [libvo/vo_zr.o] Error 1

I switched to 2.6.35.14-106.fc14.i686.PAE since 3.2.6-3.fc16.i686.PAE does not have videodev.h
So I added -I/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE/include and continued
Got the same error with vo_zr2.c
So I added -I/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE/include and continued





cc -MD -MP -Wundef -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99  -O2 -march=native -mtune=native -pipe -g3  -fno-tree-vectorize 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT -I/usr/include/directfb 
-I/usr/include/   -pthread -I/usr/include/kde/artsc 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/bs2b   -pthread 
-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/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12   -c -o 
libmpcodecs/vf_zrmjpeg.o libmpcodecs/vf_zrmjpeg.c
libmpcodecs/vf_zrmjpeg.c: In function 'convert_matrix':
libmpcodecs/vf_zrmjpeg.c:126:29: error: 'fdct_ifast' undeclared (first use 
in this function)
libmpcodecs/vf_zrmjpeg.c:126:29: note: each undeclared identifier is 
reported only once for each function it appears in
libmpcodecs/vf_zrmjpeg.c: In function 'jpeg_enc_init':
libmpcodecs/vf_zrmjpeg.c:450:20: error: 'FF_I_TYPE' undeclared (first use 
in this function)
libmpcodecs/vf_zrmjpeg.c:483:2: warning: 'avcodec_alloc_context' is 
deprecated (declared at ffmpeg/libavcodec/avcodec.h:3537) 
[-Wdeprecated-declarations]
libmpcodecs/vf_zrmjpeg.c:503:2: warning: implicit declaration of function 
'MPV_common_init' [-Wimplicit-function-declaration]
libmpcodecs/vf_zrmjpeg.c: In function 'config':
libmpcodecs/vf_zrmjpeg.c:660:50: warning: unused parameter 'outfmt' 
[-Wunused-parameter]
make: *** [libmpcodecs/vf_zrmjpeg.o] Error 1

And this is where I am now

Richard


More information about the MPlayer-users mailing list