[MPlayer-dev-eng] [PATCH] multiple definitions of _memcpy
Guillaume POIRIER
poirierg at gmail.com
Sun Jun 10 22:18:25 CEST 2007
Hi,
On 6/10/07, Chris Roccati <roccati at pobox.com> wrote:
> Hello,
> in the current SVN, compiled under MacOS X 10.4.9, PPC the following
> warning appears:
>
> /usr/bin/ld: warning multiple definitions of symbol _memcpy
> libvo/libosd.a(aclib.o) definition of _memcpy in section (__TEXT,__text)
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib
> (bcopy.So) definition of _memcpy
>
> This appears to be caused by libvo/aclib.c compiling fast_memcpy() as
> memcpy().
> The following patch undefines fast_memcpy before the function
> definition, in the same way as mem2agpcpy is undefined.
I'm not sure if this is the way to fix this problem, but it indeed
fixes my problem detailed here:
http://lists.mplayerhq.hu/pipermail/mplayer-advusers/2007-June/001676.html
Guillaume
--
Subversion has been the most pointless project ever started
-- Linus Torvalds
More information about the MPlayer-dev-eng
mailing list