Skip to contentSkip to conversation

kernel compile failure

DISCUSSION Christopher J. PeBenito 1 participant 1 message Mar 27, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I patched a stock 2.4.20 kernel with the 2003011510 lsm and selinux patches from the NSA site. The compile fails right at the end with a linker error (.config attached):

make[1]: Leaving directory `/usr/src/linux-2.4.20-selinux-r2/net' ld -m elf_i386 -T /usr/src/linux-2.4.20-selinux-r2/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o

init/main.o init/version.o init/do_mounts.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o

mm/mm.o fs/fs.o ipc/ipc.o security/vmlinux-obj.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/pnp/pnp.o

drivers/video/video.o \
        net/network.o \
        /usr/src/linux-2.4.20-selinux-r2/arch/i386/lib/lib.a
/usr/src/linux-2.4.20-selinux-r2/lib/lib.a
/usr/src/linux-2.4.20-selinux-r2/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux

kernel/kernel.o(.text+0xbf34): In function `sys_acct':
: undefined reference to `security_acct'
make: *** [vmlinux] Error 1

This config has worked on previous revisions of the patches. Ideas?

Signature · 1 line
Christopher J. PeBenito <[email protected]>