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

(ITS#6100) #define BACKSQL_ARBITRARY_KEY causes compile error



Full_Name: deckrider
Version: 2.4.16
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (76.25.161.0)


in servers/slapd/back-sql/back-sql.h:
#define BACKSQL_ARBITRARY_KEY

./configure --enable-sql=yes --enable-bdb=no --enable-hdb=no

....

make

...

../../../build/mkversion -v "2.4.16" back_sql > version.c
/bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2
-I../../../include        -I../../../include -I.. -I./..      -c init.c
 cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -c init.c -o
init.o
/bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2
-I../../../include        -I../../../include -I.. -I./..      -c config.c
 cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -c config.c -o
config.o
/bin/sh ../../../libtool --tag=disable-shared --mode=compile cc -g -O2
-I../../../include        -I../../../include -I.. -I./..      -c search.c
 cc -g -O2 -I../../../include -I../../../include -I.. -I./.. -c search.c -o
search.o
search.c: In function 'backsql_oc_get_candidates':
search.c:1725: warning: passing argument 10 of 'SQLBindParameter' from
incompatible pointer type
search.c: In function 'backsql_search':
search.c:2420: error: invalid operands to binary << (have 'struct berval' and
'int')
make[3]: *** [search.lo] Error 1
make[3]: Leaving directory
`/home/deverly/tmp/openldap-2.4.16/servers/slapd/back-sql'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/home/deverly/tmp/openldap-2.4.16/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/deverly/tmp/openldap-2.4.16/servers'
make: *** [all-common] Error 1