[FFmpeg-devel] libav*.pc missing dependencies [?]

Michael Niedermayer michaelni at gmx.at
Wed May 21 23:07:55 CEST 2014

On Wed, May 21, 2014 at 10:35:22AM -0600, Roger Pack wrote:
> As a note, when cross compiling (target in this case: windows) and
> subsequently linking against/using libavutil.a/libavutil.pc for my
> link parameters, I get this:
>   CCLD     libswscale_plugin.la
> /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/lib/libavutil.a(log.o):
> In function `av_log_default_callback':
> /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/win32/ffmpeg_git/libavutil/log.c:303:
> undefined reference to `pthread_mutex_lock'
> /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/win32/ffmpeg_git/libavutil/log.c:337:
> undefined reference to `pthread_mutex_unlock'
> I believe the libavutil.pc file is missing a pthread dependency in it.
> Also libswresample.pc seemed to be missing an "-lsoxr" flag for its
> linker parameters (when ffmpeg is initially linked against soxr).
> (Let me know if I should file a trac or redirect this or give more
> information or what not).

send patch that fixes the arguments to pkgconfig_generate in
configure (i assume thats where the problem is)


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140521/10a41f88/attachment.asc>

More information about the ffmpeg-devel mailing list