
I removed that #include, so it should compile now. I don't understand why they would want that macro to be private, yet require it for that field. It should be moved to zlib.h, I think.
Bob
Mike Hearn wrote:
Hello.
This code does not build on my nightly build system, do I need to install something extra, or have I not got the update scripts quite right yet?
apg++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -DPOTRACE="potrace" -pthread -I/home/mike/.local/include/sigc++-2.0 -I/home/mike/.local/lib/sigc++-2.0/include -I/home/mike/.local/include/gtkmm-2.4 -I/home/mike/.local/lib/gtkmm-2.4/include -I/home/mike/.local/include/glibmm-2.4 -I/home/mike/.local/lib/glibmm-2.4/include -I/home/mike/.local/include/gdkmm-2.4 -I/home/mike/.local/lib/gdkmm-2.4/include -I/home/mike/.local/include/pangomm-1.4 -I/home/mike/.local/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O2 -march=i586 -mcpu=i686 -pipe -c -o io/GzipStream.o `test -f 'io/GzipStream.cpp' || echo './'`io/GzipStream.cpp io/GzipStream.cpp:17:20: zutil.h: No such file or directory io/GzipStream.cpp: In member function `bool Inkscape::IO::GzipInputStream::load()': io/GzipStream.cpp:160: warning: unused variable `long unsigned int srcCrc' io/GzipStream.cpp: In constructor ` Inkscape::IO::GzipOutputStream::GzipOutputStream(Inkscape::IO::OutputStream&) ': io/GzipStream.cpp:256: error: `OS_CODE' undeclared (first use this function) io/GzipStream.cpp:256: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [io/GzipStream.o] Error 1 make[2]: Leaving directory `/home/mike/inkscape/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mike/inkscape' make: *** [all] Error 2 Making ... failed
By the way, the Inkscape 0.40 autopackage is available now, sorry it took so long but we wanted to get 0.7 out of the door first (many improvements in this new version).
thanks -mike