[NTLUG:Discuss] problems compiling ldap
    Greg Edwards 
    greg at nas-inet.com
       
    Wed Sep 25 18:45:10 CDT 2002
    
    
  
Jay Urish wrote:
> here is a snip of what I am seeing
> 
> ---
> ldbm.c: In function `ldbm_open':
> ldbm.c:329: warning: passing arg 2 of pointer to function from 
> incompatible pointer type
> ldbm.c:329: warning: passing arg 4 of pointer to function makes pointer 
> from integer without a cast
> ldbm.c:329: too few arguments to function
> make[2]: *** [ldbm.o] Error 1
> make[2]: Leaving directory 
> `/usr/local/src/openldap-2.0.25/libraries/libldbm'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory `/usr/local/src/openldap-2.0.25/libraries'
> make: *** [all-common] Error 1
> 
> 
> Has anyone seen this before?
> 
> Jay
> 
Ya, bad code!
It could be an incorrect header file ???.h that has an incorrect 
prototype or no prototype at all for the function attempting to be called.
Copy line #329 of ldbm.c and let use see what it's trying to do.
Check the Openldap mailing list archives and see if this has already 
been addressed.
-- 
Greg Edwards
New Age Software, Inc.
http://www.nas-inet.com
    
    
More information about the Discuss
mailing list