[MacPorts] #35177: mplayer2 fails to compile: conflicting types for 'Cursor'

MacPorts noreply at macports.org
Thu Jul 12 15:35:37 PDT 2012


#35177: mplayer2 fails to compile: conflicting types for 'Cursor'
--------------------------------------+-------------------------------------
 Reporter:  samuel.bateman@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.1.1                                
 Keywords:                            |        Port:  mplayer2                             
--------------------------------------+-------------------------------------
 Trying to install the mplayer2 port, I get this error:

 {{{
 :info:build /usr/bin/gcc-4.2 -MD -MP -Wundef   -Wstrict-prototypes
 -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99
 -pipe -O2 -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE64_SOURCE -falign-loops=16 -shared-libgcc -mdynamic-no-pic -I.
 -I/opt/local/include -I/opt/local/include/freetype2 -O2 -arch x86_64 -Wno-
 pointer-sign -I/opt/local/include -I/opt/local/include/freetype2 -DPIC
 -I/usr/X11/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -I/opt/local/include -I/opt/local/include/fribidi
 -I/opt/local/include/freetype2   -I/opt/local/include
 -I/opt/local/include/libdvdread -c -o libvo/vo_corevideo.o
 libvo/vo_corevideo.m
 :info:build In file included from /opt/local/include/X11/Xlib.h:44,
 :info:build                  from libvo/gl_common.h:41,
 :info:build                  from libvo/vo_corevideo.m:38:
 :info:build /opt/local/include/X11/X.h:103: error: conflicting types for
 'Cursor'
 :info:build
 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:267:
 error: previous declaration of 'Cursor' was here
 :info:build make: *** [libvo/vo_corevideo.o] Error 1
 }}}

 There seems to be some naming conflict with an X library.

-- 
Ticket URL: <https://trac.macports.org/ticket/35177>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list