#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Environment: macport 1.710, OSX 10.5.6, on a macbook i386 32bit (Intel Core Duo) During the compilation of xorg-libice I get the following error: {{{ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../include -I/opt/local/include -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -MT register.lo -MD -MP -MF .deps/register.Tpo -c register.c -fno- common -DPIC -o .libs/register.o register.c:48: error: conflicting types for 'IceRegisterForProtocolSetup' /opt/local/include/X11/ICE/ICElib.h:220: error: previous declaration of 'IceRegisterForProtocolSetup' was here register.c:148: error: conflicting types for 'IceRegisterForProtocolReply' /opt/local/include/X11/ICE/ICElib.h:235: error: previous declaration of 'IceRegisterForProtocolReply' was here make[2]: *** [register.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} Thanks for your support. M. -- Ticket URL: <http://trac.macports.org/ticket/19147> MacPorts <http://www.macports.org/> Ports system for Mac OS