[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
build problems on Solaris. openldap-2.3.34
- To: <openldap-software@openldap.org>
- Subject: build problems on Solaris. openldap-2.3.34
- From: "Sean O'Malley" <omalleys@msu.edu>
- Date: Sat, 31 Mar 2007 13:54:40 -0400 (EDT)
- In-reply-to: <Pine.SOC.4.64.0702142155560.774@toolbox.rutgers.edu>
I am having a few issues getting openldap-2.3.34 to build in solaris 10
x86.
The first issues is the order of the include files basically anywhere
<avl.h> is included it is picking up /usr/include/sys/avl.h instead of the
openldap avl.h library. You can pretty much just grep for <avl.h> or
"avl.h" and find all the places it conflicts.
The real trick here is I think it is netdb.h requires sys/avl.h
second in portable.h
/* Define to `int' if <sys/socket.h> does not define. */
#define socklen_t int
This should be commented out it is defined as:
typedef size_t socklen_t;
typedef uint32_t socklen_t;
in <sys/socket.h>
Third. and I didnt document all the places
but #include <netdb.h> isnt being included..
libraries/libldap/os-local.c
libraries/libldap/util-int.c
libraries/libldap_r/os-local.c
libraries/libldap/os-ip.c
Fourth:
/opt/dloads/openldap-2.3.34/servers/slapd/slap.h
needs to include
#include <sys/socket.h>
Just one nitpick.
include/lber_types.hin
include/ldap_config.hin
include/ldap_features.hin
include/portable.hin
arent these usually called x.h.in ?
--
Im not sure I caught all the places.. for the netdb.h and sys/socket.h
includes.
It still isnt building completely because of the avl.h stuff.
--------------------------------------
Sean O'Malley, Information Technologist
Michigan State University
-------------------------------------