[FFmpeg-devel] [FFmpeg-cvslog] Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'

James Almer jamrial at gmail.com
Fri Oct 13 01:27:36 EEST 2017


On 10/12/2017 6:42 PM, Reino Wijnsma wrote:
> On 12-10-2017 20:11, Helmut K. C. Tessarek <tessarek at evermeet.cx> wrote:
>> I'm not sure why you guys have to make all these changes to the build
>> process lately.
>>
>> All of a sudden ffmpeg does not compile anymore. During configure I get:
>>
>> ERROR: libbluray not found using pkg-config
>>
>> which worked perfectly 2 days ago. So, whatever changes you made, they
>> screwed up other things.
> Same here. I was about to compile another FFmpeg executable, but got
> configure complaining about libbluray as well (note: I always use
> --pkg-config-flags=--static).
> I've worked around that by changing the pc-file
> 
> prefix=/cygdrive/[...]
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
> 
> Name: libbluray
> Description: library supporting Blu-ray playback
> Version: 1.0.1
> Libs: -L${libdir} -lbluray
> Libs.private:  -L/cygdrive/[...]/lib -lxml2 -L/cygdrive/[...]/lib
> -lfreetype -lgdi32
> Cflags: -I${includedir}
> 
> ...into:
> 
> prefix=/cygdrive/[...]
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
> 
> Name: libbluray
> Description: library supporting Blu-ray playback
> Version: 1.0.1
> Requires: libxml-2.0, freetype2
> Libs: -L${libdir} -lbluray
> Libs.private:  -lgdi32
> Cflags: -I${includedir}

Thanks a lot! You confirmed what i suspected.

Guess we'll have to get libbluray to change their .pc file.

> 
> Next however was iLBC. I got "undefined reference to `pthread_once'" and
> "ERROR: libilbc not found". I had to add --extra-libs=-lpthread to 'fix'
> that.
> 
> Now it's complaining about libmysofa:
> 
> /cygdrive/[...]/lib/libmysofa.a(gunzip.c.obj):gunzip.c:(.text+0x5f):
> undefined reference to `inflateInit_'
> /cygdrive/[...]/lib/libmysofa.a(gunzip.c.obj):gunzip.c:(.text+0x76):
> undefined reference to `inflate'
> /cygdrive/[...]/lib/libmysofa.a(gunzip.c.obj):gunzip.c:(.text+0x8a):
> undefined reference to `inflateEnd'
> collect2: error: ld returned 1 exit status
> ERROR: libmysofa not found

Does libmysofa have a pkg-config file? Otherwise, guess i'll have to add
-lz to its extralibs.

> 
> Something is seriously broken here.

Dependencies are being figured out after ldflags were changed into a
per-component basis instead of globally.

> 
> On 12-10-2017 22:36, James Almer <jamrial at gmail.com> wrote:
>> Does the attached patch ('0001-build-fix-building-with-build-suffix.patch') fix this for you?
> Does nothing for me.

It's not meant to. That fixed another bug.

> 
> -- Reino
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list