[MPlayer-dev-eng] [PATCH] fix linker issues with Apple GCC 4

Alexander Strange astrange at ithinksw.com
Sat Jan 22 06:22:58 CET 2005


As it stands, mplayer compiles but doesn't link using the latest Apple 
gcc 4 and cctools; there are two problems:
• several sets of headers declare global variables in them, which 
causes multiple definition errors (how did this ever work?)
• gtf.c defines a round() after including math.h, but math.h already 
has a round in it. glibc also has a round() call, so I simply removed 
the static one in gtf.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: applegcc4link.diff
Type: application/octet-stream
Size: 4468 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050122/0eeecca0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: round.diff
Type: application/octet-stream
Size: 497 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050122/0eeecca0/attachment-0001.obj>


More information about the MPlayer-dev-eng mailing list