x264_param_parse is undefined
I have downloaded the latest source code from https://www.videolan.org/developers/x264.html (but also pulled it from https://code.videolan.org/videolan/x264)
after ./configure --prefix=/usr/local --enable-static && make all
I have a libx264.a
.
But, forgive my lameness, it has undefined x264_param_parse
(and lots of other symbols required by ffmpeg):
nm -a libx264.a | grep x264_param_parse
00000000000018c0 T x264_param_parse
U x264_param_parse
U x264_param_parse
I am probably missing something but is this normal?
p.s. All I want is to compile ffmpeg
from sources with x264 support with ./configure --prefix=/usr/local --enable-libx264 --enable-nonfree --enable-gpl
. Alas it complains about missing symbols: ld: libx264.c:822: undefined reference to `x264_param_parse'
UPDATE: I have managed to compile ffmpeg
with --enable-shared --enable-pic
with x264 support which was also configured to produce share library. So, if there is a problem then it can be with the choice of --enable-static
in configuring x264.