Dazuko, não consigo compilar.

Iniciado por Vraptor, 21 de Janeiro de 2008, 22:39

tópico anterior - próximo tópico

Vraptor

Boa noite pessoal.
Estou apanhando para instalar o modulo dazuko.
Segue a saida dos seguintes comandos.
fiorito@casa:/usr/src/modules/dazuko$ sudo ./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.22-14-generic/source... no
kernel build source in /lib/modules/2.6.22-14-generic/build... yes
kernel source in /lib/modules/2.6.22-14-generic/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.22)
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 suspend function... ok (suspend2)
checking whether __d_path() is exported... yes
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() = no
module debug = no
library 1.x compatibility = yes

fiorito@casa:/usr/src/modules/dazuko$   

fiorito@casa:/usr/src/modules/dazuko$ sudo make
make -C /lib/modules/2.6.22-14-generic/build include/linux/version.h include/asm scripts
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.22-14-generic'
  CHK     include/linux/version.h
make[1]: `include/asm' está atualizado.
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.22-14-generic'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS="/usr/src/modules/dazuko" modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /usr/src/modules/dazuko/dazuko_linux26_lsm.o
In file included from /usr/src/modules/dazuko/dazuko_linux26_lsm.c:23:
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:608: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:609: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:651: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:655: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:659: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:660: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:664: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:668: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:669: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:673: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:677: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:680: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:683: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:684: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.h:685: warning: initialization from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_create':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:381: warning: passing argument 3 of 'dazuko_security_ops.inode_create' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:381: error: too few arguments to function 'dazuko_security_ops.inode_create'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:381: warning: passing argument 3 of 'dazuko_security_default_ops.inode_create' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:381: error: too few arguments to function 'dazuko_security_default_ops.inode_create'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_link':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:395: warning: passing argument 2 of 'dazuko_security_ops.inode_link' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:395: warning: passing argument 3 of 'dazuko_security_ops.inode_link' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:395: error: too few arguments to function 'dazuko_security_ops.inode_link'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:395: warning: passing argument 2 of 'dazuko_security_default_ops.inode_link' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:395: warning: passing argument 3 of 'dazuko_security_default_ops.inode_link' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:395: error: too few arguments to function 'dazuko_security_default_ops.inode_link'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_unlink':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:409: error: too few arguments to function 'dazuko_security_ops.inode_unlink'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:409: error: too few arguments to function 'dazuko_security_default_ops.inode_unlink'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_symlink':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:416: warning: passing argument 3 of 'dazuko_security_ops.inode_symlink' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:416: error: too few arguments to function 'dazuko_security_ops.inode_symlink'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:416: warning: passing argument 3 of 'dazuko_security_default_ops.inode_symlink' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:416: error: too few arguments to function 'dazuko_security_default_ops.inode_symlink'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_mkdir':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:430: warning: passing argument 3 of 'dazuko_security_ops.inode_mkdir' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:430: error: too few arguments to function 'dazuko_security_ops.inode_mkdir'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:430: warning: passing argument 3 of 'dazuko_security_default_ops.inode_mkdir' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:430: error: too few arguments to function 'dazuko_security_default_ops.inode_mkdir'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_rmdir':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:444: error: too few arguments to function 'dazuko_security_ops.inode_rmdir'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:444: error: too few arguments to function 'dazuko_security_default_ops.inode_rmdir'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_mknod':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:451: warning: passing argument 3 of 'dazuko_security_ops.inode_mknod' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:451: error: too few arguments to function 'dazuko_security_ops.inode_mknod'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:451: warning: passing argument 3 of 'dazuko_security_default_ops.inode_mknod' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:451: error: too few arguments to function 'dazuko_security_default_ops.inode_mknod'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_rename':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:465: warning: passing argument 3 of 'dazuko_security_ops.inode_rename' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:465: warning: passing argument 4 of 'dazuko_security_ops.inode_rename' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:465: error: too few arguments to function 'dazuko_security_ops.inode_rename'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:465: warning: passing argument 3 of 'dazuko_security_default_ops.inode_rename' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:465: warning: passing argument 4 of 'dazuko_security_default_ops.inode_rename' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:465: error: too few arguments to function 'dazuko_security_default_ops.inode_rename'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_readlink':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:479: error: too few arguments to function 'dazuko_security_ops.inode_readlink'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:479: error: too few arguments to function 'dazuko_security_default_ops.inode_readlink'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_setattr':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:524: warning: passing argument 2 of 'dazuko_security_ops.inode_setattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:524: error: too few arguments to function 'dazuko_security_ops.inode_setattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:524: warning: passing argument 2 of 'dazuko_security_default_ops.inode_setattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:524: error: too few arguments to function 'dazuko_security_default_ops.inode_setattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_setxattr':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:544: warning: passing argument 2 of 'dazuko_security_ops.inode_setxattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:544: warning: passing argument 4 of 'dazuko_security_ops.inode_setxattr' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:544: error: too few arguments to function 'dazuko_security_ops.inode_setxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:544: warning: passing argument 2 of 'dazuko_security_default_ops.inode_setxattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:544: warning: passing argument 4 of 'dazuko_security_default_ops.inode_setxattr' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:544: error: too few arguments to function 'dazuko_security_default_ops.inode_setxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_post_setxattr':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:556: warning: passing argument 2 of 'dazuko_security_ops.inode_post_setxattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:556: warning: passing argument 4 of 'dazuko_security_ops.inode_post_setxattr' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:556: error: too few arguments to function 'dazuko_security_ops.inode_post_setxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:556: warning: passing argument 2 of 'dazuko_security_default_ops.inode_post_setxattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:556: warning: passing argument 4 of 'dazuko_security_default_ops.inode_post_setxattr' makes pointer from integer without a cast
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:556: error: too few arguments to function 'dazuko_security_default_ops.inode_post_setxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_getxattr':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:561: warning: passing argument 2 of 'dazuko_security_ops.inode_getxattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:561: error: too few arguments to function 'dazuko_security_ops.inode_getxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:561: warning: passing argument 2 of 'dazuko_security_default_ops.inode_getxattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:561: error: too few arguments to function 'dazuko_security_default_ops.inode_getxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_listxattr':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:568: error: too few arguments to function 'dazuko_security_ops.inode_listxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:568: error: too few arguments to function 'dazuko_security_default_ops.inode_listxattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c: In function 'dazuko_security_inode_removexattr':
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:576: warning: passing argument 2 of 'dazuko_security_ops.inode_removexattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:576: error: too few arguments to function 'dazuko_security_ops.inode_removexattr'
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:576: warning: passing argument 2 of 'dazuko_security_default_ops.inode_removexattr' from incompatible pointer type
/usr/src/modules/dazuko/dazuko_linux26_lsm.c:576: error: too few arguments to function 'dazuko_security_default_ops.inode_removexattr'
make[2]: ** [/usr/src/modules/dazuko/dazuko_linux26_lsm.o] Erro 1
make[1]: ** [_module_/usr/src/modules/dazuko] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.22-14-generic'
make: ** [dummy_rule] Erro 2
fiorito@casa:/usr/src/modules/dazuko$ 

Alguem tem alguma dica ?
Abraços.