Issue 6100 - #define BACKSQL_ARBITRARY_KEY causes compile error
Summary: #define BACKSQL_ARBITRARY_KEY causes compile error
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.16
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 14:08 UTC by dekrider@gmail.com
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description dekrider@gmail.com 2009-05-08 14:08:51 UTC
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
Comment 1 ando@openldap.org 2009-05-08 14:24:28 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 ando@openldap.org 2009-05-08 14:27:39 UTC
dekrider@gmail.com wrote:

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

Should now be fixed in HEAD, please test (you can safely pull 
back-sql/search.c from the CVS and build it within 2.4.16 code).

Thanks, p.

Comment 3 Quanah Gibson-Mount 2009-06-02 22:28:51 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2009-07-22 17:12:37 UTC
changed notes
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:04:21 UTC
fixed in HEAD
fixed in RE24