From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zombie.ncsc.mil (zombie.ncsc.mil [144.51.88.131]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id i62AmCrT012641 for ; Fri, 2 Jul 2004 06:48:12 -0400 (EDT) Received: from flame.hosts.ndo.com (jazzdrum.ncsc.mil [144.51.5.7]) by zombie.ncsc.mil (8.12.10/8.12.10) with ESMTP id i62AmASO026521 for ; Fri, 2 Jul 2004 10:48:11 GMT Date: Fri, 2 Jul 2004 09:25:26 +0000 From: Luke Kenneth Casson Leighton To: Jan Gehring , selinux@tycho.nsa.gov Subject: Re: Compiling error - sysvinit Message-ID: <20040702092526.GD3277@lkcl.net> References: <20040702134850.353b2f51.pr0gm4@linoratix.com> <20040702071544.GA3277@lkcl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20040702071544.GA3277@lkcl.net> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Fri, Jul 02, 2004 at 07:15:44AM +0000, Luke Kenneth Casson Leighton wrote: > jan, hi, > > under what system are you doing the compiling, if debian, > have you done apt-get build-dep sysvinit? *thinks*... grep SELINUXMNT /usr/include/selinux/* /usr/include/selinux/selinux.h:#define SELINUXMNT "/selinux/" jan, you will need to install the package libselinux1-dev (if debian) or equivalent for whatever-system-you-have. the header file that you need is in that package. l. > On Fri, Jul 02, 2004 at 01:48:50PM +0200, Jan Gehring wrote: > > Hello ml, > > > > i tried to compile sysvinit-2.85 but i get the following error. > > > > root@maracuja src # make LDFLAGS="-s -lselinux" CFLAGS="-D_GNU_SOURCE" > > cc -c -D_GNU_SOURCE -DWITH_SELINUX init.c > > [...] > > init.c:97: error: `SELINUXMNT' undeclared (first use in this function) > > [...] > > init.c:123: error: `SELINUXPOLICY' undeclared (first use in this function) > > make: *** [init.o] Error 1 > > > > > > What am i doing wrong? > > > > Thanks for any help > > > > Jan > > > > > > -- > > This message was distributed to subscribers of the selinux mailing 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. > > -- > -- > Information I post is with honesty, integrity, and the expectation that > you will take full responsibility if acting on the information contained, > and that, should you find it to be flawed or even mildly useful, you > will act with both honesty and integrity in return - and tell me. > -- > lkcl.net
> lkcl@lkcl.net
> > > -- > This message was distributed to subscribers of the selinux mailing 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. -- -- Information I post is with honesty, integrity, and the expectation that you will take full responsibility if acting on the information contained, and that, should you find it to be flawed or even mildly useful, you will act with both honesty and integrity in return - and tell me. -- lkcl.net
lkcl@lkcl.net
-- This message was distributed to subscribers of the selinux mailing 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.