Can't compile 2.4.18 at Debian Lenny amd64



Hello

I'm in trouble compiling 2.4.18 version on a Debian lenny 64 bits

after running configure and make depend I get the following error
I had no problem to compile 2.3.43 on the same machine.

Thanks for any help


make[2]: Entering directory `/usr/local/openldap-2.4.18/libraries/liblutil'
rm -f version.c
../../build/mkversion -v "2.4.18" liblutil.a > version.c
cc -g -O2 -I../../include -I../../include -c -o base64.o base64.c
cc -g -O2 -I../../include -I../../include -c -o csn.o csn.c
cc -g -O2 -I../../include -I../../include -c -o entropy.o entropy.c
cc -g -O2 -I../../include -I../../include -c -o sasl.o sasl.c
cc -g -O2 -I../../include -I../../include -c -o signal.o signal.c
cc -g -O2 -I../../include -I../../include -c -o hash.o hash.c
cc -g -O2 -I../../include -I../../include -c -o passfile.o passfile.c
cc -g -O2 -I../../include -I../../include -c -o md5.o md5.c
cc -g -O2 -I../../include -I../../include -c -o passwd.o passwd.c
passwd.c:820: error: expected declaration specifiers or ���...��� before ���des_key���
passwd.c: In function ���lmPasswd_to_key���:
passwd.c:835: error: ���key��� undeclared (first use in this function)
passwd.c:835: error: (Each undeclared identifier is reported only once
passwd.c:835: error: for each function it appears in.)
passwd.c: In function ���chk_lanman���:
passwd.c:846: error: ���des_key��� undeclared (first use in this function)
passwd.c:846: error: expected ���;��� before ���key���
passwd.c:847: error: ���des_context��� undeclared (first use in this function)
passwd.c:847: error: expected ���;��� before ���schedule���
passwd.c:848: error: ���des_data_block��� undeclared (first use in this function)
passwd.c:848: error: expected ���;��� before ���StdText���
passwd.c:849: error: expected ���;��� before ���PasswordHash1���
passwd.c:866: error: ���key��� undeclared (first use in this function)
passwd.c:866: error: too many arguments to function ���lmPasswd_to_key���
passwd.c:867: error: ���schedule��� undeclared (first use in this function)
passwd.c:868: error: ���StdText��� undeclared (first use in this function)
passwd.c:868: error: ���PasswordHash1��� undeclared (first use in this function)
passwd.c:868: error: ���DES_ENCRYPT��� undeclared (first use in this function)
passwd.c:874: error: too many arguments to function ���lmPasswd_to_key���
passwd.c:876: error: ���PasswordHash2��� undeclared (first use in this function)
passwd.c: In function ���hash_lanman���:
passwd.c:1142: error: ���des_key��� undeclared (first use in this function)
passwd.c:1142: error: expected ���;��� before ���key���
passwd.c:1143: error: ���des_context��� undeclared (first use in this function)
passwd.c:1143: error: expected ���;��� before ���schedule���
passwd.c:1144: error: ���des_data_block��� undeclared (first use in this function)
passwd.c:1144: error: expected ���;��� before ���StdText���
passwd.c:1145: error: expected ���;��� before ���PasswordHash1���
passwd.c:1162: error: ���key��� undeclared (first use in this function)
passwd.c:1162: error: too many arguments to function ���lmPasswd_to_key���
passwd.c:1163: error: ���schedule��� undeclared (first use in this function)
passwd.c:1164: error: ���StdText��� undeclared (first use in this function)
passwd.c:1164: error: ���PasswordHash1��� undeclared (first use in this function)
passwd.c:1164: error: ���DES_ENCRYPT��� undeclared (first use in this function)
passwd.c:1166: error: too many arguments to function ���lmPasswd_to_key���
passwd.c:1168: error: ���PasswordHash2��� undeclared (first use in this function)
make[2]: *** [passwd.o] Error 1
make[2]: Leaving directory `/usr/local/openldap-2.4.18/libraries/liblutil'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/local/openldap-2.4.18/libraries'
make: *** [all-common] Error 1


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Which Kernel for 32bit Debian on ADM64 CPU
    ... Dual Core Processor 4400+ CPU. ... to 2.6.18-4-amd64 but I am having trouble compiling an Nvidia module. ... Relocatable linking with relocations from format elf32-i386 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Cant compile 2.4.18 at Debian Lenny amd64
    ... Frank Bonnet wrote: ... I'm in trouble compiling 2.4.18 version on a Debian lenny 64 bits ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • problems compiling recent kernels from kernel-archive.buildserver.net
    ... Hi I recently reported bug #480436 against kernel-package as I've had trouble compiling recent kernels from kernel-archive.buildserver.net on Debian unstable on a Pentium II. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Which Kernel for 32bit Debian on ADM64 CPU
    ... to 2.6.18-4-amd64 but I am having trouble compiling an Nvidia module. ... Relocatable linking with relocations from format elf32-i386 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)