mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bob Gill <gillb4@telusplanet.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Compile time error, no vmlinuz (2.6.7-bk2)
Date: Sat, 19 Jun 2004 17:51:35 -0600	[thread overview]
Message-ID: <1087689095.14733.26.camel@localhost.localdomain> (raw)

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


                 reply	other threads:[~2004-06-19 23:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087689095.14733.26.camel@localhost.localdomain \
    --to=gillb4@telusplanet.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®