On Sun, 04 Feb 2007 10:26:27 -0600 Charles Kerr <[EMAIL PROTECTED]> wrote: > Give this patch a try: > http://bugzilla.gnome.org/attachment.cgi?id=81879
Thanks Charles, I applied the patch, and tried to compile with my gcc-3.2.3, but no success I am afraid (I give the output below). This box is nominally Slackware-9.1 - though rather extensively updated. Running locate on sys/types.h produces /usr/include/sys/types.h <- obviously my installed library And the file from the newer copy of gcc I have been playing with. (I actually built it in my home directory, nothing is installed system-wide) /usr/src/gcc-3.3.2/gcc/fixinc/tests/base/sys/types.h I am not sufficiently expert to do complex things with the compiler and its paths. I did try compiling under gcc-3.3.2 and editing article-cache.h so that the #include pointed to /usr/src/gcc-3.3.2/gcc/fixinc/tests/base/sys/types.h - but I really don't know what I am doing there and (I suppose predictably), compilation still failed. I am happy to try other patches if you want to provide them, but, as I have said, I know that this is now very old for a development system, and I would not want you to waste your time helping me when I know that I am due for an upgrade as soon as I can make time to do it. The output using gcc-3.2.3 is : In file included from article-cache.cc:39: ../../pan/general/log.h:34: warning: `class pan::Log' only defines a private destructor and has no friends In file included from article-cache.cc:43: article-cache.h:113: 'uint64_t' is used as a type, but is not defined as a type. article-cache.h:121: `uint64_t' was not declared in this scope article-cache.h:121: syntax error before `)' token article-cache.cc: In constructor `pan::ArticleCache::ArticleCache(const pan::StringView&, unsigned int)': article-cache.cc:142: class `pan::ArticleCache' does not have any field named ` _current_bytes' article-cache.cc:169: `_current_bytes' undeclared (first use this function) article-cache.cc:169: (Each undeclared identifier is reported only once for each function it appears in.) article-cache.cc: In member function `void pan::ArticleCache::add(const pan::Quark&, const pan::StringView&)': article-cache.cc:259: call of overloaded `resize()' is ambiguous article-cache.h:70: candidates are: void pan::ArticleCache::resize() article-cache.h:121: void pan::ArticleCache::resize(...) article-cache.cc: In member function `void pan::ArticleCache::resize()': article-cache.cc:292: `uint64_t' undeclared (first use this function) article-cache.cc:292: syntax error before `(' token article-cache.cc:293: `max_bytes' undeclared (first use this function) article-cache.cc: At global scope: article-cache.cc:304: syntax error before `)' token make [4]: *** [article-cache.o] Error 1 make[4]: Leaving directory `/usr/src/pan-0.122/pan/data' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/pan-0.122/pan/data' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/pan-0.122/pan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/pan-0.122' make: *** [all] Error 2 ___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html _______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users