I am trying to build the LDAP SDK on a Linux 2.4.17 system.
Part way through I get the following:
os-ip.c
os-ip.c: In function `nsldapi_connect_to_host':
os-ip.c:109: warning: too many arguments for format
os-ip.c:123: warning: implicit declaration of function `inet_addr'
os-ip.c:126: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
os-ip.c:126: too few arguments to function `gethostbyname_r'
os-ip.c:126: warning: assignment makes pointer from integer without a cast
os-ip.c:300: warning: implicit declaration of function `inet_ntoa'
os-ip.c:323: warning: format argument is not a pointer (arg 4)
os-ip.c:323: warning: too many arguments for format
os-ip.c: In function `nsldapi_do_ldap_select':
os-ip.c:556: warning: too many arguments for format
gmake[4]: *** [Linux2.4.22_x86_DBG.OBJ/os-ip.o] Error 1
gmake[4]: Leaving directory `/work/ldap/mozilla/directory/c-sdk/ldap/libraries/libldap'
gmake[3]: *** [install] Error 2
gmake[3]: Leaving directory `/work/ldap/mozilla/directory/c-sdk/ldap/libraries'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/work/ldap/mozilla/directory/c-sdk/ldap'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/work/ldap/mozilla/directory'
gmake: *** [build] Error 2


Also there were MANY of the "warning: too many arguments for format"
before when other modules were compiling.

Has anyone seen/solved this? Does anyone know how I correct what ever is
wrong?

Warren Steffen
[EMAIL PROTECTED]

_______________________________________________
mozilla-directory mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-directory

Reply via email to