[FFmpeg-user] ffmpeg 4.0 and up configure failure

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Jun 6 23:24:14 EEST 2018


2018-06-06 18:06 GMT+02:00, Moocow9m Taliancich <devmoocow9m at gmail.com>:
> I have been able to compile ffmpeg below 4.0 with no problem however when I
> update to 4.0 or the latest git I get some configure errors. LOG:
> https://pastebin.com/HqpCH5wv
> I have removed a few lines from the log (once far away from the error) to
> fit within the pasebin limit. I have the pkg-config variable pointed
> towards the .pc files, and log seems to find it despite final message is
> that it could not be found(It doesn't stop at the check but at a compile
> test). It seems that one of the tests fail when it looks up vorbis.

It fails with the link test for vorbis: "undefined reference to `oggpack_write'"
Either remove --enable-libvorbis from your configure line or find out how
to link the sample program manually:
   #include <vorbis/codec.h>
   #include <stdint.h>
   long check_vorbis_info_init(void) { return (long) vorbis_info_init; }
   int main(void) { int ret = 0;
    ret |= ((intptr_t)check_vorbis_info_init) & 0xFFFF;
   return ret; }

Or try --extra-ldflags=-logg

Carl Eugen


More information about the ffmpeg-user mailing list