GNOME Bugzilla – Bug 136493
compile error in gst-ffmpeg
Last modified: 2004-12-22 21:47:04 UTC
make[3]: Entering directory `/home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg' /bin/sh ./libtool --mode=link gcc -g -O2 -o output_example output_example.o -Wall libavcodec/libavcodec.la libavformat/libavformat.la gcc -g -O2 -o output_example output_example.o -Wall libavcodec/.libs/libavcodec.a libavformat/.libs/libavformat.a -lz /usr/lib/./libstdc++.so -L/usr/src/gcc-3.3.3.bld/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/src/gcc-3.3.3.bld/i686-pc-linux-gnu/libstdc++-v3/src/.libs -L/usr/src/gcc-3.3.3.bld/gcc -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../.. -lm -lc -lgcc_s -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/. libavformat/.libs/libavformat.a(utils.o)(.text+0xff9): In function `av_read_frame_internal': /home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg/libavformat/utils.c:684: undefined reference to `av_parser_parse' libavformat/.libs/libavformat.a(utils.o)(.text+0x1266):/home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg/libavformat/utils.c:762: undefined reference to `av_parser_init' libavformat/.libs/libavformat.a(utils.o)(.text+0x1321):/home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg/libavformat/utils.c:719: undefined reference to `av_parser_parse' libavformat/.libs/libavformat.a(utils.o)(.text+0x1504): In function `av_read_frame_flush': /home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg/libavformat/utils.c:862: undefined reference to `av_parser_close' libavformat/.libs/libavformat.a(utils.o)(.text+0x2a2a): In function `av_close_input_file': /home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg/libavformat/utils.c:1552: undefined reference to `av_parser_close' libavformat/.libs/libavformat.a(allformats.o)(.text+0x18): In function `av_register_all': /home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg/libavformat/allformats.c:30: undefined reference to `avcodec_register_all' collect2: ld returned 1 exit status make[3]: *** [output_example] Error 1 make[3]: Leaving directory `/home/arwed/Work/cvs/gst-ffmpeg/gst-libs/ext/ffmpeg/ffmpeg' Disabling output_example in the Makefile fixes it, everything else compiles and works fine.
doesn't happen anymore with current gst-ffmpeg
Oh, right, forgot to mention that I fixed this. Sorry. ;).