libart header compile error



When compiling current CVS on Debian unstable, I'm winding up with the following compile error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/libxml2 -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
-I/usr/include/libart-2.0 -DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\" -DLIBDIR=\"/usr/local/lib\" 
-DDATADIR=\"/usr/local/share/dia\" -I/usr/include/libxml2 -g -O2 -Wall -Wunused -Wmissing-prototypes 
-Wmissing-declarations -finline-functions -fstrict-aliasing -Wp,-MD,.deps/dialibartrenderer.pp -c 
dialibartrenderer.c  -fPIC -DPIC -DPIC -o dialibartrenderer.o
In file included from /usr/include/libart-2.0/libart_lgpl/art_misc.h:34,
                 from dialibartrenderer.c:50:
/usr/include/libart-2.0/libart_lgpl/art_config.h:8: error: redefinition of `art_u8'
/usr/include/libart-2.0/libart_lgpl/art_config.h:8: error: `art_u8' previously declared here
/usr/include/libart-2.0/libart_lgpl/art_config.h:9: error: redefinition of `art_u16'
/usr/include/libart-2.0/libart_lgpl/art_config.h:9: error: `art_u16' previously declared here
/usr/include/libart-2.0/libart_lgpl/art_config.h:10: error: redefinition of `art_u32'
/usr/include/libart-2.0/libart_lgpl/art_config.h:10: error: `art_u32' previously declared here

My libart-dev packages are:

ii  libart-2.0-dev 2.3.14-1       Library of functions for 2D graphics - devel
ii  libart-dev     1.4.2-14       The GNOME canvas widget - development files

I tried uninstalling the libart-2.0-dev package, but got a different error message.  Is there a work-around?  
'./configure --disable-libart' didn't seem to help either.

Thanks,
Andy





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]