dazuko-devel
[Top][All Lists]
Advanced

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

Re: [Dazuko-devel] Compile dazuko and kernel 2.6 fails


From: John Ogness
Subject: Re: [Dazuko-devel] Compile dazuko and kernel 2.6 fails
Date: Fri, 26 Dec 2003 22:43:30 +0100
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031207

Hi,

You need to make sure that the new security model is configured in your kernel.

CONFIG_SECURITY

If you do not have the new security model configured, then you will get exactly these errors. If you do "make menuconfig" you will see that there is a new section for security. You only have to activate security support. You do not need to activate all the special sub-options for security.

John Ogness


Dirk Vornheder wrote:
Hi !

Compile dazuko 2.0.0pre5 against kernel 2.6 fails:

address@hidden /privat/kernel/dazuko-2.0.0-pre5 > make
cc -Wall -O -DLINUX -Dlinux -c dazukoio.c
cc -Wall -O -DLINUX -Dlinux -c dazukoio_compat12.c
ar r dazukoio.a dazukoio.o dazukoio_compat12.o
ranlib dazukoio.a
cc -Wall -O -DLINUX -Dlinux -o example example.c dazukoio.a
cc -Wall -O -DLINUX -Dlinux -pthread -o example_mt example_mt.c dazukoio.a
make -C /lib/modules/2.6.0/build SUBDIRS=/privat/kernel/dazuko-2.0.0-pre5 modules
make[1]: Entering directory `/privat/kernel/linux-2.6.0'
  CHK     include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /privat/kernel/dazuko-2.0.0-pre5/dazuko_xp.o
  CC [M]  /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.o
/privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:440: error: variable `dazuko_ops' has initializer but incomplete type /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:441: error: unknown field `inode_permission' specified in initializer /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:441: warning: excess elements in struct initializer /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:441: warning: (near initialization for `dazuko_ops')
/privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c: In function `xp_sys_hook':
/privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:487: warning: implicit declaration of function `register_security' /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:489: warning: implicit declaration of function `mod_reg_security' /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c: In function `xp_sys_unhook': /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:508: warning: implicit declaration of function `mod_unreg_security' /privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:510: warning: implicit declaration of function `unregister_security'
/privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c: At top level:
/privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.c:440: error: storage size of `dazuko_ops' isn't known
make[2]: *** [/privat/kernel/dazuko-2.0.0-pre5/dazuko_linux26.o] Error 1
make[1]: *** [/privat/kernel/dazuko-2.0.0-pre5] Error 2
make[1]: Leaving directory `/privat/kernel/linux-2.6.0'
make: *** [dummy_rule.o] Error 2

Dirk

--
Dazuko Maintainer





reply via email to

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