building libsecure.a advice
I may be missing something but running 'make install' from selinux/module fails (complains about missing asm/flask files.)
Are you saying that doing 'make install' from selinux/module followed by make in selinux/libsecure is sufficient to compile the library (and place the appropriate headers in /usr/local/selinux...)?
Quoted 26 lines
From: Stephen Smalley <[email protected]>
To: "M. H." <[email protected]>
CC: <[email protected]>
Subject: Re: building libsecure.a advice
Date: Wed, 28 Aug 2002 16:11:40 -0400 (EDT)Quoted 1 line · M. H.
Has anyone tried to build JUST libsecure.a. Since SELinux applications
need
Quoted 2 lines
to be linked against it, I want to separate all necessary headers and libraries (seems like libsecure.a is the only one) so I can integrate
them
Quoted 1 line
in my build environment (rather than relying on the default include or
lib
Quoted 2 lines
directories of the system.)
A problem I've run into is finding a simple way of rebuilding thelibrary
Quoted 2 lines
without installing the whole kernel. I tried to run 'make' in the selinux/libsecure directory but that fails since
selinux/libsecure/include
Quoted 3 lines
misses some necessary files (some of those are in lsm-2.4/security/selinux/include.) Has anyone had any luck building ONLY libsecure.a?
Quoted 8 lines
As explained in selinux/README, you need to run 'make install' in selinux/module to install the support files from the SELinux module used to build the remaining components. This doesn't require building the kernel itself.
--
Stephen D. Smalley, NAI Labs
[email protected]
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
--
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.
Quoted 5 lines · M. H.
I may be missing something but running 'make install' from selinux/module fails (complains about missing asm/flask files.)
Are you saying that doing 'make install' from selinux/module followed by make in selinux/libsecure is sufficient to compile the library (and place the appropriate headers in/usr/local/selinux...)?
Good point. The 'make install' in selinux/module expects that the lsm-2.4/include/asm and the lsm-2.4/security/selinux/include/asm symlinks have already been created by the kernel build. I suppose we could have the selinux/module Makefile create the symlinks if they do not exist.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
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.