[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP1.2 compile trouble under Solaris 2.6



Hello,

I am attempting to build OpenLDAP1.2 under Solaris 2.6.
I have overcome some initial configure errors, by following
some of the hints in the Install documentation, but now I am
running into compile errors (see below) when I run make. 
The "make depend" runs fine.  The compiler I am using is
gcc version 2.8.1.  Any help will be appreciated.

 
  Entering subdirectory libldbm
gcc -g -O2 -I../../include -I../../include   -I/usr/local/include -DHAVE_CONFIG_H  -I/usr/local/include -c  ldbm.c
In file included from ../../include/ldbm.h:32,
                 from ldbm.c:21:
/usr/local/include/db.h:54: conflicting types for `int8_t'
/usr/include/sys/int_types.h:62: previous declaration of `int8_t'
/usr/local/include/db.h:56: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
/usr/local/include/db.h:58: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
*** Error code 1
make: Fatal error: Command failed for target `ldbm.o'
Current working directory /home/tpeterma/src/ldap/libraries/libldbm
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Current working directory /home/tpeterma/src/ldap/libraries
*** Error code 1
make: Fatal error: Command failed for target `all-common'


-- 
Tim Peterman - Unix & Web Server Administration
Lockheed Martin GES/EIS, Moorestown, NJ
mailto:timothy.p.peterman@lmco.com