[FFmpeg-devel] Error during configure process
Michel Bardiaux
mbardiaux
Mon May 21 11:05:25 CEST 2007
Sebastian Gumpp wrote:
> Hi,
>
> today I tried to install FFmpeg on my SUSE Linux 9.3 Webserver.
> I configured with "./configure --enable-gpl --enable-libmp3lame --enable-shared --prefix=/usr" with success.
>
> But entering "make" produces this error:
> ...
> make -C libavformat all
> make[1]: Entering directory `/usr/local/src/ffmpeg/libavformat'
> gcc -I"/usr/local/src/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"/libavutil -fomit-frame-pointer -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3 -c -o v4l2.o v4l2.c
> In file included from avformat.h:32,
> from v4l2.c:29:
> /usr/local/src/ffmpeg/libavcodec/avcodec.h:2500: warning: `ImgReSampleContext' is deprecated (declared at /usr/local/src/ffmpeg/libavcodec/avcodec.h:2479)
> /usr/local/src/ffmpeg/libavcodec/avcodec.h:2506: warning: `ImgReSampleContext' is deprecated (declared at /usr/local/src/ffmpeg/libavcodec/avcodec.h:2479)
> In file included from v4l2.c:29:
> avformat.h:291: warning: `AVFrac' is deprecated (declared at avformat.h:117)
> In file included from v4l2.c:36:
> /usr/include/linux/videodev2.h:436: error: syntax error before '*' token
> /usr/include/linux/videodev2.h:438: error: syntax error before '*' token
> /usr/include/linux/videodev2.h:439: error: syntax error before '}' token
> /usr/include/linux/videodev2.h:810: error: field `win' has incomplete type
> make[1]: *** [v4l2.o] Error 1
> make[1]: Leaving directory `/usr/local/src/ffmpeg/libavformat'
> make: *** [lib] Error 2
>
> My fault or a bug?
>
ISTR you could try adding
#include <linux/compiler.h>
before
#include <linux/videodev2.h>
in v4l2.c. If that works, submit a patch.
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list