[x264-devel] maybe bugs

Jason Garrett-Glaser darkshikari at gmail.com
Thu May 6 09:55:55 CEST 2010


On Thu, May 6, 2010 at 12:45 AM, avcoder <ffmpeg at gmail.com> wrote:
> Hi
> I compiled the latest git, get libx264.a
> I use libx264.a in Visual C++ and get the following linker error:
> 1>libx264.a(sad-a.o) : error LNK2001: unresolved external symbol _x264_sw_6
> I searched the x264 code base , it seems that sw_6 is never used, so I just
> remove it, and the Visual C++ is happy with the libx264.a again.
> diff --git a/common/x86/sad-a.asm b/common/x86/sad-a.asm
> index dd144c0..72c1789 100644
> --- a/common/x86/sad-a.asm
> +++ b/common/x86/sad-a.asm
> @@ -31,7 +31,6 @@ SECTION .text
>  cextern pb_3
>  cextern pb_shuf8x8c
>  cextern pw_8
> -cextern sw_6
>  cextern sw_64

My bad.  I'm shocked that gcc linked that to begin with.  Fixed.

Dark Shikari


More information about the x264-devel mailing list