I don't know if it works or not, but at least it compiles with GCC 3.4.1 on Solaris 2.8 --- memory_solaris.cpp.orig 2004-08-23 14:44:29.820000000 -0700 +++ memory_solaris.cpp 2004-08-23 14:46:20.780000000 -0700 @@ -8,8 +8,17 @@ #include #include #include -#include - +#ifdef USE_SOLARIS +# if _FILE_OFFSET_BITS==64 +# undef _FILE_OFFSET_BITS +# include +# define _FILE_OFFSET_BITS 64 +# else +# include +# endif +#else +# include +#endif #define PAGETOK(a) (( (t_memsize) sysconf( _SC_PAGESIZE )) * (t_memsize) a) void KMemoryWidget::update() { Christopher Layne wrote: >http://bugs.kde.org/show_bug.cgi?id=87200 > >Have fun with this one. I just comment out all references to _FILE_OFFSET_BITS >in every Makefile and also in config.h. > >-cl > >On Fri, Aug 20, 2004 at 09:47:37AM -0700, Darrell Esau wrote: > > >>Hello all, >> >>Trying to compile KDE3.3 on Sparc/Solaris 64 with GCC. >> >>I have _FILE_OFFSET_BITS=64 >> >> >___________________________________________________ >This message is from the kde-solaris mailing list. >Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. >Archives: http://lists.kde.org/. >More info: http://www.kde.org/faq.html. > > ___________________________________________________ This message is from the kde-solaris mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.