Compilation error
I tried to compile selinux lsm-2.5 on a system based on linuxfromscratch.org I follow the instruction on the README files, but I get the following errors:
I wonder what is the problem?
/S
make[1]: Entering directory /home/krikeb/lsm-2.5/arch/i386/pci' make[1]: Leaving directory /home/krikeb/lsm-2.5/arch/i386/pci'
Generating build number
make[1]: Entering directory `/home/krikeb/lsm-2.5/init'
Generating /home/krikeb/lsm-2.5/include/linux/compile.hdnsdomainname: Host nam
e lookup failure
(updated)
gcc -Wp,-MD,./.version.o.d -D__KERNEL__ -I/home/krikeb/lsm-2.5/include -Wall -
Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithpre
fix include -DKBUILD_BASENAME=version -c -o version.o version.c
ld -m elf_i386 -r -o init.o main.o version.o do_mounts.o
make[1]: Leaving directory `/home/krikeb/lsm-2.5/init'
ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.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/built-in.o /hom e/krikeb/lsm-2.5/arch/i386/lib/lib.a lib/lib.a /home/krikeb/lsm-2.5/arch/i386/li b/lib.a drivers/built-in.o sound/sound.o arch/i386/pci/pci.o net/network.o --end -group -o vmlinuxsecurity/built-in.o: In function `selopt_init':
security/built-in.o(.text.init+0x186): undefined reference to selopt_cache_exit' security/built-in.o(.text.init+0x18b): undefined reference to selopt_perimtab_e xit'
security/built-in.o(.text.init+0x190): undefined reference to flnetlink_exit' security/built-in.o(.text.init+0x1bd): undefined reference to selopt_queue_exit '
security/built-in.o(.text.init+0x1c2): undefined reference to `selopt_cache_exit '
security/built-in.o(.text.init+0x1c7): undefined reference to `selopt_perimtab_e xit'
security/built-in.o(.text.init+0x1cc): undefined reference to `flnetlink_exit'
make: *** [vmlinux] Error 1
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.