[Date Prev][Date Next]
Re: problem building comp_match module
if I insert
#define LDAP_COMP_MATCH 1
typedef void* slap_component_transform_func LDAP_P((
struct berval * in ));
comp_match module continues to compile.
Do you think it is something that I should know in advance or it is a
Best regards, vadim tarassov
On Mon, 2005-12-19 at 23:09 +0100, vadim wrote:
> Hallo everybody,
> I am trying to build comp_match module in openldap 2.3.13. Probably I am
> doing something wrong.
> First, I've done
> make depend
> make install
> Second, I went into contrib/slapd-modules/comp_match and as it has been
> written in README modified path to snacc (openldap-snacc-2.3.6) and
> Third, I made make. I found that in the Makefile
> topbuilddir = ../../../../build
> topsrcdir = ../../../..
> are probably wrong, I changed them to
> topbuilddir = ../../../build
> topsrcdir = ../../..
> Then I said make again and got load of errors, where probably important
> gcc-3.3 -g -O2 -DLDAP_COMPONENT -I../../../include
> -I../../../servers/slapd -I../../../build/include -I/opt/eplatform
> -I/opt/eplatform/c-lib/inc -I/usr/include -c componentlib.c -fPIC -DPIC
> -o .libs/componentlib.o
> In file included from componentlib.c:19:
> ../../../servers/slapd/component.h:62: error: syntax error before
> ../../../servers/slapd/component.h:62: warning: no semicolon at end of
> struct or union
> ../../../servers/slapd/component.h:65: error: syntax error before '}'
> ../../../servers/slapd/component.h:65: warning: data definition has no
> type or storage class
> ../../../servers/slapd/component.h:71: error: syntax error before
> I think that "ComponentFilter" type is not defined anywhere.
> Do you know what am I doing wrong?
> Thanx a lot and best regards, vadim tarassov