[Mlt-devel] current git avformat compile error
Brought to you by:
ddennedy,
lilo_booter
From: Christophe T. <hf...@fr...> - 2012-01-23 18:38:00
|
Hi, this is the error: producer_avformat.c: In function ‘producer_avformat_init’: producer_avformat.c:202: warning: implicit declaration of function ‘avformat_close_input’ producer_avformat.c: In function ‘decode_audio’: producer_avformat.c:2152: warning: ‘avcodec_decode_audio3’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4157) cc -I../.. -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 - D_LARGEFILE_SOURCE -fPIC -pthread -DAVDATADIR=\"/usr/local/share/ffmpeg/\" - I/usr/local/include -I/usr/local/include -I/usr/local/include -DFILTERS -DCODECS -DSWSCALE -DAVDEVICE -c -o consumer_avformat.o consumer_avformat.c cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,-- as-needed -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lavformat -lavcodec -lavutil -lswscale -lavdevice producer_avformat.o: In function `producer_open': /home/cris/Devel/mlt/src/modules/avformat/producer_avformat.c:945: undefined reference to `avformat_close_input' producer_avformat.o: In function `producer_avformat_init': /home/cris/Devel/mlt/src/modules/avformat/producer_avformat.c:202: undefined reference to `avformat_close_input' /home/cris/Devel/mlt/src/modules/avformat/producer_avformat.c:204: undefined reference to `avformat_close_input' producer_avformat.o: In function `producer_avformat_close': /home/cris/Devel/mlt/src/modules/avformat/producer_avformat.c:2702: undefined reference to `avformat_close_input' /home/cris/Devel/mlt/src/modules/avformat/producer_avformat.c:2704: undefined reference to `avformat_close_input' producer_avformat.o:/home/cris/Devel/mlt/src/modules/avformat/producer_avformat.c:2706: more undefined references to `avformat_close_input' follow collect2: ld returned 1 exit status make[2]: *** [../libmltavformat.so] Erreur 1 make[2]: quittant le répertoire « /home/cris/Devel/mlt/src/modules/avformat » make[1]: *** [all] Erreur 1 make[1]: quittant le répertoire « /home/cris/Devel/mlt/src/modules » make: *** [all] Erreur 1 Something wrong on my side? -- Christophe Thommeret |