[x264-devel] does not link lavf support

vmrsss vmrsss at gmail.com
Sat Jun 18 14:52:00 CEST 2011


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:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.patch
Type: application/octet-stream
Size: 666 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110618/993bd70e/attachment.obj>


More information about the x264-devel mailing list