Using the new proftpd code and the new mod_ldap code to compile, make is unusual
cp mod_ldap/mod_ldap.c ./proftpd-1.3.6/contrib/mod_ldap.c
./configure --prefix=/usr/local/proftpd2 --enable-openssl --with-modules=mod_sftp:mod_ldap
make
mod_ldap.c: In function ‘set_ldap_protoversion’: mod_ldap.c:1464:22: warning: dereferencing ‘void *’ pointer [enabled by default] while (cmd->argv[1][i]) { ^ mod_ldap.c:1464:10: error: void value not ignored as it ought to be while (cmd->argv[1][i]) { ^ In file included from ../include/conf.h:218:0, from mod_ldap.c:52: mod_ldap.c:1465:37: warning: dereferencing ‘void *’ pointer [enabled by default] if (! isdigit((int) cmd->argv[1][i])) { ^ mod_ldap.c:1465:5: error: invalid use of void expression if (! isdigit((int) cmd->argv[1][i])) {
Using the new proftpd code and the new mod_ldap code to compile, make is unusual cp mod_ldap/mod_ldap.c ./proftpd-1.3.6/contrib/mod_ldap.c ./configure --prefix=/usr/local/proftpd2 --enable-openssl --with-modules=mod_sftp:mod_ldap make
mod_ldap.c: In function ‘set_ldap_protoversion’: mod_ldap.c:1464:22: warning: dereferencing ‘void *’ pointer [enabled by default] while (cmd->argv[1][i]) { ^ mod_ldap.c:1464:10: error: void value not ignored as it ought to be while (cmd->argv[1][i]) { ^ In file included from ../include/conf.h:218:0, from mod_ldap.c:52: mod_ldap.c:1465:37: warning: dereferencing ‘void *’ pointer [enabled by default] if (! isdigit((int) cmd->argv[1][i])) { ^ mod_ldap.c:1465:5: error: invalid use of void expression if (! isdigit((int) cmd->argv[1][i])) {