[linux-audio-user] realtime modules problem, 2.6.6

dee deetee at diversity-radio.net
Sat Aug 14 22:47:19 EDT 2004


Hello
I'm running debian kernel 2.6.6 and am trying to get the realtime-lsm module compiled -without success.

I first tried the non-debian instructions in the INSTALL file, when this
didn't work, i tried
apt-get install realtime-source and
make-kpkg --append-to-version foo --added-patches=debian modules_image

it failed, the output is below.

(never having added extra third party modules in this way  i then tried
a whole recompile of the kernel with the same result,
make-kpkg --append-to-version=foo --added-patches=debian
kernel_image modules_image)

my kernel config contains
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=m
# CONFIG_SECURITY_ROOTPLUG is not set
CONFIG_SECURITY_SELINUX=y
# CONFIG_SECURITY_SELINUX_BOOTPARAM is not set
# CONFIG_SECURITY_SELINUX_DISABLE is not set
CONFIG_SECURITY_SELINUX_DEVELOP=y
# CONFIG_SECURITY_SELINUX_MLS is not set

tia for any tips on getting this working,
dee
-----
end output from make-kpkg

dh_testdir
dh_testroot
dh_clean -k
make KERNEL_DIR=/usr/src/linux MODVERSIONS=detect
KERNEL=linux-2.6.6.20040815b C
OMMONCAP=none
make[2]: Entering directory `/usr/src/modules/realtime'
make modules -C /usr/src/linux SUBDIRS=/usr/src/modules/realtime
make[3]: Entering directory `/usr/src/kernel-source-2.6.6'
  CC [M]  /usr/src/modules/realtime/realcap.o
/usr/src/modules/realtime/realcap.c:137: error: unknown field
`bprm_compute_cred
s' specified in initializer
/usr/src/modules/realtime/realcap.c:137: error: `cap_bprm_compute_creds'
undecla
red here (not in a function)
/usr/src/modules/realtime/realcap.c:137: error: initializer element is not
const
ant
/usr/src/modules/realtime/realcap.c:137: error: (near initialization for
`capabi
lity_ops.register_security')
make[4]: *** [/usr/src/modules/realtime/realcap.o] Error 1
make[3]: *** [/usr/src/modules/realtime] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.6.6'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/realtime'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/realtime'
Module /usr/src/modules/realtime failed.




More information about the Linux-audio-user mailing list