bugDazuko - Bugs: bug #14618, Cannot compile dazuko-2.1.0 with...

 
 

bug #14618: Cannot compile dazuko-2.1.0 with Mandrake 10.0

Submitted by:  Dustin Surawicz <dustins>
Submitted on:  Thu 22 Sep 2005 05:08:57 PM UTC  
 
Status: NoneAssigned 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.

 

Fri 23 Sep 2005 12:57:26 PM UTC, comment #5:

OK. This will be available for the 2.1.1-pre1 version (which will be posted shortly).

John Ogness <ogman>
Project AdministratorIn charge of this item.
Fri 23 Sep 2005 10:52:12 AM UTC, comment #4:

Yes. That's it. Compiled perfectly, no obvious problems.

Thanks a lot.

Dustin Surawicz <dustins>
Fri 23 Sep 2005 09:29:25 AM UTC, comment #3:

Mandrake appears to have their own custom LSM interface. I have added support for this in CVS. Please verify that it works correctly.

$ env CVS_RSH="ssh" cvs -z3 \
-d:ext:anoncvs@subversions.gnu.org:/cvsroot/dazuko \
co dazuko

John Ogness <ogman>
Project AdministratorIn charge of this item.
Fri 23 Sep 2005 09:07:07 AM UTC, comment #2:

Hi,

Okay, here come the requested files.

Have fun.

Dustin Surawicz <dustins>
Fri 23 Sep 2005 08:25:56 AM UTC, comment #1:

Hi,

Could you attach a gzip'd version of:

/lib/modules/2.6.3-27mdkcustom/build/include/linux/security.h

and

/lib/modules/2.6.3-27mdkcustom/build/include/linux/autoconf.h

This will allow me to reproduce the situation.

John Ogness <ogman>
Project AdministratorIn charge of this item.
Thu 22 Sep 2005 05:08:57 PM UTC, original submission:

Compiling dazuko-2.1.0 leads to the following error:

<quote>
# uname -rom
2.6.3-27mdkcustom i686 GNU/Linux

# ./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.3-27mdkcustom/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... yes
discovered host system... Linux (2.6.3)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API... ok
inspecting suspend function... ok (suspend1)
inspecting class type... ok (class_simple)
disabling ON_CLOSE events (not available for Linux 2.6)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

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

module events = ON_OPEN ON_EXEC
devfs support = yes
rsbac support = no
stacking support = yes
local __d_path() = yes
module debug = no
library 1.x compatibility = yes

# make
make -C /lib/modules/2.6.3-27mdkcustom/build SUBDIRS="/usr/src/dazuko-2.1.0" modules
make[1]: Entering directory `/usr/src/linux-2.6.3-27mdk'

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

make[2]: »arch/i386/kernel/asm-offsets.s« ist bereits aktualisiert.
CC [M] /usr/src/dazuko-2.1.0/dazuko_linux26_lsm.o
In file included from /usr/src/dazuko-2.1.0/dazuko_linux26_lsm.c:20:
/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.h:404: error: unknown field `bprm_compute_creds' specified in initializer
/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.h:404: warning: initialization from incompatible pointer type
/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.c: In function `dazuko_security_bprm_compute_creds':
/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.c:184: error: structure has no member named `bprm_compute_creds'
/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.c:184: error: structure has no member named `bprm_compute_creds'
/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.c:187: warning: implicit declaration of function `cap_bprm_compute_creds'
make[2]: *** [/usr/src/dazuko-2.1.0/dazuko_linux26_lsm.o] Fehler 1
make[1]: *** [/usr/src/dazuko-2.1.0] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-27mdk'
make: *** [dummy_rule] Fehler 2
</quote>

The same error occurs with dazuko-2.0.6 as well. Last working dazuko module is dazuko-2.0.6 with kernel 2.6.3-25mdkcustom. Unfortunately, I have not got the source installed to check whether dazuko-2.1.0 will compile with kernel 2.6.3-25mdkcustom :(

Dustin Surawicz <dustins>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #3099:  dazuko_bug14618.tgz added by dustins (31KiB - application/x-compressed-tar - security.h and autoconf.h of kernel-2.6.3-27mdk)

 

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
Fri 23 Sep 2005 12:57:26 PM UTCogmanOpen/ClosedOpen=>Closed
Fri 23 Sep 2005 09:07:08 AM UTCdustinsAttached File-=>Added dazuko_bug14618.tgz, #2992
Fri 23 Sep 2005 08:25:56 AM UTCogmanAssigned toNone=>ogman

Back to the top


Powered by Savane 3.1-cleanup1