Hello,
I am facing a problem installing dazuko. Please guide me to resolve this.
I am using cent OS 5.3 (linux kernel 2.6.18.el5), I have compiled my kernel
with “Default Linux capabilities” as loadable module, after which I tried
installing dazuko 2.3.7 by give the commands
./Configure
Make – it throws an error saying
[r...@localhost dazuko-2.3.7]# make clean
rm -f .*.cmd *.cmd *.o dazuko.ko dazuko.mod.c dummy_rule
[r...@localhost dazuko-2.3.7]# make
make -C /lib/modules/2.6.18-128.el5/build SUBDIRS="/usr/src/dazuko-2.3.7"
modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-i686'
CC [M] /usr/src/dazuko-2.3.7/dazuko_core.o
CC [M] /usr/src/dazuko-2.3.7/dazuko_transport.o
CC [M] /usr/src/dazuko-2.3.7/dazuko_linux26_lsm.o
In file included from /usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c:23:
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.h:666: warning: initialization from
incompatible pointer type
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.h:759: warning: initialization from
incompatible pointer type
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c: In function
‘dazuko_security_vm_enough_memory’:
/usr/src/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
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c:163: error: too many arguments to
function ‘dazuko_security_ops.vm_enough_memory’
/usr/src/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
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c:163: error: too many arguments to
function ‘dazuko_security_default_ops.vm_enough_memory’
/usr/src/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
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c:165: error: too many arguments to
function ‘cap_vm_enough_memory’
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c: In function
‘dazuko_security_file_mmap’:
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c:828: error: too many arguments to
function ‘dazuko_security_ops.file_mmap’
/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.c:828: error: too many arguments to
function ‘dazuko_security_default_ops.file_mmap’
make[2]: *** [/usr/src/dazuko-2.3.7/dazuko_linux26_lsm.o] Error 1
make[1]: *** [_module_/usr/src/dazuko-2.3.7] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-i686'
make: *** [dummy_rule] Error 2
I also tried the commands
./configure --enable-syscalls --mapfile=/boot/System.map-2.6.18-el5
Make
But I am not able to load the module (insmod dazuko.o or insmod dazuko.ko) it
throws an error invalid module format.
It will very helpful if I can get some help.
Best regards,
Senthil Murugan.
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Dazuko-help mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-help