Hi Ralf,
Ralf Haferkamp wrote:
> A fix is in HEAD now (servers/slapd/config.c rev 1.513) please test.
I'm afraid I need a little guidance here. To test the fix, I replaced
the config.c from 2.4.21 with rev 1.513, but I got the errors below. I'm
guessing I'm being naive to think this would work, and that I need to
d'l the complete HEAD to compile, but how would I do that? Cvs needs a
module name, and I tried 'HEAD' and 'OPENLDAP_REL_ENG_2_4' but these
names couldn't be found. I couldn't find anything else in the devel faq
and website that seems like a candidate for a module name, so could you
please give me some pointers? Many thanks in advance,
gerard
cc-1020 c99: ERROR File = config.c, Line = 1222
The identifier "slap_keepalive" is undefined.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1020 c99: ERROR File = config.c, Line = 1222
The identifier "sk" is undefined.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1029 c99: ERROR File = config.c, Line = 1222
An expression is expected at this point.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1065 c99: ERROR File = config.c, Line = 1222
A semicolon is expected at this point.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1020 c99: ERROR File = config.c, Line = 1238
The identifier "slap_keepalive" is undefined.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1020 c99: ERROR File = config.c, Line = 1238
The identifier "sk" is undefined.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1029 c99: ERROR File = config.c, Line = 1238
An expression is expected at this point.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1065 c99: ERROR File = config.c, Line = 1238
A semicolon is expected at this point.
slap_keepalive *sk = (slap_keepalive *)bc;
^
cc-1065 c99: ERROR File = config.c, Line = 1239
A semicolon is expected at this point.
slap_keepalive sk2;
^
cc-1020 c99: ERROR File = config.c, Line = 1242
The identifier "sk2" is undefined.
sk2.sk_idle = 0;
^
cc-1020 c99: ERROR File = config.c, Line = 1246
The identifier "sk2" is undefined.
sk2.sk_idle = strtol( s, &next, 10 );
^
cc-1020 c99: ERROR File = config.c, Line = 1259
The identifier "sk2" is undefined.
sk2.sk_probes = 0;
^
cc-1020 c99: ERROR File = config.c, Line = 1263
The identifier "sk2" is undefined.
sk2.sk_probes = strtol( s, &next, 10 );
^
cc-1020 c99: ERROR File = config.c, Line = 1276
The identifier "sk2" is undefined.
sk2.sk_interval = 0;
^
cc-1020 c99: ERROR File = config.c, Line = 1280
The identifier "sk2" is undefined.
sk2.sk_interval = strtol( s, &next, 10 );
^
cc-1020 c99: ERROR File = config.c, Line = 1290
The identifier "sk2" is undefined.
*sk = sk2;
^
cc-1565 c99: ERROR File = config.c, Line = 1336
The struct "slap_bindconf" has no field "sb_keepalive".
{ BER_BVC("keepalive="), offsetof(slap_bindconf, sb_keepalive),
'x', 0, (slap_verbmasks *)slap_keepalive_parse },
^
( warnings skipped... )
cc-1565 c99: ERROR File = config.c, Line = 1889
The struct "slap_bindconf" has no field "sb_keepalive".
if ( sb->sb_keepalive.sk_idle ) {
^
cc-1565 c99: ERROR File = config.c, Line = 1890
The struct "slap_bindconf" has no field "sb_keepalive".
ldap_set_option( ld, LDAP_OPT_X_KEEPALIVE_IDLE,
&sb->sb_keepalive.sk_idle );
^
cc-1565 c99: ERROR File = config.c, Line = 1893
The struct "slap_bindconf" has no field "sb_keepalive".
if ( sb->sb_keepalive.sk_probes ) {
^
cc-1565 c99: ERROR File = config.c, Line = 1894
The struct "slap_bindconf" has no field "sb_keepalive".
ldap_set_option( ld, LDAP_OPT_X_KEEPALIVE_PROBES,
&sb->sb_keepalive.sk_probes );
^
cc-1565 c99: ERROR File = config.c, Line = 1897
The struct "slap_bindconf" has no field "sb_keepalive".
if ( sb->sb_keepalive.sk_interval ) {
^
cc-1565 c99: ERROR File = config.c, Line = 1898
The struct "slap_bindconf" has no field "sb_keepalive".
ldap_set_option( ld, LDAP_OPT_X_KEEPALIVE_INTERVAL,
&sb->sb_keepalive.sk_interval );