bugDazuko - Bugs: bug #6976, Problems compiling...

 
 

bug #6976: Problems compiling dazuko-2.0.0-pre5 with kernel 2.6

Submitted by:  None
Submitted on:  Wed 24 Dec 2003 02:21:06 PM UTC  
 
Status: FixedAssigned to: John Ogness <ogman>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 04 Jan 2004 11:46:41 PM UTC, comment #3:

Hi,

Users who have compiled their Linux 2.6 Kernel with the CONFIG_SECURITY option have not reported any problems.

John Ogness

John Ogness <ogman>
Project AdministratorIn charge of this item.
Fri 26 Dec 2003 11:26:59 AM UTC, comment #2:

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

John Ogness <ogman>
Project AdministratorIn charge of this item.
Fri 26 Dec 2003 03:49:44 AM UTC, comment #1:

Thats the same exact thing i get. I reported it in the support forum instead.
Sorry, i didn't even know a bug forum was around. Here is mine:

http://savannah.nongnu.org/support/?func=detailitem&item_id=102670

Anonymous
Wed 24 Dec 2003 02:21:06 PM UTC, original submission:

When compiling dazuko-2.0.0-pre5 which supports kernel 2.6, the following compiling errors were encountered:

uranus:/usr/local/src/dazuko-2.0.0-pre5 # ./configure
checking host system type... Linux
checking if Linux version is 2.6... yes
kernel source in /lib/modules/2.6.0/build... yes

------- Configuration -------

events = ON_OPEN ON_CLOSE ON_EXEC
devfs = no
debug = no

uranus:/usr/local/src/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=/usr/local/src/dazuko-2.0.0-pre5 modules
make[1]: Entering directory `/usr/src/linux-2.6.0'

      • Warning: Overriding SUBDIRS on the command line can cause
      • inconsistencies

make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /usr/local/src/dazuko-2.0.0-pre5/dazuko_xp.o
CC [M] /usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.o
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:440: error: variable `dazuko_ops' has initializer but incomplete type
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:441: error: unknown field `inode_permission' specified in initializer
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:441: warning: excess elements in struct initializer
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:441: warning: (near initialization for `dazuko_ops')
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c: In function `xp_sys_hook':
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:487: warning: implicit declaration of function `register_security'
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:489: warning: implicit declaration of function `mod_reg_security'
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c: In function `xp_sys_unhook':
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:508: warning: implicit declaration of function `mod_unreg_security'
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:510: warning: implicit declaration of function `unregister_security'
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c: At top level:
/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.c:440: error: storage size of `dazuko_ops' isn't known
make[2]: *** [/usr/local/src/dazuko-2.0.0-pre5/dazuko_linux26.o] Error 1
make[1]: *** [/usr/local/src/dazuko-2.0.0-pre5] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.0'
make: *** [dummy_rule.o] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 04 Jan 2004 11:46:41 PM UTCogmanStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 26 Dec 2003 11:26:59 AM UTCogmanAssigned toNone=>ogman

Back to the top


Powered by Savane 3.1-cleanup1