[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
open-ldap problem please help
Sir,
we are trying to install open-ldap-1.2.11 on solaris 2.8 sparc machine.
we are getting the following error please help us.
Entering subdirectory libldbm
gcc -g -O2 -I../../include -I../../include
-I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H
-I/usr/local/BerkeleyDB/include -c ldbm.c
In file included from ldbm.c:21:
../../include/ldbm.h:245: parse error before `ldbm'
../../include/ldbm.h:246: parse error before `ldbm_open'
../../include/ldbm.h:246: warning: data definition has no type or storage
class
../../include/ldbm.h:247: parse error before `ldbm'
../../include/ldbm.h:248: parse error before `ldbm'
../../include/ldbm.h:249: parse error before `ldbm'
../../include/ldbm.h:250: parse error before `ldbm_datum_dup'
../../include/ldbm.h:250: parse error before `ldbm'
../../include/ldbm.h:250: warning: data definition has no type or storage
class
../../include/ldbm.h:251: parse error before `ldbm_fetch'
../../include/ldbm.h:251: parse error before `ldbm'
../../include/ldbm.h:251: warning: data definition has no type or storage
class
../../include/ldbm.h:252: parse error before `ldbm'
../../include/ldbm.h:253: parse error before `ldbm'
../../include/ldbm.h:260: parse error before `ldbm_firstkey'
../../include/ldbm.h:260: parse error before `ldbm'
../../include/ldbm.h:260: warning: data definition has no type or storage
class
../../include/ldbm.h:261: parse error before `ldbm_nextkey'
../../include/ldbm.h:261: parse error before `ldbm'
../../include/ldbm.h:261: warning: data definition has no type or storage
class
ldbm.c:26: parse error before `ldbm'
ldbm.c: In function `ldbm_datum_free':
ldbm.c:28: `data' undeclared (first use in this function)
ldbm.c:28: (Each undeclared identifier is reported only once
ldbm.c:28: for each function it appears in.)
ldbm.c: At top level:
ldbm.c:34: parse error before `ldbm_datum_dup'
ldbm.c:34: parse error before `ldbm'
ldbm.c: In function `ldbm_datum_dup':
ldbm.c:36: `Datum' undeclared (first use in this function)
ldbm.c:36: parse error before `dup'
ldbm.c:38: `data' undeclared (first use in this function)
ldbm.c:39: `dup' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `ldbm.o'
Current working directory /opt/openldap-1.2.11/libraries/libldbm
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Current working directory /opt/openldap-1.2.11/libraries
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Advice will be appreciated