Skip to contentSkip to conversation

Problems compiling selinux in Mandrake 8.1

DISCUSSION [email protected] 2 participants 2 messages Sep 24, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi,

After giving up compiling selinux on SuSe 7.2 cause LIDS didn't work I am now
trying to compile selinux on Mandrake 8.1, and got the following mesage:

/usr/src/lsm-2.4/arch/i386/lib/lib.a /usr/src/lsm-2.4/lib/lib.a

/usr/src/lsm-2.4/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux

security/vmlinux-obj.o: In function `selopt_init':
security/vmlinux-obj.o(.text.init+0x1af): undefined reference to selopt_queue_exit' security/vmlinux-obj.o(.text.init+0x1b4): undefined reference to selopt_cache_exit' security/vmlinux-obj.o(.text.init+0x1b9): undefined reference to `selopt_perimtab_exit'
security/vmlinux-obj.o(.text.init+0x1be): undefined reference to `flnetlink_exit'
make: *** [vmlinux] Error 1

Any idea about the problem?

Thanks,

azeredo

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

--
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.

#1 lore raw
Quoted 1 line · On Tue, 24 Sep 2002 [email protected] wrote:

After giving up compiling selinux on SuSe 7.2 cause LIDS didn't work

Sorry, I don't understand. LIDS and SELinux are two different security modules, and you can't use them together without some kind of stacking module. So why would you enable LIDS? In any event, people on the list have previously reported using SELinux on SuSe, so that should be possible.

Quoted 2 lines

I am now trying to compile selinux on Mandrake 8.1, and got the following mesage:

Are you using the current release of SELinux (2002082308) from the NSA web site (http://www.nsa.gov/selinux)? If not, what are you using?

Quoted 7 lines

security/vmlinux-obj.o: In function `selopt_init':
security/vmlinux-obj.o(.text.init+0x1af): undefined reference to selopt_queue_exit' security/vmlinux-obj.o(.text.init+0x1b4): undefined reference to selopt_cache_exit' security/vmlinux-obj.o(.text.init+0x1b9): undefined reference to `selopt_perimtab_exit'
security/vmlinux-obj.o(.text.init+0x1be): undefined reference to `flnetlink_exit'
make: *** [vmlinux] Error 1

What is your .config? In particular, is NetFilter enabled and which SELinux options did you enable?

--
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.