From: Ryan Senior <slax@ksni.net>
To: Conan Callen <ccallen@windowpane.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: Problem making the kernel w/ the SELinux modules added
Date: Tue, 06 Nov 2001 07:01:48 -0600 [thread overview]
Message-ID: <3BE7DF3C.4FF393A4@ksni.net> (raw)
In-Reply-To: Pine.LNX.4.33.0111052224090.1411-100000@localhost.localdomain
[-- Attachment #1: Type: text/plain, Size: 2018 bytes --]
I had that same problem (with the CPU's) earlier, because the default kernel in Red
Hat 7.1 defaults to PIII, but I have an AMD K62. So when I would attempt to
compile, I would get similar errors to this.
So, I just keep telling it to make over and over, and eventually it finishes
compiling. AMD K62 is specified on the new kernel, so I didn't know what the
problem could be.
/usr/bin/ld: cannot find -lfl
collect2: ld returned 1 exit status
That's the part of the error that tripped me up.
Thanks,
Ryan
Conan Callen wrote:
> 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.
> >
[-- Attachment #2: Type: text/html, Size: 2248 bytes --]
next prev parent reply other threads:[~2001-11-06 12:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-06 1:59 Problem making the kernel w/ the SELinux modules added Ryan Senior
2001-11-06 6:31 ` Conan Callen
2001-11-06 13:01 ` Ryan Senior [this message]
2001-11-06 13:34 ` Stephen Smalley
2001-11-06 13:46 ` Stephen Smalley
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=3BE7DF3C.4FF393A4@ksni.net \
--to=slax@ksni.net \
--cc=ccallen@windowpane.com \
--cc=selinux@tycho.nsa.gov \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.