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

From: Stephen Smalley <sds_at_tislabs.com>
Date: Tue, 6 Nov 2001 08:46:11 -0500 (EST)

On Mon, 5 Nov 2001, Ryan Senior wrote:

> 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

By the way, the error that you are encountering is during the linking of the checkpolicy program. checkpolicy is a separate userspace program that draws heavily from the security server sources (plus the policy scanner and parser). In the current release (and older releases), it lives in the security server directory and is compiled during the kernel build, but it has now been separated out in our internal tree and will be built separately in future releases.

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com





--
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 - 09:00:31 EST

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