[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    [pamldap] Compiling on Solaris 5.7
From:       Paul Clayton <paul.clayton () intec ! co ! za>
Date:       2002-10-24 20:41:04
[Download RAW message or body]

Solaris 5.7 & pam_ldap-156

Cannot compile with the following options. Can anyone point me in the right
direction.

./configure --with-ldap=auto --with-ldap-dir=/usr/local/ldapcsdk or
./configure --with-ldap=netscape5 --with-ldap-dir=/usr/local/ldapcsdk

When running make I get the follwoing errors.

gcc -DHAVE_CONFIG_H   -DLDAP_REFERRALS -D_REENTRANT
-I/usr/local/ldapcsdk/include  -g -O2 -Wall -fPIC -c -o pam_ldap.o
pam_ldap.c
pam_ldap.c:174: warning: static declaration for `ldap_get_lderrno' follows
non-static
pam_ldap.c:177: conflicting types for `ldap_set_lderrno'
/usr/local/ldapcsdk/include/ldap-extension.h:194: previous declaration of
`ldap_set_lderrno'
make: *** [pam_ldap.o] Error 1


gcc is 2.95.2

Regards

Unix like Teepee, no windows no gates Apache inside

Paul Clayton
Global Unix Co-ordinator
Intec Telecom Systems
PH +27(0)21 4309000
Direct +27 (0)21 4309048
Mobile +27(0) 832853403
Fax +27(0) 4309025



*******************************************************************************************
<http://www.intec-telecom-systems.com/>

This e-mail and any attachments are confidential and may also be privileged
and/or copyright material of Independent Technology Systems Limited
(or its affiliated companies). If you are not the intended or authorised recipient 
of this email or have received it in error, please delete it immediately and 
notify the sender by e-mail. In such a case reading, reproducing, printing or 
further dissemination of this e-mail is strictly prohibited and may be unlawful.

Independent Technology Systems Limited does not represent or warrant that 
an attachment hereto is free from computer viruses or other defects.

The opinions expressed in this e-mail and any of the attachments may 
be those of the author and are not necessarily those of Independent 
Technology Systems Limited.
******************************************************************************************

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic