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

problem building comp_match module

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
vadim <vadim.tarassov@swissonline.ch>