[389-users] slapi-nis-0.36/34 compile on rh5

Nalin Dahyabhai nalin at redhat.com
Mon Feb 13 15:53:21 UTC 2012


On Mon, Feb 13, 2012 at 01:51:21PM +0100, cnu wrote:
>    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/mozldap
>    -I/usr/include/nspr4 -I/usr/include/nss3 -O2 -g -m64 -mtune=generic -c
>    back-sch.c  -fPIC -DPIC -o .libs/back-sch.o
>    back-sch.c: In function 'backend_sch_scope_as_string':
>    back-sch.c:991: error: invalid storage class for function
>    'backend_search_cb'
>    back-sch.c:1091: error: invalid storage class for function
>    'backend_locate_cb'
>    back-sch.c:1124: error: invalid storage class for function
>    'backend_locate'
>    back-sch.c:1152: error: invalid storage class for function
>    'backend_group_check_scope_cb'
>    back-sch.c:1168: error: invalid storage class for function
>    'backend_check_scope_pb'
>    back-sch.c:1187: error: invalid storage class for function
>    'backend_write_cb'
>    back-sch.c:1211: error: invalid storage class for function
>    'backend_bind_cb'
>    back-sch.c:1255: error: invalid storage class for function
>    'backend_compare_cb'
>    back-sch.c:1375: error: expected declaration or statement at end of
>    input
>    make[2]: *** [back-sch.lo] Error 1
>    make[2]: Leaving directory `/usr/src/redhat/BUILD/slapi-nis-0.36/src'
>    make[1]: *** [all] Error 2
>    make[1]: Leaving directory `/usr/src/redhat/BUILD/slapi-nis-0.36/src'
>    make: *** [all-recursive] Error 1
>    error: Bad exit status from /var/tmp/rpm-tmp.97014 (%build)
> 
>    RPM build errors:
>        Bad exit status from /var/tmp/rpm-tmp.97014 (%build)
>    I tried to find a answer with Google, but no success. Version 0.28
>    compiles fine.
>    br, Christian Neuhold

Yikes, you found a bug that shows up when LDAP_SCOPE_SUBORDINATE isn't
defined, one that's been there since 0.34.

I've gone ahead and checked in the fix and am currently uploading the
tarball for 0.37.  If you're building from that, then please give it a
go.  If you're pulling from Fedora's repository and rebulding, an F18
build is on its way.

HTH,

Nalin



More information about the 389-users mailing list