I have a little problem when building gst-ffmpeg-0.10.11 on MinGW. I
get warning messages saying that shared libraries of avformat,
avcodec and avutil are not built. Later I get a lot of linker errors
about missing references to functions, all of which seem to reside
in gst-libs/ext/ffmpeg subdirectories. How can I build shared
libraries for avformat, avcodec and avutil? I'm not very familiar
with autotools so this is a big problem for me.
These are my commands: ./configure --prefix=/c/MinGW --enable-shared --disable-static make install Here are the warnings and error messages: Making install in ext make[1]: Entering directory `/home/Marko/gst-ffmpeg-0.10.11/ext' Making install in ffmpeg make[2]: Entering directory `/home/Marko/gst-ffmpeg-0.10.11/ext/ffmpeg' CCLD libgstffmpeg.la *** Warning: Trying to link with static lib archive ../../gst-libs/ext/ffmpeg/libavformat/libavformat.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because the file extensions .a of this argument makes me believe *** that it is just a static archive that I should not use here. *** Warning: Trying to link with static lib archive ../../gst-libs/ext/ffmpeg/libavcodec/libavcodec.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because the file extensions .a of this argument makes me believe *** that it is just a static archive that I should not use here. *** Warning: Trying to link with static lib archive ../../gst-libs/ext/ffmpeg/libavutil/libavutil.a. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because the file extensions .a of this argument makes me believe *** that it is just a static archive that I should not use here. Info: resolving ___gst_debug_min by linking to __imp____gst_debug_min (auto-import) Info: resolving _GST_CAT_DEFAULT by linking to __imp__GST_CAT_DEFAULT (auto-import) Creating library file: .libs/libgstffmpeg.dll.a /mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs. .libs/libgstffmpeg_la-gstffmpeg.o: In function `plugin_init': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:134: undefined reference to `av_log_set_callback' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:139: undefined reference to `av_register_all' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:154: undefined reference to `register_protocol' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:155: undefined reference to `register_protocol' .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_avcodec_open': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:52: undefined reference to `avcodec_open' .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_avcodec_close': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:64: undefined reference to `avcodec_close' .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_av_find_stream_info': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:76: undefined reference to `av_find_stream_info' .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function `gst_ffmpeg_get_palette': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:52: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:53: undefined reference to `av_malloc' .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function `gst_ffmpeg_codecid_to_caps': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:1547: undefined reference to `avcodec_find_decoder' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:1547: undefined reference to `avcodec_find_encoder' .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function `gst_ffmpeg_caps_with_codecid': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2250: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2276: undefined reference to `av_mallocz' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2325: undefined reference to `av_mallocz' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2291: undefined reference to `av_mallocz' .libs/libgstffmpeg_la-gstffmpegmake[2]: Leaving directory `/home/Marko/gst-ffmpeg-0.10.11/ext/ffmpeg' make[1]: Leaving directory `/home/Marko/gst-ffmpeg-0.10.11/ext' codecmap.o: In function `gst_ffmpeg_caps_to_codecid': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3288: undefined reference to `avcodec_find_decoder_by_name' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3288: undefined reference to `avcodec_find_encoder_by_name' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3300: undefined reference to `avcodec_find_decoder_by_name' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3300: undefined reference to `avcodec_find_encoder_by_name' .libs/libgstffmpeg_la-gstffmpegutils.o: In function `gst_ffmpeg_get_codecid_longname': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:31: undefined reference to `avcodec_find_decoder' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:31: undefined reference to `avcodec_find_encoder' .libs/libgstffmpeg_la-gstffmpegutils.o: In function `new_aligned_buffer': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:410: undefined reference to `av_malloc' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:412: undefined reference to `av_free' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_init': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:248: undefined reference to `avcodec_alloc_context' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:249: undefined reference to `avcodec_alloc_frame' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_encode_audio': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:860: undefined reference to `avcodec_encode_audio' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_chain_audio': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:913: undefined reference to `av_get_bits_per_sample_format' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1024: undefined reference to `av_get_bits_per_sample' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_flush_buffers': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1071: undefined reference to `avcodec_encode_video' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpeg_time_gst_to_ff': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_chain_video': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:781: undefined reference to `avcodec_encode_video' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_getcaps': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:448: undefined reference to `avcodec_alloc_context' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:487: undefined reference to `av_free' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_setcaps': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:529: undefined reference to `avcodec_get_context_defaults' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_finalize': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:298: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:299: undefined reference to `av_free' .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_register': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1307: undefined reference to `av_codec_next' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1378: undefined reference to `av_codec_next' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1378: undefined reference to `av_codec_next' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_init': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:425: undefined reference to `avcodec_alloc_context' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:426: undefined reference to `avcodec_alloc_frame' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_flush_pcache': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2351: undefined reference to `av_parser_close' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2352: undefined reference to `av_parser_init' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_audio_frame': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2109: undefined reference to `avcodec_decode_audio2' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_video_frame': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1754: undefined reference to `avcodec_decode_video' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `get_output_buffer': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1568: undefined reference to `av_picture_copy' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_chain': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2510: undefined reference to `avcodec_flush_buffers' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2589: undefined reference to `av_parser_parse' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_close': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:587: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:592: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:601: undefined reference to `av_parser_close' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_setcaps': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:733: undefined reference to `avcodec_get_context_defaults' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_open': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:641: undefined reference to `av_parser_init' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:656: undefined reference to `av_parser_init' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_get_buffer': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:989: undefined reference to `avcodec_default_get_buffer' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1016: undefined reference to `avcodec_align_dimensions' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1032: undefined reference to `avcodec_default_get_buffer' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_finalize': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:456: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:461: undefined reference to `av_free' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_sink_event': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2378: undefined reference to `avcodec_flush_buffers' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_register': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2850: undefined reference to `av_codec_next' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2973: undefined reference to `av_codec_next' .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_release_buffer': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1078: undefined reference to `avcodec_default_release_buffer' .libs/libgstffmpeg_la-gstffmpegcfg.o: In function `gst_ffmpeg_cfg_install_property': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:769: undefined reference to `avcodec_alloc_context' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:771: undefined reference to `avcodec_get_context_defaults' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:882: undefined reference to `av_free' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_close': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:344: undefined reference to `av_close_input_file' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpeg_time_ff_to_gst': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_do_seek': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:442: undefined reference to `av_find_default_stream_index' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpeg_time_gst_to_ff': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_do_seek': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:468: undefined reference to `av_index_search_timestamp' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpeg_time_ff_to_gst': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_do_seek': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:488: undefined reference to `av_seek_frame' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpeg_time_ff_to_gst': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: undefined reference to `av_rescale_q' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1345: undefined reference to `av_read_frame' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpeg_time_ff_to_gst': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: undefined reference to `av_rescale_q' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1473: undefined reference to `av_free_packet' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_open': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1162: undefined reference to `av_open_input_file' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1436: undefined reference to `av_picture_copy' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1551: undefined reference to `av_free_packet' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1562: undefined reference to `av_free_packet' .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_register': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1865: undefined reference to `av_iformat_next' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:2025: undefined reference to `av_iformat_next' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_collected': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:638: undefined reference to `url_fopen' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:645: undefined reference to `av_set_parameters' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:652: undefined reference to `av_write_header' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:662: undefined reference to `put_flush_packet' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpeg_time_gst_to_ff': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_collected': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:754: undefined reference to `av_write_frame' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpeg_time_gst_to_ff': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: undefined reference to `av_rescale_q' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_collected': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:735: undefined reference to `av_picture_copy' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:760: undefined reference to `av_write_trailer' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:762: undefined reference to `put_flush_packet' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:763: undefined reference to `url_fclose' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_change_state': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:801: undefined reference to `url_fclose' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_request_new_pad': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:453: undefined reference to `av_new_stream' .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_register': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:877: undefined reference to `av_oformat_next' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:951: undefined reference to `av_oformat_next' .libs/libgstffmpeg_la-gstffmpegdeinterlace.o: In function `gst_ffmpegdeinterlace_chain': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:190: undefined reference to `avpicture_deinterlace' .libs/libgstffmpeg_la-gstffmpegdeinterlace.o: In function `gst_ffmpegdeinterlace_sink_setcaps': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:124: undefined reference to `avcodec_alloc_context' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:136: undefined reference to `av_free' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:139: undefined reference to `avpicture_get_size' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:145: undefined reference to `gst_caps_set_value' C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:130: undefined reference to `av_free' .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function `gst_ffmpegaudioresample_transform': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:278: undefined reference to `audio_resample' .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function `gst_ffmpegaudioresample_set_caps': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:251: undefined reference to `audio_resample_init' .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function `gst_ffmpegaudioresample_finalize': C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:154: undefined reference to `audio_resample_close' collect2: ld returned 1 exit status make[2]: *** [libgstffmpeg.la] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Marko Mikkonen wrote:
> I have a little problem when building gst-ffmpeg-0.10.11 on MinGW. I > get warning messages saying that shared libraries of avformat, avcodec > and avutil are not built. Later I get a lot of linker errors about > missing references to functions, all of which seem to reside in > gst-libs/ext/ffmpeg subdirectories. How can I build shared libraries for > avformat, avcodec and avutil? I'm not very familiar with autotools so > this is a big problem for me. > > These are my commands: > ./configure --prefix=/c/MinGW --enable-shared --disable-static > make install You could try export lt_cv_deplibs_check_method=pass_all ./configure Important part is that the former variable should have the configure script convince libtool to also consider a real static lib for linking, rather than only a static import lib (with dll counterpart). Mark. > > Here are the warnings and error messages: > > Making install in ext > make[1]: Entering directory `/home/Marko/gst-ffmpeg-0.10.11/ext' > Making install in ffmpeg > make[2]: Entering directory `/home/Marko/gst-ffmpeg-0.10.11/ext/ffmpeg' > CCLD libgstffmpeg.la > > *** Warning: Trying to link with static lib archive > ../../gst-libs/ext/ffmpeg/libavformat/libavformat.a. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because the file extensions .a of this argument makes me believe > *** that it is just a static archive that I should not use here. > > *** Warning: Trying to link with static lib archive > ../../gst-libs/ext/ffmpeg/libavcodec/libavcodec.a. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because the file extensions .a of this argument makes me believe > *** that it is just a static archive that I should not use here. > > *** Warning: Trying to link with static lib archive > ../../gst-libs/ext/ffmpeg/libavutil/libavutil.a. > *** I have the capability to make that library automatically link in when > *** you link to this library. But I can only do this if you have a > *** shared version of the library, which you do not appear to have > *** because the file extensions .a of this argument makes me believe > *** that it is just a static archive that I should not use here. > Info: resolving ___gst_debug_min by linking to __imp____gst_debug_min > (auto-import) > Info: resolving _GST_CAT_DEFAULT by linking to __imp__GST_CAT_DEFAULT > (auto-import) > Creating library file: .libs/libgstffmpeg.dll.a > /mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: > warning: auto-importing has been activated without --enable-auto-import > specified on the command line. > This should work unless it involves constant data structures referencing > symbols from auto-imported DLLs. > .libs/libgstffmpeg_la-gstffmpeg.o: In function `plugin_init': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:134: > undefined reference to `av_log_set_callback' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:139: > undefined reference to `av_register_all' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:154: > undefined reference to `register_protocol' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:155: > undefined reference to `register_protocol' > .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_avcodec_open': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:52: > undefined reference to `avcodec_open' > .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_avcodec_close': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:64: > undefined reference to `avcodec_close' > .libs/libgstffmpeg_la-gstffmpeg.o: In function > `gst_ffmpeg_av_find_stream_info': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:76: > undefined reference to `av_find_stream_info' > .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function > `gst_ffmpeg_get_palette': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:52: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:53: > undefined reference to `av_malloc' > .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function > `gst_ffmpeg_codecid_to_caps': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:1547: > undefined reference to `avcodec_find_decoder' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:1547: > undefined reference to `avcodec_find_encoder' > .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function > `gst_ffmpeg_caps_with_codecid': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2250: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2276: > undefined reference to `av_mallocz' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2325: > undefined reference to `av_mallocz' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2291: > undefined reference to `av_mallocz' > .libs/libgstffmpeg_la-gstffmpegmake[2]: Leaving directory > `/home/Marko/gst-ffmpeg-0.10.11/ext/ffmpeg' > make[1]: Leaving directory `/home/Marko/gst-ffmpeg-0.10.11/ext' > codecmap.o: In function `gst_ffmpeg_caps_to_codecid': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3288: > undefined reference to `avcodec_find_decoder_by_name' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3288: > undefined reference to `avcodec_find_encoder_by_name' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3300: > undefined reference to `avcodec_find_decoder_by_name' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3300: > undefined reference to `avcodec_find_encoder_by_name' > .libs/libgstffmpeg_la-gstffmpegutils.o: In function > `gst_ffmpeg_get_codecid_longname': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:31: > undefined reference to `avcodec_find_decoder' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:31: > undefined reference to `avcodec_find_encoder' > .libs/libgstffmpeg_la-gstffmpegutils.o: In function `new_aligned_buffer': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:410: > undefined reference to `av_malloc' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:412: > undefined reference to `av_free' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_init': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:248: > undefined reference to `avcodec_alloc_context' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:249: > undefined reference to `avcodec_alloc_frame' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function > `gst_ffmpegenc_encode_audio': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:860: > undefined reference to `avcodec_encode_audio' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function > `gst_ffmpegenc_chain_audio': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:913: > undefined reference to `av_get_bits_per_sample_format' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1024: > undefined reference to `av_get_bits_per_sample' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function > `gst_ffmpegenc_flush_buffers': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1071: > undefined reference to `avcodec_encode_video' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function > `gst_ffmpeg_time_gst_to_ff': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function > `gst_ffmpegenc_chain_video': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:781: > undefined reference to `avcodec_encode_video' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_getcaps': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:448: > undefined reference to `avcodec_alloc_context' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:487: > undefined reference to `av_free' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_setcaps': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:529: > undefined reference to `avcodec_get_context_defaults' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_finalize': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:298: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:299: > undefined reference to `av_free' > .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_register': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1307: > undefined reference to `av_codec_next' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1378: > undefined reference to `av_codec_next' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1378: > undefined reference to `av_codec_next' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_init': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:425: > undefined reference to `avcodec_alloc_context' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:426: > undefined reference to `avcodec_alloc_frame' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function > `gst_ffmpegdec_flush_pcache': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2351: > undefined reference to `av_parser_close' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2352: > undefined reference to `av_parser_init' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function > `gst_ffmpegdec_audio_frame': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2109: > undefined reference to `avcodec_decode_audio2' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function > `gst_ffmpegdec_video_frame': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1754: > undefined reference to `avcodec_decode_video' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `get_output_buffer': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1568: > undefined reference to `av_picture_copy' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_chain': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2510: > undefined reference to `avcodec_flush_buffers' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2589: > undefined reference to `av_parser_parse' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_close': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:587: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:592: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:601: > undefined reference to `av_parser_close' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_setcaps': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:733: > undefined reference to `avcodec_get_context_defaults' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_open': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:641: > undefined reference to `av_parser_init' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:656: > undefined reference to `av_parser_init' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function > `gst_ffmpegdec_get_buffer': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:989: > undefined reference to `avcodec_default_get_buffer' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1016: > undefined reference to `avcodec_align_dimensions' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1032: > undefined reference to `avcodec_default_get_buffer' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_finalize': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:456: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:461: > undefined reference to `av_free' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function > `gst_ffmpegdec_sink_event': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2378: > undefined reference to `avcodec_flush_buffers' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_register': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2850: > undefined reference to `av_codec_next' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2973: > undefined reference to `av_codec_next' > .libs/libgstffmpeg_la-gstffmpegdec.o: In function > `gst_ffmpegdec_release_buffer': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1078: > undefined reference to `avcodec_default_release_buffer' > .libs/libgstffmpeg_la-gstffmpegcfg.o: In function > `gst_ffmpeg_cfg_install_property': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:769: > undefined reference to `avcodec_alloc_context' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:771: > undefined reference to `avcodec_get_context_defaults' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:882: > undefined reference to `av_free' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpegdemux_close': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:344: > undefined reference to `av_close_input_file' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpeg_time_ff_to_gst': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpegdemux_do_seek': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:442: > undefined reference to `av_find_default_stream_index' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpeg_time_gst_to_ff': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpegdemux_do_seek': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:468: > undefined reference to `av_index_search_timestamp' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpeg_time_ff_to_gst': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpegdemux_do_seek': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:488: > undefined reference to `av_seek_frame' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpeg_time_ff_to_gst': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: > undefined reference to `av_rescale_q' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1345: > undefined reference to `av_read_frame' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpeg_time_ff_to_gst': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: > undefined reference to `av_rescale_q' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1473: > undefined reference to `av_free_packet' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_open': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1162: > undefined reference to `av_open_input_file' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1436: > undefined reference to `av_picture_copy' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1551: > undefined reference to `av_free_packet' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1562: > undefined reference to `av_free_packet' > .libs/libgstffmpeg_la-gstffmpegdemux.o: In function > `gst_ffmpegdemux_register': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1865: > undefined reference to `av_iformat_next' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:2025: > undefined reference to `av_iformat_next' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpegmux_collected': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:638: > undefined reference to `url_fopen' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:645: > undefined reference to `av_set_parameters' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:652: > undefined reference to `av_write_header' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:662: > undefined reference to `put_flush_packet' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpeg_time_gst_to_ff': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpegmux_collected': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:754: > undefined reference to `av_write_frame' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpeg_time_gst_to_ff': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: > undefined reference to `av_rescale_q' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpegmux_collected': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:735: > undefined reference to `av_picture_copy' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:760: > undefined reference to `av_write_trailer' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:762: > undefined reference to `put_flush_packet' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:763: > undefined reference to `url_fclose' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpegmux_change_state': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:801: > undefined reference to `url_fclose' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function > `gst_ffmpegmux_request_new_pad': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:453: > undefined reference to `av_new_stream' > .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_register': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:877: > undefined reference to `av_oformat_next' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:951: > undefined reference to `av_oformat_next' > .libs/libgstffmpeg_la-gstffmpegdeinterlace.o: In function > `gst_ffmpegdeinterlace_chain': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:190: > undefined reference to `avpicture_deinterlace' > .libs/libgstffmpeg_la-gstffmpegdeinterlace.o: In function > `gst_ffmpegdeinterlace_sink_setcaps': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:124: > undefined reference to `avcodec_alloc_context' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:136: > undefined reference to `av_free' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:139: > undefined reference to `avpicture_get_size' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:145: > undefined reference to `gst_caps_set_value' > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:130: > undefined reference to `av_free' > .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function > `gst_ffmpegaudioresample_transform': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:278: > undefined reference to `audio_resample' > .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function > `gst_ffmpegaudioresample_set_caps': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:251: > undefined reference to `audio_resample_init' > .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function > `gst_ffmpegaudioresample_finalize': > C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:154: > undefined reference to `audio_resample_close' > collect2: ld returned 1 exit status > make[2]: *** [libgstffmpeg.la] Error 1 > make[1]: *** [install-recursive] Error 1 > make: *** [install-recursive] Error 1 > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thank you! It worked! That was a really accurate tip.
Actually I'm quite impressed :) I never would have found out that :) *Novice bows* -Marko 30.1.2011 12:41, Mark Nauwelaerts kirjoitti: > Marko Mikkonen wrote: >> I have a little problem when building gst-ffmpeg-0.10.11 on MinGW. I >> get warning messages saying that shared libraries of avformat, avcodec >> and avutil are not built. Later I get a lot of linker errors about >> missing references to functions, all of which seem to reside in >> gst-libs/ext/ffmpeg subdirectories. How can I build shared libraries for >> avformat, avcodec and avutil? I'm not very familiar with autotools so >> this is a big problem for me. >> >> These are my commands: >> ./configure --prefix=/c/MinGW --enable-shared --disable-static >> make install > You could try > export lt_cv_deplibs_check_method=pass_all > ./configure > > Important part is that the former variable should have the configure script > convince libtool to also consider a real static lib for linking, rather than > only a static import lib (with dll counterpart). > > Mark. > >> Here are the warnings and error messages: >> >> Making install in ext >> make[1]: Entering directory `/home/Marko/gst-ffmpeg-0.10.11/ext' >> Making install in ffmpeg >> make[2]: Entering directory `/home/Marko/gst-ffmpeg-0.10.11/ext/ffmpeg' >> CCLD libgstffmpeg.la >> >> *** Warning: Trying to link with static lib archive >> ../../gst-libs/ext/ffmpeg/libavformat/libavformat.a. >> *** I have the capability to make that library automatically link in when >> *** you link to this library. But I can only do this if you have a >> *** shared version of the library, which you do not appear to have >> *** because the file extensions .a of this argument makes me believe >> *** that it is just a static archive that I should not use here. >> >> *** Warning: Trying to link with static lib archive >> ../../gst-libs/ext/ffmpeg/libavcodec/libavcodec.a. >> *** I have the capability to make that library automatically link in when >> *** you link to this library. But I can only do this if you have a >> *** shared version of the library, which you do not appear to have >> *** because the file extensions .a of this argument makes me believe >> *** that it is just a static archive that I should not use here. >> >> *** Warning: Trying to link with static lib archive >> ../../gst-libs/ext/ffmpeg/libavutil/libavutil.a. >> *** I have the capability to make that library automatically link in when >> *** you link to this library. But I can only do this if you have a >> *** shared version of the library, which you do not appear to have >> *** because the file extensions .a of this argument makes me believe >> *** that it is just a static archive that I should not use here. >> Info: resolving ___gst_debug_min by linking to __imp____gst_debug_min >> (auto-import) >> Info: resolving _GST_CAT_DEFAULT by linking to __imp__GST_CAT_DEFAULT >> (auto-import) >> Creating library file: .libs/libgstffmpeg.dll.a >> /mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: >> warning: auto-importing has been activated without --enable-auto-import >> specified on the command line. >> This should work unless it involves constant data structures referencing >> symbols from auto-imported DLLs. >> .libs/libgstffmpeg_la-gstffmpeg.o: In function `plugin_init': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:134: >> undefined reference to `av_log_set_callback' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:139: >> undefined reference to `av_register_all' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:154: >> undefined reference to `register_protocol' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:155: >> undefined reference to `register_protocol' >> .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_avcodec_open': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:52: >> undefined reference to `avcodec_open' >> .libs/libgstffmpeg_la-gstffmpeg.o: In function `gst_ffmpeg_avcodec_close': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:64: >> undefined reference to `avcodec_close' >> .libs/libgstffmpeg_la-gstffmpeg.o: In function >> `gst_ffmpeg_av_find_stream_info': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpeg.c:76: >> undefined reference to `av_find_stream_info' >> .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function >> `gst_ffmpeg_get_palette': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:52: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:53: >> undefined reference to `av_malloc' >> .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function >> `gst_ffmpeg_codecid_to_caps': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:1547: >> undefined reference to `avcodec_find_decoder' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:1547: >> undefined reference to `avcodec_find_encoder' >> .libs/libgstffmpeg_la-gstffmpegcodecmap.o: In function >> `gst_ffmpeg_caps_with_codecid': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2250: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2276: >> undefined reference to `av_mallocz' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2325: >> undefined reference to `av_mallocz' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:2291: >> undefined reference to `av_mallocz' >> .libs/libgstffmpeg_la-gstffmpegmake[2]: Leaving directory >> `/home/Marko/gst-ffmpeg-0.10.11/ext/ffmpeg' >> make[1]: Leaving directory `/home/Marko/gst-ffmpeg-0.10.11/ext' >> codecmap.o: In function `gst_ffmpeg_caps_to_codecid': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3288: >> undefined reference to `avcodec_find_decoder_by_name' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3288: >> undefined reference to `avcodec_find_encoder_by_name' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3300: >> undefined reference to `avcodec_find_decoder_by_name' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcodecmap.c:3300: >> undefined reference to `avcodec_find_encoder_by_name' >> .libs/libgstffmpeg_la-gstffmpegutils.o: In function >> `gst_ffmpeg_get_codecid_longname': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:31: >> undefined reference to `avcodec_find_decoder' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:31: >> undefined reference to `avcodec_find_encoder' >> .libs/libgstffmpeg_la-gstffmpegutils.o: In function `new_aligned_buffer': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:410: >> undefined reference to `av_malloc' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.c:412: >> undefined reference to `av_free' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_init': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:248: >> undefined reference to `avcodec_alloc_context' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:249: >> undefined reference to `avcodec_alloc_frame' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function >> `gst_ffmpegenc_encode_audio': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:860: >> undefined reference to `avcodec_encode_audio' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function >> `gst_ffmpegenc_chain_audio': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:913: >> undefined reference to `av_get_bits_per_sample_format' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1024: >> undefined reference to `av_get_bits_per_sample' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function >> `gst_ffmpegenc_flush_buffers': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1071: >> undefined reference to `avcodec_encode_video' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function >> `gst_ffmpeg_time_gst_to_ff': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function >> `gst_ffmpegenc_chain_video': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:781: >> undefined reference to `avcodec_encode_video' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_getcaps': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:448: >> undefined reference to `avcodec_alloc_context' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:487: >> undefined reference to `av_free' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_setcaps': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:529: >> undefined reference to `avcodec_get_context_defaults' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_finalize': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:298: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:299: >> undefined reference to `av_free' >> .libs/libgstffmpeg_la-gstffmpegenc.o: In function `gst_ffmpegenc_register': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1307: >> undefined reference to `av_codec_next' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1378: >> undefined reference to `av_codec_next' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegenc.c:1378: >> undefined reference to `av_codec_next' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_init': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:425: >> undefined reference to `avcodec_alloc_context' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:426: >> undefined reference to `avcodec_alloc_frame' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function >> `gst_ffmpegdec_flush_pcache': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2351: >> undefined reference to `av_parser_close' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2352: >> undefined reference to `av_parser_init' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function >> `gst_ffmpegdec_audio_frame': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2109: >> undefined reference to `avcodec_decode_audio2' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function >> `gst_ffmpegdec_video_frame': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1754: >> undefined reference to `avcodec_decode_video' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `get_output_buffer': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1568: >> undefined reference to `av_picture_copy' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_chain': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2510: >> undefined reference to `avcodec_flush_buffers' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2589: >> undefined reference to `av_parser_parse' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_close': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:587: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:592: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:601: >> undefined reference to `av_parser_close' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_setcaps': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:733: >> undefined reference to `avcodec_get_context_defaults' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_open': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:641: >> undefined reference to `av_parser_init' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:656: >> undefined reference to `av_parser_init' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function >> `gst_ffmpegdec_get_buffer': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:989: >> undefined reference to `avcodec_default_get_buffer' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1016: >> undefined reference to `avcodec_align_dimensions' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1032: >> undefined reference to `avcodec_default_get_buffer' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_finalize': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:456: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:461: >> undefined reference to `av_free' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function >> `gst_ffmpegdec_sink_event': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2378: >> undefined reference to `avcodec_flush_buffers' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function `gst_ffmpegdec_register': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2850: >> undefined reference to `av_codec_next' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:2973: >> undefined reference to `av_codec_next' >> .libs/libgstffmpeg_la-gstffmpegdec.o: In function >> `gst_ffmpegdec_release_buffer': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdec.c:1078: >> undefined reference to `avcodec_default_release_buffer' >> .libs/libgstffmpeg_la-gstffmpegcfg.o: In function >> `gst_ffmpeg_cfg_install_property': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:769: >> undefined reference to `avcodec_alloc_context' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:771: >> undefined reference to `avcodec_get_context_defaults' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegcfg.c:882: >> undefined reference to `av_free' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpegdemux_close': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:344: >> undefined reference to `av_close_input_file' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpeg_time_ff_to_gst': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpegdemux_do_seek': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:442: >> undefined reference to `av_find_default_stream_index' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpeg_time_gst_to_ff': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpegdemux_do_seek': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:468: >> undefined reference to `av_index_search_timestamp' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpeg_time_ff_to_gst': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpegdemux_do_seek': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:488: >> undefined reference to `av_seek_frame' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpeg_time_ff_to_gst': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: >> undefined reference to `av_rescale_q' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1345: >> undefined reference to `av_read_frame' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpeg_time_ff_to_gst': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: >> undefined reference to `av_rescale_q' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:59: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1473: >> undefined reference to `av_free_packet' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_open': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1162: >> undefined reference to `av_open_input_file' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function `gst_ffmpegdemux_loop': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1436: >> undefined reference to `av_picture_copy' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1551: >> undefined reference to `av_free_packet' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1562: >> undefined reference to `av_free_packet' >> .libs/libgstffmpeg_la-gstffmpegdemux.o: In function >> `gst_ffmpegdemux_register': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:1865: >> undefined reference to `av_iformat_next' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdemux.c:2025: >> undefined reference to `av_iformat_next' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpegmux_collected': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:638: >> undefined reference to `url_fopen' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:645: >> undefined reference to `av_set_parameters' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:652: >> undefined reference to `av_write_header' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:662: >> undefined reference to `put_flush_packet' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpeg_time_gst_to_ff': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpegmux_collected': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:754: >> undefined reference to `av_write_frame' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpeg_time_gst_to_ff': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegutils.h:74: >> undefined reference to `av_rescale_q' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpegmux_collected': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:735: >> undefined reference to `av_picture_copy' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:760: >> undefined reference to `av_write_trailer' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:762: >> undefined reference to `put_flush_packet' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:763: >> undefined reference to `url_fclose' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpegmux_change_state': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:801: >> undefined reference to `url_fclose' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function >> `gst_ffmpegmux_request_new_pad': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:453: >> undefined reference to `av_new_stream' >> .libs/libgstffmpeg_la-gstffmpegmux.o: In function `gst_ffmpegmux_register': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:877: >> undefined reference to `av_oformat_next' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegmux.c:951: >> undefined reference to `av_oformat_next' >> .libs/libgstffmpeg_la-gstffmpegdeinterlace.o: In function >> `gst_ffmpegdeinterlace_chain': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:190: >> undefined reference to `avpicture_deinterlace' >> .libs/libgstffmpeg_la-gstffmpegdeinterlace.o: In function >> `gst_ffmpegdeinterlace_sink_setcaps': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:124: >> undefined reference to `avcodec_alloc_context' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:136: >> undefined reference to `av_free' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:139: >> undefined reference to `avpicture_get_size' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:145: >> undefined reference to `gst_caps_set_value' >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegdeinterlace.c:130: >> undefined reference to `av_free' >> .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function >> `gst_ffmpegaudioresample_transform': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:278: >> undefined reference to `audio_resample' >> .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function >> `gst_ffmpegaudioresample_set_caps': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:251: >> undefined reference to `audio_resample_init' >> .libs/libgstffmpeg_la-gstffmpegaudioresample.o: In function >> `gst_ffmpegaudioresample_finalize': >> C:\MinGW\msys\1.0\home\Marko\gst-ffmpeg-0.10.11\ext\ffmpeg/gstffmpegaudioresample.c:154: >> undefined reference to `audio_resample_close' >> collect2: ld returned 1 exit status >> make[2]: *** [libgstffmpeg.la] Error 1 >> make[1]: *** [install-recursive] Error 1 >> make: *** [install-recursive] Error 1 >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> >> >> >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |