Dear list, when "making" nntpcache 3.0.1 for Solaris 5.7 with Ldap support, either with SUNs own Ldap libraries or Openldap 2.0.7, I get this error: authinfo_ldap.c: In function `ldap_got_pass': authinfo_ldap.c:81: dereferencing pointer to incomplete type authinfo_ldap.c:47: warning: unused variable `dom' make[2]: *** [authinfo_ldap.o] Error 1 make[2]: Leaving directory `/opt/sw_instalable/nntpcache-3.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/sw_instalable/nntpcache-3.0.1' make: *** [all-recursive-am] Error 2 It can't be a confussion between Openldap and native SUN's Ldap support, as the error is the same even if I uninstall Openldap. I also tried modifying this ifdef chain that appears and the top of authinfo_ldap.c to use the second definition: #ifdef HAVE_LIBLBER #include "lber.h" #define GET_LDERROR(ld) (ld)->ld_errno #else #define GET_LDERROR(ld) ldap_get_lderrno ( (ld), NULL, NULL) #endif The compilation seems to go further, but the new error is: gcc -g -O2 -Wall -pipe -o nntpcached acc.o article.o authinfo_ldap.o authinfo_passwd.o authinfo_pipe.o authinfo_radi Undefined first referenced symbol in file ldap_get_lderrno authinfo_ldap.o ld: fatal: Symbol referencing errors. No output written to nntpcached collect2: ld returned 1 exit status make[2]: *** [nntpcached] Error 1 make[2]: Leaving directory `/opt/sw_instalable/nntpcache-3.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/sw_instalable/nntpcache-3.0.1' make: *** [all-recursive-am] Error 2 I really need help, please. DAVID _______________________________________________ NNTPCache-users mailing list NNTPCache-users@nntpcache.org http://www.nntpcache.org/cgi-bin/mailman/listinfo/nntpcache-users