Hi
I'd like to compile the dazuko module in order to be able to enable auto-scan in klamav on my Mandriva 2006(i386). I tried the latest versions of dazuko(including dazuko-2.1.1-pre3) with kernel 2.6.12-14 mdk. I ran ./configure in the dazuko directory and got the following configuration summary:
Quote:
module events = ON_OPEN ON_CLOSE ON_EXEC
devfs support = no
rsbac support = yes
stacking support = yes
local __d_path() = yes
module debug = no
library 1.x compatibility = yes
Note: For RSBAC you should copy the contents of this directory to:
/lib/modules/2.6.12-14custom/build/rsbac/adf/daz
and recompile the kernel. Also make sure that the DAZ module
has been enabled in the kernel configuration.
|
Running make at this point gives:
Quote:
make: *** No targets. Stop.
|
So next I copied the content of the dazuko directory to /lib/modules../daz, then ran make menuconfig and checked "Enable different security models" and "Default linux capabilities(module)". Then I ran make and got the following error message:
Quote:
rsbac/adf/daz/dazuko_transport.c: In function 'getbyte':
rsbac/adf/daz/dazuko_transport.c:126: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c:126: error: (Each undeclared identifier is reported only once
rsbac/adf/daz/dazuko_transport.c:126: error: for each function it appears in.)
rsbac/adf/daz/dazuko_transport.c: In function 'getinteger':
rsbac/adf/daz/dazuko_transport.c:148: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c: In function 'getpointer':
rsbac/adf/daz/dazuko_transport.c:183: error: 'int32_t' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c:183: error: syntax error before 'res'
rsbac/adf/daz/dazuko_transport.c:186: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c:195: error: 'res' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c: In function 'putbyte':
rsbac/adf/daz/dazuko_transport.c:212: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c: In function 'putinteger':
rsbac/adf/daz/dazuko_transport.c:231: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c: In function 'putpointer':
rsbac/adf/daz/dazuko_transport.c:252: error: 'int32_t' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c:252: error: syntax error before 'val'
rsbac/adf/daz/dazuko_transport.c:255: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c:261: error: 'val' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c:261: error: syntax error before 'b'
rsbac/adf/daz/dazuko_transport.c: In function 'skipinteger':
rsbac/adf/daz/dazuko_transport.c:276: error: 'NULL' undeclared (first use in this function)
rsbac/adf/daz/dazuko_transport.c: In function 'skippointer':
rsbac/adf/daz/dazuko_transport.c:289: error: 'NULL' undeclared (first use in this function)
make[3]: *** [rsbac/adf/daz/dazuko_transport.o] Error 1
make[2]: *** [rsbac/adf/daz] Error 2
make[1]: *** [rsbac/adf] Error 2
make: *** [rsbac] Error 2
|
I also tried to compile the kernel with the default daz directory that comes with the kernel source, made the changes with make menuconfig, but this did not compile the dazuko module.
What else should I try to get this module compiled ?
Thank you.