Date: Thu, 13 Jun 2002 20:58:55 -0500 From: David Loszewski <drlski@attbi.com> To: freebsd-questions@freebsd.org Subject: NSS_LDAP installation problem...plz help!!!! Message-ID: <3D094DDF.6010801@attbi.com>
next in thread | raw e-mail | index | archive | help
I'm trying to install nss_ldap-194 on a FreeBSD 4.5 system but when I do a 'make' it gives me a ton of errors. I'm using OpenLDAP. Could anyone help me? Below are the errors, I'm installing from source. Also...is there anywhere that I can just get a port for this? I couldn't find one. Dave $ make gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_REFERRALS -DPIC -D_REENTRANT -I/usr/local/include -g -O2 -Wall -fPIC -c ldap-nss.c In file included from ldap-nss.c:90: ldap-nss.h:462: syntax error before `*' ldap-nss.h:463: warning: type defaults to `int' in declaration of `NSS_STATUS' ldap-nss.h:463: `NSS_STATUS' declared as function returning a function ldap-nss.h:549: `_nss_ldap_search_s' declared as function returning a function ldap-nss.h:558: `_nss_ldap_search' declared as function returning a function ldap-nss.h:563: `_nss_ldap_result' declared as function returning a function ldap-nss.h:570: `_nss_ldap_read' declared as function returning a function ldap-nss.h:582: syntax error before `parser_t' ldap-nss.h:582: `_nss_ldap_getent' declared as function returning a function ldap-nss.h:594: syntax error before `parser_t' ldap-nss.h:594: `_nss_ldap_getbyname' declared as function returning a function ldap-nss.h:604: `_nss_ldap_assign_attrvals' declared as function returning a function ldap-nss.h:611: `_nss_ldap_assign_attrval' declared as function returning a function ldap-nss.h:619: `_nss_ldap_assign_userpassword' declared as function returning a function ldap-nss.h:621: `_nss_ldap_oc_check' declared as function returning a function ldap-nss.h:664: `_nss_ldap_init' declared as function returning a function In file included from ldap-nss.c:93: util.h:41: `_nss_ldap_getrdnvalue' declared as function returning a function util.h:114: `_nss_ldap_readconfig' declared as function returning a function util.h:121: `_nss_ldap_escape_string' declared as function returning a function In file included from ldap-nss.c:94: dnsconfig.h:29: `_nss_ldap_getdnsdn' declared as function returning a function dnsconfig.h:32: `_nss_ldap_readconfigfromdns' declared as function returning a function ldap-nss.c:203: `do_open' declared as function returning a function ldap-nss.c:222: `do_result' declared as function returning a function ldap-nss.c:230: `do_filter' declared as function returning a function ldap-nss.c:237: syntax error before `parser_t' ldap-nss.c:237: `do_parse' declared as function returning a function ldap-nss.c:244: syntax error before `parser_t' ldap-nss.c:244: `do_parse_s' declared as function returning a function ldap-nss.c:260: `do_with_reconnect' declared as function returning a function ldap-nss.c:826: `_nss_ldap_init' declared as function returning a function ldap-nss.c:837: `do_open' declared as function returning a function ldap-nss.c: In function `do_open': ldap-nss.c:957: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:957: (Each undeclared identifier is reported only once ldap-nss.c:957: for each function it appears in.) ldap-nss.c:989: invalid lvalue in assignment ldap-nss.c:996: invalid lvalue in assignment ldap-nss.c:1003: warning: return makes integer from pointer without a cast ldap-nss.c:1067: `NSS_UNAVAIL' undeclared (first use in this function) ldap-nss.c:1261: warning: control reaches end of non-void function ldap-nss.c: In function `_nss_ldap_ent_context_init': ldap-nss.c:1471: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c: In function `_nss_ldap_ent_context_release': ldap-nss.c:1522: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c: At top level: ldap-nss.c:1542: `do_filter' declared as function returning a function ldap-nss.c: In function `do_filter': ldap-nss.c:1570: invalid lvalue in assignment ldap-nss.c:1570: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:1571: warning: return makes integer from pointer without a cast ldap-nss.c:1581: invalid lvalue in assignment ldap-nss.c:1584: invalid lvalue in assignment ldap-nss.c:1585: warning: return makes integer from pointer without a cast ldap-nss.c:1591: invalid lvalue in assignment ldap-nss.c:1592: warning: return makes integer from pointer without a cast ldap-nss.c:1637: warning: control reaches end of non-void function ldap-nss.c: At top level: ldap-nss.c:1645: `do_result' declared as function returning a function ldap-nss.c: In function `do_result': ldap-nss.c:1647: function `stat' is initialized like a variable ldap-nss.c:1647: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:1683: `NSS_UNAVAIL' undeclared (first use in this function) ldap-nss.c:1686: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:1734: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:1759: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:1770: `do_with_reconnect' declared as function returning a function ldap-nss.c: In function `do_with_reconnect': ldap-nss.c:1773: function `stat' is initialized like a variable ldap-nss.c:1773: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:1798: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:1833: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:1849: `NSS_UNAVAIL' undeclared (first use in this function) ldap-nss.c:1854: switch quantity not an integer ldap-nss.c:1857: warning: unreachable code at beginning of switch statement ldap-nss.c:1881: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:1989: syntax error before `parser_t' ldap-nss.c:1990: `do_parse' declared as function returning a function ldap-nss.c: In function `do_parse': ldap-nss.c:1991: function `parseStat' is initialized like a variable ldap-nss.c:1991: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:2004: function `resultStat' is initialized like a variable ldap-nss.c:2004: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2006: `ctx' undeclared (first use in this function) ldap-nss.c:2010: invalid lvalue in assignment ldap-nss.c:2016: invalid lvalue in assignment ldap-nss.c:2030: warning: implicit declaration of function `parser' ldap-nss.c:2030: `result' undeclared (first use in this function) ldap-nss.c:2031: `buffer' undeclared (first use in this function) ldap-nss.c:2031: `buflen' undeclared (first use in this function) ldap-nss.c:2031: invalid lvalue in assignment ldap-nss.c:2034: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:2048: `errnop' undeclared (first use in this function) ldap-nss.c:2061: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:2069: syntax error before `parser_t' ldap-nss.c:2070: `do_parse_s' declared as function returning a function ldap-nss.c: In function `do_parse_s': ldap-nss.c:2071: function `parseStat' is initialized like a variable ldap-nss.c:2071: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:2085: `ctx' undeclared (first use in this function) ldap-nss.c:2112: `result' undeclared (first use in this function) ldap-nss.c:2112: `buffer' undeclared (first use in this function) ldap-nss.c:2112: `buflen' undeclared (first use in this function) ldap-nss.c:2112: invalid lvalue in assignment ldap-nss.c:2115: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:2119: `errnop' undeclared (first use in this function) ldap-nss.c:2132: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:2142: `_nss_ldap_read' declared as function returning a function ldap-nss.c:2209: `_nss_ldap_result' declared as function returning a function ldap-nss.c:2222: `_nss_ldap_search_s' declared as function returning a function ldap-nss.c: In function `_nss_ldap_search_s': ldap-nss.c:2232: invalid lvalue in assignment ldap-nss.c:2233: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2237: warning: return makes integer from pointer without a cast ldap-nss.c:2272: invalid lvalue in assignment ldap-nss.c:2274: warning: return makes integer from pointer without a cast ldap-nss.c:2278: invalid lvalue in assignment ldap-nss.c:2282: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:2293: `_nss_ldap_search' declared as function returning a function ldap-nss.c: In function `_nss_ldap_search': ldap-nss.c:2303: invalid lvalue in assignment ldap-nss.c:2304: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2308: warning: return makes integer from pointer without a cast ldap-nss.c:2344: invalid lvalue in assignment ldap-nss.c:2346: warning: return makes integer from pointer without a cast ldap-nss.c:2350: invalid lvalue in assignment ldap-nss.c:2354: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:2448: syntax error before `parser_t' ldap-nss.c:2449: `_nss_ldap_getent' declared as function returning a function ldap-nss.c: In function `_nss_ldap_getent': ldap-nss.c:2450: function `stat' is initialized like a variable ldap-nss.c:2450: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2454: `ctx' undeclared (first use in this function) ldap-nss.c:2463: `NSS_UNAVAIL' undeclared (first use in this function) ldap-nss.c:2482: `filterprot' undeclared (first use in this function) ldap-nss.c:2482: `sel' undeclared (first use in this function) ldap-nss.c:2482: invalid lvalue in assignment ldap-nss.c:2487: warning: return makes integer from pointer without a cast ldap-nss.c:2496: `result' undeclared (first use in this function) ldap-nss.c:2496: `buffer' undeclared (first use in this function) ldap-nss.c:2496: `buflen' undeclared (first use in this function) ldap-nss.c:2496: `errnop' undeclared (first use in this function) ldap-nss.c:2496: `parser' undeclared (first use in this function) ldap-nss.c:2496: invalid lvalue in assignment ldap-nss.c:2522: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:2536: syntax error before `parser_t' ldap-nss.c:2537: `_nss_ldap_getbyname' declared as function returning a function ldap-nss.c: In function `_nss_ldap_getbyname': ldap-nss.c:2538: function `stat' is initialized like a variable ldap-nss.c:2538: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:2550: `args' undeclared (first use in this function) ldap-nss.c:2550: `filterprot' undeclared (first use in this function) ldap-nss.c:2550: `sel' undeclared (first use in this function) ldap-nss.c:2550: invalid lvalue in assignment ldap-nss.c:2551: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2555: warning: return makes integer from pointer without a cast ldap-nss.c:2568: `result' undeclared (first use in this function) ldap-nss.c:2568: `buffer' undeclared (first use in this function) ldap-nss.c:2568: `buflen' undeclared (first use in this function) ldap-nss.c:2568: `errnop' undeclared (first use in this function) ldap-nss.c:2568: `parser' undeclared (first use in this function) ldap-nss.c:2568: invalid lvalue in assignment ldap-nss.c:2577: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:2596: `_nss_ldap_assign_attrvals' declared as function returning a function ldap-nss.c: In function `_nss_ldap_assign_attrvals': ldap-nss.c:2616: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:2630: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2677: warning: control reaches end of non-void function ldap-nss.c: At top level: ldap-nss.c:2685: `_nss_ldap_assign_attrval' declared as function returning a function ldap-nss.c: In function `_nss_ldap_assign_attrval': ldap-nss.c:2692: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:2699: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:2712: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2713: warning: control reaches end of non-void function ldap-nss.c: At top level: ldap-nss.c:2724: `_nss_ldap_assign_userpassword' declared as function returning a function ldap-nss.c: In function `_nss_ldap_assign_userpassword': ldap-nss.c:2795: `NSS_TRYAGAIN' undeclared (first use in this function) ldap-nss.c:2812: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2813: warning: control reaches end of non-void function ldap-nss.c: At top level: ldap-nss.c:2817: `_nss_ldap_oc_check' declared as function returning a function ldap-nss.c: In function `_nss_ldap_oc_check': ldap-nss.c:2819: function `ret' is initialized like a variable ldap-nss.c:2819: `NSS_NOTFOUND' undeclared (first use in this function) ldap-nss.c:2828: `NSS_SUCCESS' undeclared (first use in this function) ldap-nss.c:2839: warning: return makes integer from pointer without a cast ldap-nss.c: At top level: ldap-nss.c:21: warning: `rcsId' defined but not used *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D094DDF.6010801>