On 10/6/11 20:48, Tobias Ellinghaus wrote:
i have issues compiling inkscape on Debian/sid, gcc 4.6.0. I have enabled dbus and get the following error:
CXX extension/dbus/document-interface.o ./document.h: In function 'void document_interface_update(DocumentInterface*, GError**)': ./document.h:99:13: error: 'SPRoot* SPDocument::root' is private extension/dbus/document-interface.cpp:979:40: error: within this context extension/dbus/document-interface.cpp:979:44: error: invalid use of incomplete type 'struct SPRoot' ./document.h:46:8: error: forward declaration of 'struct SPRoot' ./document.h:99:13: error: 'SPRoot* SPDocument::root' is private extension/dbus/document-interface.cpp:980:40: error: within this context extension/dbus/document-interface.cpp:980:44: error: invalid use of incomplete type 'struct SPRoot' ./document.h:46:8: error: forward declaration of 'struct SPRoot' ./document.h:99:13: error: 'SPRoot* SPDocument::root' is private extension/dbus/document-interface.cpp:984:40: error: within this context extension/dbus/document-interface.cpp:984:44: error: invalid use of incomplete type 'struct SPRoot' ./document.h:46:8: error: forward declaration of 'struct SPRoot' ./document.h:99:13: error: 'SPRoot* SPDocument::root' is private extension/dbus/document-interface.cpp:985:40: error: within this context extension/dbus/document-interface.cpp:985:44: error: invalid use of incomplete type 'struct SPRoot' ./document.h:46:8: error: forward declaration of 'struct SPRoot' make[3]: *** [extension/dbus/document-interface.o] Error 1 make[3]: Leaving directory `/home/houz/download/inkscape/inkscape/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/houz/download/inkscape/inkscape/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/houz/download/inkscape/inkscape' make: *** [all] Error 2
reproduced on Mac OS X 10.5.8 (i386) with Apple's GCC 4.2.1 and dbus enabled via configure.
~suv