slaine
25-02-2008, 16:24
Помогите установить dazuko/
Centos 5.1
Не получается установить dazuko 2.3.2.
Собрал новое ядро 2.6.20 с модульным capabilities.
./configure
./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.20/source... yes
kernel build source in /lib/modules/2.6.20/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.20)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend1)
checking whether __d_path() is exported... no (using local copy, dangerous)
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
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
local __d_path() = yes (WARNING: dangerous for SMP kernels, see README.linux26)
module debug = no
library 1.x compatibility = yes
Вылетают ошибки при make.
make:
make -C /lib/modules/2.6.20/build include/linux/version.h include/asm scripts
make[1]: Entering directory `/usr/src/linux-2.6.20'
CHK include/linux/version.h
make[1]: `include/asm' is up to date.
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make -C /lib/modules/2.6.20/build SUBDIRS="/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2" modules
make[1]: Entering directory `/usr/src/linux-2.6.20'
CC [M] /opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.o
In file included from /opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c:23:
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.h:657: warning: initialization from incompatible pointer type
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c: In function ‘dazuko_security_xfrm_state_alloc’:
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c:1373: error: too few arguments to function ‘dazuko_security_ops.xfrm_state_alloc_security’
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c:1373: error: too few arguments to function ‘dazuko_security_default_ops.xfrm_state_alloc_security’
make[2]: *** [/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.o] Error 1
make[1]: *** [_module_/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [dummy_rule] Error 2
Centos 5.1
Не получается установить dazuko 2.3.2.
Собрал новое ядро 2.6.20 с модульным capabilities.
./configure
./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.20/source... yes
kernel build source in /lib/modules/2.6.20/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.20)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend1)
checking whether __d_path() is exported... no (using local copy, dangerous)
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
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
local __d_path() = yes (WARNING: dangerous for SMP kernels, see README.linux26)
module debug = no
library 1.x compatibility = yes
Вылетают ошибки при make.
make:
make -C /lib/modules/2.6.20/build include/linux/version.h include/asm scripts
make[1]: Entering directory `/usr/src/linux-2.6.20'
CHK include/linux/version.h
make[1]: `include/asm' is up to date.
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make -C /lib/modules/2.6.20/build SUBDIRS="/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2" modules
make[1]: Entering directory `/usr/src/linux-2.6.20'
CC [M] /opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.o
In file included from /opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c:23:
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.h:657: warning: initialization from incompatible pointer type
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c: In function ‘dazuko_security_xfrm_state_alloc’:
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c:1373: error: too few arguments to function ‘dazuko_security_ops.xfrm_state_alloc_security’
/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.c:1373: error: too few arguments to function ‘dazuko_security_default_ops.xfrm_state_alloc_security’
make[2]: *** [/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2/dazuko_linux26_lsm.o] Error 1
make[1]: *** [_module_/opt/antivir-server-prof-2.1.11-21/contrib/dazuko/dazuko-2.3.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [dummy_rule] Error 2