[MPlayer-users] compile error
Zongyao QU
zongyao.qu at gmail.com
Mon Jul 25 03:53:34 CEST 2011
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
>
> On Sat, Jul 23, 2011 at 05:02:28PM +0000, Zongyao QU wrote:
> > OS: Mac OS X 10.7
> > compiler: gcc from Xcode 4.1
>
> Which is that?
> Is it really gcc, not LLVM?
tried both.
by
export CC="cc -m64" -> this is llvm-gcc
and
export CC="gcc -m64" -> this is gcc 4.2.1 (Apple build)
both error.
in Snow Leopard, both OK.
I am not sure whether it is a Apple bug.
>
> > Undefined symbols for architecture x86_64:
> > "_MM_FIX_0_707106781", referenced from:
> > _filter in vf_fspp.o
> > "_MM_FIX_0_541196100", referenced from:
> > _filter in vf_fspp.o
>
> Compiler is either not detected as GCC or it fails to
> respect __attribute__((used)) and incorrectly removes
> these.
>
dig into the file vf_fspp.c, and there are similar declarations.
I don't know why these two are special.
More information about the MPlayer-users
mailing list