[Date Prev][Date Next] [Chronological] [Thread] [Top]

C SDK



Hi Everybody,
I'm trying to compile C SDK (for perldap) on Linux 2.2.13x_86 and when i enter gmake -f directory/ldapsdk.mk , i get the following errors :

1R6/include -I/usr/include/g++ -I../../include    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 point
er 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.2.13_x86_DBG.OBJ/os-ip.o] Error 1
gmake[4]: Leaving directory `/usr/local/mozilla/directory/c-sdk/ldap/libraries/l
ibldap'
gmake[3]: *** [install] Error 2
gmake[3]: Leaving directory `/usr/local/mozilla/directory/c-sdk/ldap/libraries'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/usr/local/mozilla/directory/c-sdk/ldap'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/local/mozilla/directory'
gmake: *** [build] Error 2

Please help me. Thanks 

Sarah MIETLICKI
SGBD/Web developer

WAVECOM S.A. France
Email : sarah.mietlicki@wavecom.fr
39, rue du Gouverneur General Eboue
Tel : +33 1 46 29 09 19
Fax : +33 1 46 29 08 08
http://www.wavecom.com