[MPlayer-dev-eng] [PATCH] multiple definitions of _memcpy

Chris Roccati roccati at pobox.com
Sun Jun 10 21:59:09 CEST 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aclib.diff
Type: application/octet-stream
Size: 325 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070610/d91dc47d/attachment.obj>


More information about the MPlayer-dev-eng mailing list