[x264-devel] does not link lavf support
vmrsss
vmrsss at gmail.com
Sat Jun 18 15:44:59 CEST 2011
On 18 Jun 2011, at 13:52, vmrsss 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:
>
> <configure.patch>
hmm, not so simple I'm afraid. It compiles, but then crashes at runtime trying to open the file through ilbavformat:
> Process: x264 [1598]
> Path: /usr/local/bin/x264
> Identifier: x264
> Version: ??? (???)
> Code Type: X86-64 (Native)
> Parent Process: bash [404]
>
> Date/Time: 2011-06-18 14:41:13.563 +0100
> OS Version: Mac OS X 10.6.7 (10J869)
> Report Version: 6
>
> Exception Type: EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
> Crashed Thread: 0 Dispatch queue: com.apple.main-thread
>
> Thread 0 Crashed: Dispatch queue: com.apple.main-thread
> 0 libavformat.dylib 0x00000001001fcadc av_gen_search + 1036
> 1 libavformat.dylib 0x0000000100203c91 av_open_input_file + 49
> 2 x264 0x000000010000e535 open_file + 149
> 3 x264 0x00000001000045a8 parse + 6504
> 4 x264 0x00000001000047b9 main + 89
> 5 x264 0x0000000100001214 start + 52
Help anybody?
>
More information about the x264-devel
mailing list