building ffmpeg with --enable-gcrypt fails

Questions that occur when trying to compile FFmpeg.
Post Reply
Posts: 205
Joined: Sun Apr 28, 2013 1:03 pm

building ffmpeg with --enable-gcrypt fails

Post by hydra3333 »

Hello, 2 things.

1 Apparently ffmpeg can be built with --enable-gcrypt so I thought I'd give
it a try.
libgpg-error is a dependency of libgcrypt.
One or both of two recent commits in ... ;a=summary
seems to cause an error building libgcrypt ... ;a=summary
Does anyone else experience this ?
I am unsure how to report that, any ideas ?

2 Anyway, building with a prior libgpg-error commit works, however when
ffmpeg is then built (cross-compiled) with --enable-gcrypt then the
configure aborts saying that ffmpeg didn't detect gcrypt.
From the ffbuild.log :-

Code: Select all

x86_64-w64-mingw32-gcc -O3 -Wl,--nxcompat,--dynamicbase
-Wl,--high-entropy-va -Wl,--as-needed -Wl,--image-base,0x140000000 -o
/tmp/ffconf.KIE07SEz/test.exe /tmp/ffconf.KIE07SEz/test.o -lgcrypt -lintl
t+0x4a): undefined reference to `gpg_err_code_from_errno'
. lot of similar .
m.o):random-system.c:(.text+0x289): undefined reference to `gpg_strerror'
collect2: error: ld returned 1 exit status
ERROR: gcrypt not found
What am I doing wrong ?

Post Reply