I'm pretty new to this and am having a little problem installing the LDAP sdk for c source code. This is the warnings I get when trying to use the make -f ./directory/ldapsdk.mk build
command. Any tip would be appreciated. thanks tmplout.c:53: warning: `struct tm' declared inside parameter list tmplout.c:53: warning: its scope is only this definition or declaration, which i s probably not what you want. tmplout.c: In function `ldap_entry2text': tmplout.c:85: warning: too many arguments for format tmplout.c: In function `ldap_entry2html': tmplout.c:112: warning: too many arguments for format tmplout.c: In function `ldap_entry2text_search': tmplout.c:388: warning: too many arguments for format tmplout.c: In function `ldap_entry2html_search': tmplout.c:414: warning: too many arguments for format tmplout.c: In function `ldap_vals2text': tmplout.c:565: warning: too many arguments for format tmplout.c: In function `ldap_vals2html': tmplout.c:588: warning: too many arguments for format tmplout.c: In function `time2text': tmplout.c:895: storage size of `t' isn't known tmplout.c:904: sizeof applied to an incomplete type tmplout.c:937: warning: implicit declaration of function `ctime' tmplout.c:937: warning: assignment makes pointer from integer without a cast tmplout.c:895: warning: unused variable `t' tmplout.c: At top level: tmplout.c:970: warning: `struct tm' declared inside parameter list tmplout.c:971: conflicting types for `gtime' tmplout.c:53: previous declaration of `gtime' tmplout.c: In function `gtime': tmplout.c:981: dereferencing pointer to incomplete type tmplout.c:982: dereferencing pointer to incomplete type tmplout.c:983: dereferencing pointer to incomplete type tmplout.c:984: dereferencing pointer to incomplete type tmplout.c:985: dereferencing pointer to incomplete type tmplout.c:991: dereferencing pointer to incomplete type tmplout.c:991: dereferencing pointer to incomplete type tmplout.c:991: dereferencing pointer to incomplete type make[4]: *** [Linux2.4.2_x86_DBG.OBJ/tmplout.o] Error 1 make[4]: Leaving directory `/root/mozilla/directory/c-sdk/ldap/libraries/libldap ' make[3]: *** [install] Error 2 make[3]: Leaving directory `/root/mozilla/directory/c-sdk/ldap/libraries' make[2]: *** [install] Error 2 make[2]: Leaving directory `/root/mozilla/directory/c-sdk/ldap' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/root/mozilla/directory' make: *** [build] Error 2
