[Date Prev][Date Next]
(ITS#5007) Compilation problems
Full_Name: Hallvard B Furuseth
Version: HEAD, RE23
OS: HP-UX, OSF1, non-gcc
Submission from: (NULL) (18.104.22.168)
Submitted by: hallvard
liblber/sockbuf.c uses pointer arithmetic on void*, a gcc extension.
OSF1 pthread.h defines "leave" as an exception keyword, which breaks
slapd and bdb. I'll rename "leave" labels to "done" or "finish".
liblutil/getpeereid.c breaks if LDAP_PF_LOCAL_SENDMSG is defined but
MSG_WAITALL is not. (Not sure why that's compiled at all after the
ldapi trouble, but that's another matter.) I'll fix it by #ifdeffing
MSG_WAITALL in getpeereid.c rather than where LDAP_PF_LOCAL_SENDMSG is
defined, since we need LDAP_PF_LOCAL_SENDMSG to decide whether to send a
dummy abandon to previous OpenLDAP server versions.