In MINGW32 libutvideoenc.cpp and libutvideodec.cpp do not link properly
|Reported by:||ffmpeg-tester||Owned by:||dbuitenh|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
I've tried to compile ffmpeg in Mingw 32bit environment with --enable-libutvideo and static libutvideo. Decoder utvideo.c alone can be compiled without problems. But if you link libavcodec with objects of c++ modules (libutvideoenc.cpp and libutvideodec.cpp), references to functions of the libavcodec library become invalid after that! During linking of libavformat, gcc generates a lot of errors: "undefined reference" to many STANDARD libavcodec functions, such as av_free_packet, av_fast_realloc etc.
Simultaneous linking of c++ and c objects for the libavcodec component produce incorrect results in mingw (and maybe in some other systems).
How to reproduce: try to build the latest ffmpeg in MINGW 32bit with libutvideo and --enable-libutvideo option
Change History (7)
comment:6 Changed 10 days ago by richardpl
- Resolution set to wontfix
- Status changed from open to closed