[x264-devel] does not link lavf support
Steven Walters
kemuri9 at gmail.com
Sat Jun 18 15:51:39 CEST 2011
yes, a patch along those lines is correct to fix the linking issue.
It's somewhat interesting that the issue hasn't particularly been
found until now though, as this indicates that there should of been a
linker error later if one had a shared-lib version of swscale in
pkg-config but did not opt for either lavformat or ffms support as
well...
On Sat, Jun 18, 2011 at 8:52 AM, vmrsss <vmrsss at gmail.com> wrote:
> On 18 Jun 2011, at 13:17, Steven Walters wrote:
>> Have you even looked at config.log and see why the check for
>> av_get_pix_fmt_name is failing?
>
> this is what fails:
>
>> gcc conftest.c -arch x86_64 -march=core2 -msse4 -O2 -pipe -Wall -I. -falign-loops=16 -mdynamic-no-pic -arch x86_64 -std=gnu99 -I/usr/local/include -L/usr/local/lib -lswscale -L/usr/X11/lib -lm -arch x86_64 -lpthread -o conftest
>> Undefined symbols:
>> "_av_get_pix_fmt_name", referenced from:
>> _main in ccXeMg7J.o
>> ld: symbol(s) not found
>
> It lacks -lavutil on the command line.
>
> This patch should fix it:
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>
>
More information about the x264-devel
mailing list