mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Compile time error, no vmlinuz (2.6.7-bk2)
@ 2004-06-19 23:51 Bob Gill
  0 siblings, 0 replies; only message in thread
From: Bob Gill @ 2004-06-19 23:51 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi.  I recently built 2.6.7-bk2 (or at least tried to).  It refuses to
create the compressed kernel image (the system map and ramdisk image
build though).  I suspect the problem springs from the compile-time
error message I get when I build:

  CC      security/dummy.o
  CC      security/selinux/avc.o
  CC      security/selinux/hooks.o
security/selinux/hooks.c:4130: error: `selinux_netlink_send' undeclared
here (not in a function)
security/selinux/hooks.c:4130: error: initializer element is not
constant
security/selinux/hooks.c:4130: error: (near initialization for
`selinux_ops.netlink_send')
security/selinux/hooks.c:4131: error: `selinux_netlink_recv' undeclared
here (not in a function)
security/selinux/hooks.c:4131: error: initializer element is not
constant
security/selinux/hooks.c:4131: error: (near initialization for
`selinux_ops.netlink_recv')
make[2]: *** [security/selinux/hooks.o] Error 1
make[1]: *** [security/selinux] Error 2
make: *** [security] Error 2
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      security/selinux/hooks.o
security/selinux/hooks.c:4130: error: `selinux_netlink_send' undeclared
here (not in a function)
security/selinux/hooks.c:4130: error: initializer element is not
constant
security/selinux/hooks.c:4130: error: (near initialization for
`selinux_ops.netlink_send')
security/selinux/hooks.c:4131: error: `selinux_netlink_recv' undeclared
here (not in a function)
security/selinux/hooks.c:4131: error: initializer element is not
constant
security/selinux/hooks.c:4131: error: (near initialization for
`selinux_ops.netlink_recv')
make[2]: *** [security/selinux/hooks.o] Error 1
make[1]: *** [security/selinux] Error 2
make: *** [security] Error 2
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  arch/i386/kernel/msr.o
  CC [M]  arch/i386/kernel/cpuid.o
  CC [M]  fs/binfmt_aout.o

I grokked lkml a bit for a patch but found none.  hooks.c seems to have
selinux_netlink_send defined at line 3366 and selinux_netlink_recv seems
to be defined at line 3381 and I didn't see an #ifdef/#endif compiler
directive wrapped around them.  I'm compiling SELinux into the kernel,
but haven't enabled it at boot time on my system (yet).  2.6.7 builds
ok.

Please mail me directly as I'm not on the list, TIA,

Bob


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-19 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-19 23:51 Compile time error, no vmlinuz (2.6.7-bk2) Bob Gill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®