error Compiling Vice - Solved
Posted: Sun 03 Jun 2012, 23:20
I decided to compile Vice for Slacko 5.3.3, mainly becuase I was bored.
Slacko already had most of the dependencies, but I needed to compile libXmu, first.
After having done that, I tried compiling Vice, with the following .configure options:
--prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-linux-gnu --enable-static-lame --without-esd --with-x
I got the following error messages:
I did end up managing to compile Vice after adding --disable-ffmpeg to the options mentioned above.
But I don't understand what the error messages mean and why it doesn't allow me to compile with ffmpeg?
Does anyone have any ideas on this?
Slacko already had most of the dependencies, but I needed to compile libXmu, first.
After having done that, I tried compiling Vice, with the following .configure options:
--prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-linux-gnu --enable-static-lame --without-esd --with-x
I got the following error messages:
Code: Select all
In file included from ffmpegdrv.c:35:0:
ffmpeglib.h:64:1: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:50)
ffmpeglib.h:65:1: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:50)
ffmpegdrv.c: In function 'ffmpegmovie_init_audio':
ffmpegdrv.c:310:21: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
ffmpegdrv.c:310:21: note: each undeclared identifier is reported only once for each function it appears in
ffmpegdrv.c: In function 'ffmpegmovie_encode_audio':
ffmpegdrv.c:337:22: error: 'PKT_FLAG_KEY' undeclared (first use in this function)
ffmpegdrv.c: In function 'ffmpegdrv_init_video':
ffmpegdrv.c:526:21: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
ffmpegdrv.c: In function 'ffmpegdrv_record':
ffmpegdrv.c:771:22: error: 'PKT_FLAG_KEY' undeclared (first use in this function)
make[3]: *** [ffmpegdrv.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
But I don't understand what the error messages mean and why it doesn't allow me to compile with ffmpeg?
Does anyone have any ideas on this?