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

Reino Wijnsma rwijnsma at xs4all.nl
Fri Oct 13 00:42:33 EEST 2017


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}

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

Something is seriously broken here.

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.

-- Reino


More information about the ffmpeg-devel mailing list