I have successfully compiled inkscape 0.45.1 on my linux machine using gcc-3.3.4.
When I tried to compile inkscape-16051 today, it failed while compiling nodepath, giving the error messages below. Can this be fixed?
Thanks.
E.J. Neafsey eneafse@...1805... ========================================================================= make all-recursive if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/freetype2 -I/usr/local/include -DORBIT2=1 -pthread -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2 -DXTHREADS -I/usr/include/freetype2 -I/usr/local/include/libpng12 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/poppler -DXTHREADS -I/usr/include/freetype2 -I/usr/local/include/libpng12 -I/usr/local/include/poppler/glib -I/usr/local/include/poppler -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/X11R6/include -DPOTRACE="potrace" -pthread -DXTHREADS -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/freetype2 -I/usr/local/include/libpng12 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairomm-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include -I../cxxtest -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -g -O2 -MT nodepath.o -MD -MP -MF ".deps/nodepath.Tpo" \ -c -o nodepath.o `test -f 'nodepath.cpp' || echo './'`nodepath.cpp; \ then mv -f ".deps/nodepath.Tpo" ".deps/nodepath.Po"; \ else rm -f ".deps/nodepath.Tpo"; exit 1; \ fi In file included from live_effects/effect.h:16, from live_effects/lpeobject.h:13, from nodepath.cpp:50: 2geom/path.h:72: warning: `virtual Geom::Curve* Geom::Curve::reverse() const' was hidden 2geom/path.h:310: warning: by `Geom::Curve* Geom::SVGEllipticalArc::reverse(double, double) const' 2geom/path.h: In member function ` Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > > Geom::Path::begin()': 2geom/path.h:373: error: `Geom::BaseIterator<IteratorImpl>::BaseIterator(const IteratorImpl&) [with IteratorImpl = __gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]' is private 2geom/path.h:469: error: within this context 2geom/path.h: In member function ` Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > > Geom::Path::end()': 2geom/path.h:373: error: `Geom::BaseIterator<IteratorImpl>::BaseIterator(const IteratorImpl&) [with IteratorImpl = __gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]' is private 2geom/path.h:470: error: within this context 2geom/path.h: In member function ` Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > > Geom::Path::begin() const': 2geom/path.h:373: error: `Geom::BaseIterator<IteratorImpl>::BaseIterator(const IteratorImpl&) [with IteratorImpl = __gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]' is private 2geom/path.h:475: error: within this context 2geom/path.h: In member function ` Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > > Geom::Path::end() const': 2geom/path.h:373: error: `Geom::BaseIterator<IteratorImpl>::BaseIterator(const IteratorImpl&) [with IteratorImpl = __gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]' is private 2geom/path.h:476: error: within this context 2geom/path.h: In member function ` Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > > Geom::Path::end_open() const': 2geom/path.h:373: error: `Geom::BaseIterator<IteratorImpl>::BaseIterator(const IteratorImpl&) [with IteratorImpl = __gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]' is private 2geom/path.h:478: error: within this context 2geom/path.h: In member function ` Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > > Geom::Path::end_closed() const': 2geom/path.h:373: error: `Geom::BaseIterator<IteratorImpl>::BaseIterator(const IteratorImpl&) [with IteratorImpl = __gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]' is private 2geom/path.h:479: error: within this context 2geom/path.h: In member function `void
Geom::Path::insert(Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >, const Geom::Curve&)': 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:565: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:565: error: within this context 2geom/path.h: In member function `void
Geom::Path::erase(Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >)': 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:591: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:591: error: within this context 2geom/path.h: In member function `void
Geom::Path::erase(Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >, Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >)': 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:595: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:595: error: within this context 2geom/path.h: In member function `void
Geom::Path::replace(Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >, const Geom::Curve&)': 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:601: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:601: error: within this context 2geom/path.h: In member function `void
Geom::Path::replace(Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >, Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >, const Geom::Curve&)': 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:613: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:613: error: within this context 2geom/path.h: In member function `void
Geom::Path::insert(Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >, Geom::BaseIterator<Impl>, Geom::BaseIterator<Impl>) [with Impl = __gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > >]': 2geom/path.h:436: instantiated from here 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:576: error: within this context 2geom/path.h:436: instantiated from here 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:576: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:578: error: within this context 2geom/path.h:375: error: `__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**, std::vector<Geom::Curve*, std::allocatorGeom::Curve* > > >::impl_' is private 2geom/path.h:578: error: within this context make[2]: *** [nodepath.o] Error 1 make[2]: Leaving directory `/usr/local/src/inkscape/inkscape-16051/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/inkscape/inkscape-16051' make: *** [all] Error 2 ==============================================================================