Hi Rukhsana, On Fri, Apr 22, 2011 at 5:05 PM, rukhsana afroz <rukhsana.af...@gmail.com> wrote: > With current libav, while compiling the code I get the following error: > > CC libavdevice/alldevices.o > In file included from ./libavutil/internal.h:171, > from ./libavutil/common.h:328, > from ./libavutil/avutil.h:97, > from ./libavcodec/avcodec.h:31, > from ./libavformat/avformat.h:43, > from libavdevice/alldevices.c:22: > ./libavutil/libm.h:89:6: warning: "HAVE_TRUNC" is not defined > In file included from ./libavutil/internal.h:171, > from ./libavutil/common.h:328, > from ./libavutil/avutil.h:97, > from ./libavcodec/avcodec.h:31, > from ./libavformat/avformat.h:43, > from libavdevice/alldevices.c:22: > ./libavutil/libm.h:90: error: static declaration of ‘trunc’ follows > non-static declaration > libavdevice/alldevices.c: In function ‘avdevice_register_all’: > libavdevice/alldevices.c:45: error: ‘CONFIG_FBDEV_INDEV’ undeclared (first > use in this function) > libavdevice/alldevices.c:45: error: (Each undeclared identifier is reported > only once > libavdevice/alldevices.c:45: error: for each function it appears in.) > make: *** [libavdevice/alldevices.o] Error 1 > > > Could you please help me to get rid of this error?
You need to re-run configure. Ronald _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel