I don't currently have diff's, but from memory and from a little sketchy
documentation from compiling 3.5.1 through 3.5.7 myself, the fixes
involve:

- disabled ldap in kdelibs and kdebase via the "--without-ldap"
configure argument.

- in mDNSShared/PlatformCommon.c, change #include <sys/errno.h> to
#include <errno.h>   (this may occur elsewhere also)

- in kdelibs - in ksycoca.cpp you get error: 'madvise' was not declared
in this scope, I added the line "extern "C" int madvise(void *, size_t,
int);"

- in tzone.cpp, there's an error regarding the location of the timezone
file.  Google search for a well documented patch for solaris.

- libassuan fails to compile, the file assuan-domain-connect.c needs a
"#define _XPG4_2" in it.

- You get a bunch of errors in kdenetwork because they use the variable
names "CS", "DS", and "FS", which apparently are macros in Solaris 10+.
You can either change them to some other name, or "#undef FS" at the top
of the file.  The errors look like this:
rtf.ll:637: error: expected unqualified-id before numeric constant
rtf.ll: In member function 'QString RTF2HTML::Parse(const char*, const
char*)':
rtf.ll:801: error: duplicate case value
rtf.ll:786: error: previously used here

These occur in liboscar, khexedit, and a couple of other places which I
didn't document.

- You'll start getting the error "ld: fatal: relocations remain against
allocatable but non-writable sections".  This requires you to add the
flag "-mimpure-text" to the LDFLAGS in the Makefile.

- You may get the error "/bin/bash: pod2man: command not found".  If so,
change pod2man in the Makefile to the full path, /usr/perl5/bin/pod2man.

I'll see if I can generate diff's, although I switched my development
environment from 3.5.7 to the 4.0 source recently.

Brett Albertson
brett.albertson at stratech.com
919-379-8449


Reply via email to