perldap API make error

"Alan O'Toole" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Hello,

I'm attempting to make perldap-1.4.1 on a Redhat 9 machine and I'm running 
into the follow errors:

gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing 
 -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
 -DPERL_POLLUTE  -O2 -march=i386 -mcpu=i686 -g   -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" 
 -fPIC 
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DLDAPV3 -DUSE_SSL 
API.c
API.c:53:23: ldap_ssl.h: No such file or directory
In file included from API.c:57:
constant.h: In function `constant':
constant.h:753: incompatible types in return
API.c: At top level:
API.c:89: parse error before "internal_rebind_proc"
API.c:90: warning: data definition has no type or storage class
API.c:92: parse error before "ldap_default_rebind_proc"
API.c:93: warning: data definition has no type or storage class
API.c: In function `perldap_init':
API.c:133: storage size of `memalloc_fns' isn't known
API.c:141: `LDAP_OPT_MEMALLOC_FN_PTRS' undeclared (first use in this 
function)
API.c:141: (Each undeclared identifier is reported only once
API.c:141: for each function it appears in.)
API.c: At top level:
API.c:526: parse error before "internal_rebind_proc"
API.c:567: parse error before "ldap_default_rebind_proc"
API.c: In function `XS_Mozilla__LDAP__API_ldap_create_sort_control':
API.c:1074: `LDAPsortkey' undeclared (first use in this function)
API.c:1074: `sortKeyList' undeclared (first use in this function)
API.c:1074: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_create_sort_keylist':
API.c:1095: `LDAPsortkey' undeclared (first use in this function)
API.c:1095: `sortKeyList' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_create_virtuallist_control':
API.c:1116: `LDAPVirtualList' undeclared (first use in this function)
API.c:1116: `ldvlistp' undeclared (first use in this function)
API.c:1116: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_free_friendlymap':
API.c:1435: `FriendlyMap' undeclared (first use in this function)
API.c:1435: `map' undeclared (first use in this function)
API.c:1435: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_free_sort_keylist':
API.c:1452: `LDAPsortkey' undeclared (first use in this function)
API.c:1452: `sortKeyList' undeclared (first use in this function)
API.c:1452: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_friendly_name':
API.c:1483: `FriendlyMap' undeclared (first use in this function)
API.c:1483: `map' undeclared (first use in this function)
API.c:1483: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_get_lang_values':
API.c:1586: warning: initialization makes pointer from integer without a 
cast
API.c: In function `XS_Mozilla__LDAP__API_ldap_get_lang_values_len':
API.c:1608: warning: initialization makes pointer from integer without a 
cast
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_destroy':
API.c:1818: `LDAPMemCache' undeclared (first use in this function)
API.c:1818: `cache' undeclared (first use in this function)
API.c:1818: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_flush':
API.c:1832: `LDAPMemCache' undeclared (first use in this function)
API.c:1832: `cache' undeclared (first use in this function)
API.c:1832: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_get':
API.c:1849: `LDAPMemCache' undeclared (first use in this function)
API.c:1849: `cachep' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_init':
API.c:1871: `LDAPMemCache' undeclared (first use in this function)
API.c:1871: `cachep' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_set':
API.c:1892: `LDAPMemCache' undeclared (first use in this function)
API.c:1892: `cache' undeclared (first use in this function)
API.c:1892: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_memcache_update':
API.c:1909: `LDAPMemCache' undeclared (first use in this function)
API.c:1909: `cache' undeclared (first use in this function)
API.c:1909: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldap_set_rebind_proc':
API.c:2862: too many arguments to function `ldap_set_rebind_proc'
API.c:2868: warning: passing arg 2 of `ldap_set_rebind_proc' from 
incompatible pointer type
API.c:2868: too many arguments to function `ldap_set_rebind_proc'
API.c: In function `XS_Mozilla__LDAP__API_ldap_set_default_rebind_proc':
API.c:2902: `LDAP_REBINDPROC_CALLBACK' undeclared (first use in this 
function)
API.c:2902: parse error before ')' token
API.c:2902: too many arguments to function `ldap_set_rebind_proc'
API.c: In function `XS_Mozilla__LDAP__API_ldap_url_parse':
API.c:3028: structure has no member named `lud_options'
API.c: In function `XS_Mozilla__LDAP__API_ldap_version':
API.c:3142: `LDAPVersion' undeclared (first use in this function)
API.c:3142: `ver' undeclared (first use in this function)
API.c:3142: parse error before ')' token
API.c: In function `XS_Mozilla__LDAP__API_ldapssl_init':
API.c:3231: warning: assignment makes pointer from integer without a cast
make: *** [API.o] Error 1


This is a stock install of Redhat 9 with all packages installed.  I've 
looked around on google and tested a few ideas people had, but no luck with 
any of them.  Any ideas?

Thank you all!

Alan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.