Hello,

I tried to compile Dazuko for my Centos 5.3 System running Kernel 2.6.18 (and 
equivalent sources)..

following result:

[r...@centos01 source]# rpmbuild -bp --target=i686 
/root/rpmbuild/SPECS/kernel.spec
Building target platforms: i686
Building for target i686
error: failed to stat /root/rpmbuild/SPECS/kernel.spec: No such file or 
directory
[r...@centos01 source]# cd /root/dazuko-2.3.7
[r...@centos01 dazuko-2.3.7]# ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.18-164.el5/source... yes
kernel build source in /lib/modules/2.6.18-164.el5/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.18)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API (this can take a while)... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting nameidata type... ok (dentry/mnt)
inspecting suspend function... ok (suspend2)
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM/RedirFS)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
 Configuration summary
=======================

module events = ON_OPEN ON_EXEC
devfs support = no
rsbac support = no
stacking support = yes
path resolution = registered daemon context
module debug = no
library 1.x compatibility = yes

[r...@centos01 dazuko-2.3.7]# make
make -C /lib/modules/2.6.18-164.el5/build SUBDIRS="/root/dazuko-2.3.7" modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-i686'
  CC [M]  /root/dazuko-2.3.7/dazuko_core.o
  CC [M]  /root/dazuko-2.3.7/dazuko_transport.o
  CC [M]  /root/dazuko-2.3.7/dazuko_linux26_lsm.o
In file included from /root/dazuko-2.3.7/dazuko_linux26_lsm.c:23:
/root/dazuko-2.3.7/dazuko_linux26_lsm.h:666: warning: initialization from 
incompatible pointer type
/root/dazuko-2.3.7/dazuko_linux26_lsm.h:759: warning: initialization from 
incompatible pointer type
/root/dazuko-2.3.7/dazuko_linux26_lsm.c: In function 
âdazuko_security_vm_enough_memoryâ:
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:163: warning: passing argument 1 of 
âdazuko_security_ops.vm_enough_memoryâ makes integer from pointer without a cast
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:163: error: too many arguments to 
function âdazuko_security_ops.vm_enough_memoryâ
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:163: warning: passing argument 1 of 
âdazuko_security_default_ops.vm_enough_memoryâ makes integer from pointer 
without a cast
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:163: error: too many arguments to 
function âdazuko_security_default_ops.vm_enough_memoryâ
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:165: warning: passing argument 1 of 
âcap_vm_enough_memoryâ makes integer from pointer without a cast
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:165: error: too many arguments to 
function âcap_vm_enough_memoryâ
/root/dazuko-2.3.7/dazuko_linux26_lsm.c: In function 
âdazuko_security_file_mmapâ:
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:828: error: too many arguments to 
function âdazuko_security_ops.file_mmapâ
/root/dazuko-2.3.7/dazuko_linux26_lsm.c:828: error: too many arguments to 
function âdazuko_security_default_ops.file_mmapâ
make[2]: *** [/root/dazuko-2.3.7/dazuko_linux26_lsm.o] Error 1
make[1]: *** [_module_/root/dazuko-2.3.7] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-i686'
make: *** [dummy_rule] Error 2
[r...@centos01 dazuko-2.3.7]#

I used Google for hours but could not find a explaination why this fails ... 
may you can help me?

Thanks a lot!
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/



_______________________________________________
Dazuko-help mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-help

Reply via email to