--7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Package: kdenetwork Version: 1.1.1 The kmail Application does not compile on SGI Irix 6.x. The compilation dies in kmail/kmfolder.cpp, as the flock call interferes on SGI with the structure. This is describe in the SGI Manpages, with the correct solution: Excerpt from "man flock": In C++, the function name flock collides with the structure name flock (which is declared in and included in ). W= hen using flock() in C++, one must define _BSD_COMPAT before including sys/file.h The following patch solves the problem: *** kmail/kmfolder.cpp.orig Thu Jul 29 14:32:55 1999 --- kmail/kmfolder.cpp Thu Jul 29 14:32:59 1999 *************** *** 28,34 **** --- 28,40 ---- #include #include #include + #ifdef __sgi + #define _BSD_COMPAT + #endif #include + #ifdef __sgi + #undef _BSD_COMPAT + #endif =20 #ifndef isblank # define isblank(x) ((x)=3D=3D' '||(x)=3D=3D'\t') Sincerely, Klaus --=20 Klaus Steinberger Beschleunigerlabor der TU und LMU Muenchen Phone: (+49 89)289 14287 Hochschulgelaende, D-85748 Garching, Germany FAX: (+49 89)289 14280 EMail: Klaus.Steinberger@Physik.Uni-Muenche= n.DE URL: http://www.bl.physik.tu-muenchen.de/~k2/ Stimm gegen Spam: http://www.politik-digital.de/spam/ In a world without fences and walls, who needs Windows and Gates? --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQCVAwUBN6BM24VpYfkwrOJtAQG3EAP/Wjcjdc+eKikd2Kxy9U+fwHNiW6gZdfmm xsMjrfSW7YNyCUTb1SI/kqE/ZnRzDLkRF1UEu37Vb02JGw/NMWMkl7BLl3eqfaSh S3z1caa2GyO+OzZkn46IZufD8cmIF+kC1OSBwKooBV1MBnSNkU7hgWBHqAw+kkBG vkkzOff5GZo= =GlG/ -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--