Research
Skip Research Menus
Research MenuSecurity Enhanced Linux What's New Frequently Asked Questions Background Documents License Download Participating Mail List Archives Remaining Work Contributors Related Work Press Releases Information Assurance Research NIARL In-house Research Areas Mathematical Sciences Program Sabbaticals Computer & Information Sciences Research Technology Transfer Advanced Computing Advanced Mathematics Communications & Networking Information Processing Microelectronics Other Technologies Technology Fact Sheets Publications Related Links |
SELinux Mailing ListRe: Undefined refs in compile attempt
From: Dale Amon <amon_at_vnl.com>
Date: Fri, 14 Dec 2001 01:32:03 +0000
First, I took the newest version as Dr. Smalley suggested and applied his two patches. I also applied the patch from Andrew Morton on LKML to try to fix the problem that has shown up because of the new, more restrictive binutils. That failed. I believe the problem might be that there are occurences of the problem that are in the lsm patch or the selinux patches as it has to do with module exit code I believe. My second choice was to backoff to an older binutils and do the ld using that.
533 tar zxf 2001121010-SELINUX/lsm-selinux-2001121010.tgz
537 cd selinux/
550 cd ../selinux/module/
558 cp -a ../20011213-collective.config .config
559 make oldconfig
Downgrade to binutils_2.11.92.0.7-2_i386.deb
562 make dep
Now since I am not building for this machine, I move everything to a target "root" which I'll later tar up and copy over to the test machine: 571 cp -a System.map ../Selinux/boot/System.map-2.4.16-lsm 572 cp -a arch/i386/boot/bzImage ../Selinux/boot/vmlinuz-2.4.16-lsm 574 make INSTALL_MOD_PATH=/usr/src/Selinux/ modules_install Since selinux doesn't have this feature, I edited the makefile and added it. After I'm done I'd be happy to supply any patchfiles I create in the process. 577 cd ../selinux/module Patch Makefile to have ROOT variable 587 make ROOT=/usr/src/Selinux/usr/local install At this point I'm not yet clear whether I can continue on the kernel factory or have to complete the commands in the README over on the target machine. I'm hoping not as it would be terribly awkward if I have to move the source tree across just to finish. So, I'm on to the next RTFM and RTFC step.
-- Nuke bin Laden: Dale Amon, CEO/MD improve the global Islandone Society gene pool. www.islandone.org
-- |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |