[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: HAVE_TSL define (ITS#1421)



That's why there was 2.0.10...

At 04:55 AM 2001-11-02, Catalin.Ionescu@nokia.com wrote:
>Hi there,
>
>While trying to compile openldap-2.0.9 the following error is raised:
>
>added backend library back-ldbm/libback_ldbm.a
>-rw-r--r--    1 root     root      2183592 Nov  2 14:38 libbackends.a
>cc -g -O2 -I../../include -I../../include       -c -o config.o config.c
>config.c: In function `read_config':
>config.c:807: `rc' undeclared (first use in this function)
>config.c:807: (Each undeclared identifier is reported only once
>config.c:807: for each function it appears in.)
>make[2]: *** [config.o] Error 1
>make[2]: Leaving directory
>`/home/cionescu/archive/openldap-2.0.9/servers/slapd'
>make[1]: *** [all-common] Error 1
>
>The problem comes from the fact the rc is defined like this :
>
>#ifdef HAVE_TLS
>int rc;
>#endif
>
>and at line 807 it is used outside #ifdef - #endif statment.
>
>--Catalin