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

Problems compiling OpenLDAP-2.3.4

Hi, I'm stuck when trying to compile openldap-2.3.4 on our environment. I have privousely compiled openldap-2.2 in the same environment with no problems. I'm compiling on RedHat-7.3.

I'm running ./configure with these options:







configure runs fine and make depend runs fine.

But when i run make, i get these errors:

Entering subdirectory libldap
make[2]: Entering directory `/home/tallakh/cvs/drift/OpenLDAP-2.3/libraries/libldap'
rm -f version.c
../../build/mkversion -v "2.3.4" libldap.la > version.c
/bin/sh /home/tallakh/cvs/drift/OpenLDAP-2.3/libtool --mode=compile /local/gnu/gcc-bin/gcc -O -march=i386 -I/local/include -I/local/gnu/include -D_FILE_OFFSET_BITS=64 -I../../include -I../../include -I/local/include -I/local/gnu/include -D_FILE_OFFSET_BITS=64 -DLDAP_LIBRARY -c bind.c
/local/gnu/gcc-bin/gcc -O -march=i386 -I/local/include -I/local/gnu/include -D_FILE_OFFSET_BITS=64 -I../../include -I../../include -I/local/include -I/local/gnu/include -D_FILE_OFFSET_BITS=64 -DLDAP_LIBRARY -c bind.c -fPIC -DPIC -o bind.lo
In file included from bind.c:54:
ldap-int.h:202: error: syntax error before "LDAP_NEXTREF_PROC"
ldap-int.h:202: warning: no semicolon at end of struct or union
ldap-int.h:206: error: syntax error before '}' token
ldap-int.h:299: error: field `ld_options' has incomplete type
bind.c: In function `ldap_bind':
bind.c:73: error: invalid use of undefined type `struct ldapoptions'
bind.c: In function `ldap_bind_s':
bind.c:118: error: invalid use of undefined type `struct ldapoptions'
make[2]: *** [bind.lo] Error 1
make[2]: Leaving directory `/home/tallakh/cvs/drift/OpenLDAP-2.3/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/tallakh/cvs/drift/OpenLDAP-2.3/libraries'
make: *** [all-common] Error 1
Build.DAM: Failed to run make -f Makefile sysconfdir=/etc/DAM at /local/lib/perl5/site_perl/DAM/Build.pm line 2472.

If you need any more information, feel free to contact me.
And thanks for any help.

Tallak Hellebust