>Hi all, > >I have tried to compile qmail-ldap with control patch on >slamd64 ( slackware 64bit ) and got following error
>./compile -DALTQUEUE -DBIGBROTHER -DBIGTODO -DEXTERNAL_TODO -DDASH_EXT -DDATA_COMPRESS -DIGNOREVERISIGN - DSMTPEXECCHECK -DCOURIER -DDEBUG - DUSE_CONTROLDB -DUSE_RFC2307 -DUSE_RFC822 -L/opt/openldap/lib -lldap -llber -I/opt/openldap/include control.c >control.c: In function `control_ldap_search': >control.c:408: warning: assignment makes pointer from integer without a cast >control.c:463: warning: assignment makes pointer from integer without a cast >control.c: At top level: >control.c:672: error: conflicting types for 'flatten_attrib_array' >control.c:390: error: previous implicit declaration of 'flatten_attrib_array' was here >make: *** [control.o] Error 1 >I have patched a clean qmail1-03 with following patches >qmail-ldap-1.03-20060201-controls20060403b >qmail-ldap-1.03-20060201.patch Patched qmail-1.03 now with qmail-ldap-1.03-20060201.patch qmail-ldap-1.03-20060201-controls20060217.patch and compile was successfull . Problem seems to be located in qmail-ldap-1.03-20060201-controls20060403b Best regards Stefan
