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

cnu account at cnu.at99.at
Mon Feb 13 12:51:21 UTC 2012


Hello,

last week the ns-slapd process was killed from oom-killer on our 
ldap/nis system.

I found in the changelog from slapi-nis:
0.31    * Fix some memory leaks.

So I tried to compile slapi-nis-0.36 on Redhat 5 x86_64 But I get 
following error:

/libtool: link:  gcc -shared  -fPIC -DPIC  .libs/back-nis.o 
.libs/back-shr.o .libs/defs-nis.o .libs/disp-nis.o .libs/format.o 
.libs/map.o .libs/nis.o .libs/plug-nis.o .libs/portmap.o .libs/wrap.o   
-lssldap60 -lprldap60 -lldap60 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 
-lplc4 -lnspr4 -lpthread -ldl -lwrap -lnsl  -O2 -m64 -mtune=generic   
-Wl,-soname -Wl,nisserver-plugin.so -Wl,-version-script 
-Wl,.libs/nisserver-plugin.ver -o .libs/nisserver-plugin.so
libtool: link: ( cd ".libs" && rm -f "nisserver-plugin.la" && ln -s 
"../nisserver-plugin.la" "nisserver-plugin.la" )
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     
-I/usr/include/mozldap -I/usr/include/nspr4 -I/usr/include/nss3     -O2 
-g -m64 -mtune=generic -c -o back-sch.lo back-sch.c
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120213/d71addb4/attachment.html>


More information about the 389-users mailing list