[FFmpeg-devel] Patch: icl linker errors in cmdutils

Matt Oliver protogonoi at gmail.com
Fri Feb 7 01:56:04 CET 2014


Currently there is a linker error in cmdutils.c as used by ffmpeg and the
other programs. This error is due to missing dependencies where the
function print_all_libs_info() uses data from libs that may not have
actually been built for the current configuration (A common offender here
is avresample).

This adds a fix that puts some preprocessor guards so only headers and data
for libs that are actually built using the current configuration are used.

This was obviously previously in ffmpeg as the comment on line 28 would
suggest:
/* Include only the enabled headers since some compilers (namely, Sun
   Studio) will not omit unused inline functions and create undefined
   references to libraries that are not being built. */

At some point these were removed but this patch readds them in order to fix
a linker error with standard release settings for icl.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix-icl-linker-errors-in-ffmpeg-ffplay-ffprobe.patch
Type: application/octet-stream
Size: 2501 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140207/11c500be/attachment.obj>


More information about the ffmpeg-devel mailing list