Article View: fj.net.ldap
Article #74compiling pam_ldap and nss_ldap
From: Robert Weilhammer
Date: Thu, 23 Aug 2001 13:55
Date: Thu, 23 Aug 2001 13:55
68 lines
3558 bytes
3558 bytes
Hi Newsgroup, i'm trying to compile nss_ldap-168 and pam_ldap-123 on a solaris 2.6 machine with installed openldap-2.0.11. while running ./configure there are no errors, but when i try to make the program files ldap-nss.o or pam_ldap.o there are many error-lines : ldap-nss : ldap-nss.c: In function `do_close_no_unbind': ldap-nss.c:474: dereferencing pointer to incomplete type ldap-nss.c:482: dereferencing pointer to incomplete type ldap-nss.c: In function `do_open': ldap-nss.c:650: dereferencing pointer to incomplete type ldap-nss.c:863: dereferencing pointer to incomplete type ldap-nss.c:869: dereferencing pointer to incomplete type ldap-nss.c:876: dereferencing pointer to incomplete type ldap-nss.c:537: warning: unused variable `tv' ldap-nss.c: In function `do_bind': ldap-nss.c:1139: dereferencing pointer to incomplete type ldap-nss.c:1115: warning: `rc' might be used uninitialized in this function ldap-nss.c: In function `do_result': ldap-nss.c:1401: dereferencing pointer to incomplete type ldap-nss.c: In function `do_search_s': ldap-nss.c:1591: dereferencing pointer to incomplete type ldap-nss.c: In function `do_search': ldap-nss.c:1630: dereferencing pointer to incomplete type ldap-nss.c:1645: dereferencing pointer to incomplete type ldap-nss.c:1622: warning: `rc' might be used uninitialized in this function ldap-nss.c: At top level: ldap-nss.c:21: warning: `rcsId' defined but not used *** Error code 1 make: Fatal error: Command failed for target `ldap-nss.o' ############################# pam_ldap : pam_ldap.c: In function `ldap_get_lderrno': pam_ldap.c:328: dereferencing pointer to incomplete type pam_ldap.c:338: dereferencing pointer to incomplete type pam_ldap.c:320: warning: `lderrno' might be used uninitialized in this function pam_ldap.c: In function `_open_session': pam_ldap.c:1137: dereferencing pointer to incomplete type pam_ldap.c:1149: dereferencing pointer to incomplete type pam_ldap.c:1155: dereferencing pointer to incomplete type pam_ldap.c:1061: warning: unused variable `tv' pam_ldap.c: In function `_get_user_info': pam_ldap.c:1892: dereferencing pointer to incomplete type pam_ldap.c:1975: warning: passing arg 4 of `_get_integer_value' from incompatible pointer type pam_ldap.c: In function `_get_password_policy': pam_ldap.c:2146: dereferencing pointer to incomplete type *** Error code 1 make: Fatal error: Command failed for target `pam_ldap.o' could anyone give me a hint to compile, please ??? thanks in advance Robert
Technical Details
Message-ID:
<3B850B48.3DF2A725@ecrc.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!news-FFM2.ecrc.net!news.ecrc.de!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103627,6985a5209fb99a2b,start X-Google-Attributes: gid103627,public X-Google-ArrivalTime: 2001-08-23 06:55:37 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!news-FFM2.ecrc.net!news.ecrc.de!not-for-mail Message-ID: <3B850B48.3DF2A725@ecrc.de> From: Robert Weilhammer <robert.weilhammer@cw.com> X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: de, en MIME-Version: 1.0 Newsgroups: fj.net.ldap Subject: compiling pam_ldap and nss_ldap Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 68 Date: Thu, 23 Aug 2001 15:55:20 +0200 NNTP-Posting-Host: 141.1.70.185 X-Complaints-To: news@ecrc.de X-Trace: news.ecrc.de 998574920 141.1.70.185 (Thu, 23 Aug 2001 15:55:20 MET DST) NNTP-Posting-Date: Thu, 23 Aug 2001 15:55:20 MET DST