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

openldap-2.1.22/23 doesen't compile on HP-UX 10.20



Hi,

i tried to compile the openldap-2.1.22/23 package on my old HP-UX
System:

HP-UX alkomat B.10.20 A 9000/715
gcc version 2.95.1 19990816 (release)

different times. Each compile loop stops with:

...
/usr/local/bin/gcc -I/usr/local/packages/BerkeleyDB/include -I/opt/dce/include -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap -DLDAP_LIBRARY -c tpool.c -fPIC -DPIC -o .libs/tpool.lo
tpool.c: In function `ldap_pvt_thread_pool_context':
tpool.c:524: invalid operands to binary ==
tpool.c:525: invalid operands to binary !=
make[2]: *** [tpool.lo] Error 1
make[2]: Leaving directory `/tmp_mnt/mnt/home/automatx/homes/hg/tmp/openldap-2.1.22/libraries/libldap_r'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/tmp_mnt/mnt/home/automatx/homes/hg/tmp/openldap-2.1.22/libraries'
make: *** [all-common] Error 1
alkomat:/tmp_mnt/mnt/home/automatx/homes/hg/tmp/openldap-2.1.22 $


A configure example:

CC=/usr/local/bin/gcc CFLAGS="-I/usr/local/packages/BerkeleyDB/include -I/opt/dce/include" LDFLAGS="-L/usr/local/packages/BerkeleyDB/lib -L/opt/dce/lib" ./configure --prefix=/usr/local/packages/openldap-2.1.22 --enable-slurpd

Any help is appreciated,

/Hannes

--
Hans-Georg Fremann             mail: hg@automatx.de
Ingenieurbuero automatX        fax: +49 8761 330077
http://www.automatx.de