dazuko-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dazuko-help] compile problem


From: Benjamin Adler
Subject: [Dazuko-help] compile problem
Date: Sat, 25 Sep 2004 15:28:52 +0200
User-agent: KMail/1.7

Hello!

I have compiled one of your prepatched kernels (2.6.8.1-rsbac) and configured 
the necessary options:

        [*] Enable different security models
        [*] Rule Set Based Access Control (RSBAC)

Since I don't really need rsbac but want more precise information than only 
OPEN for all events, I'm currently booting rsbac in softmode.

First, there is something weird on the download page: There are two 
pre-releases, 2.0.4-pre2 and 2.1.0-pre1. Why is 2.0.4-pre2 a newer release 
than 2.1.0-pre1?

I can compile both releases with a kernel lacking rsbac support, but - again, 
with both releases, I get errors when trying to compile with rsbac support:

dazuko-2.0.4-pre2 # ./configure --enable-event-unlink --enable-event-rmdir 
--enable-event-close-modified --enable-devfs
checking host system type... Linux
kernel source in /lib/modules/2.6.8.1-rsbac/build... yes
checking if Linux is RSBAC patched... yes
checking if Linux version is 2.6... yes
checking if security module support is enabled... yes
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

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

module events = ON_OPEN ON_CLOSE ON_EXEC ON_UNLINK ON_RMDIR ON_CLOSE_MODIFIED
devfs support = yes
rsbac support = yes
module debug = no
library 1.x compatibility = yes

dazuko-2.0.4-pre2 # make
make -C /lib/modules/2.6.8.1-rsbac/build SUBDIRS=/tmp/dazuko-2.0.4-pre2 
modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-rsbac-v1.2.3-bf3'
  CC [M]  /tmp/dazuko-2.0.4-pre2/dazuko_xp.o
  CC [M]  /tmp/dazuko-2.0.4-pre2/dazuko_rsbac.o
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c: In function `xp_sys_hook':
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:476: warning: implicit declaration of 
function `devfs_register_chrdev'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: warning: implicit declaration of 
function `devfs_register'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: error: `DEVFS_FL_DEFAULT' 
undeclared (first use in this function)
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: error: (Each undeclared identifier 
is reported only once
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:477: error: for each function it appears 
in.)
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c: In function `xp_sys_unhook':
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:501: warning: implicit declaration of 
function `devfs_unregister_chrdev'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:502: warning: implicit declaration of 
function `devfs_unregister'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:502: warning: implicit declaration of 
function `devfs_find_handle'
/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.c:502: error: `DEVFS_SPECIAL_CHR' 
undeclared (first use in this function)
make[2]: *** [/tmp/dazuko-2.0.4-pre2/dazuko_rsbac.o] Error 1
make[1]: *** [_module_/tmp/dazuko-2.0.4-pre2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-rsbac-v1.2.3-bf3'
make: *** [dummy_rule.o] Error 2

What can I do to fix this?

I've read on other dazuko-help pages that there should have been a 
"dazuko_ops_linux26.h" generated by configure. I have no such file!

thank you!
Ben Adler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]