Re: Problem making the kernel w/ the SELinux modules added

From: Conan Callen <ccallen_at_windowpane.com>
Date: Mon, 5 Nov 2001 22:31:32 -0800 (PST)


Ryan,

I got this same error. It happens when linux is compiled for the wrong cpu. The default Processor Type is Pentium III, if you have an older processor then this you need to specify your processor in config.

I had an old pentium, after selecting that (and recompiling) checkpolicy ran without problems.

Conan

> I am running Red Hat 7.1 and am attempting to compile the SELinux
> additions into the kernel, I get the following error message when it
> gets to part of the SELinux section:
>
> make[3]: Entering directory `/usr/src/selinux/module/selinux_plug/ss'
> gcc -o checkpolicy ebitmap.cp.o queue.cp.o hashtab.cp.o symtab.cp.o
> sidtab.cp.o avtab.cp.o policydb.cp.o services.cp.o y.tab.cp.o
> lex.yy.cp.o checkpolicy.cp.o -lfl
> /usr/bin/ld: cannot find -lfl
> collect2: ld returned 1 exit status
> make[3]: *** [checkpolicy] Error 1
> make[3]: Leaving directory `/usr/src/selinux/module/selinux_plug/ss'
> make[2]: *** [_subdir_ss] Error 2
> make[2]: Leaving directory `/usr/src/selinux/module/selinux_plug'
> make[1]: *** [_subdir_selinux_plug] Error 2
> make[1]: Leaving directory `/usr/src/lsm/security'
> make: *** [_dir_security] Error 2
>
> Thanks,
> Ryan
>
>
> --
> You have received this message because you are subscribed to the selinux list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.
>

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Tue 6 Nov 2001 - 02:15:26 EST

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT