All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kerry Thompson <kerry@crypt.gen.nz>
To: "Subba Rao" <sailorn@attglobal.net>, selinux <selinux@tycho.nsa.gov>
Subject: Re: SELinux compile errors
Date: Mon, 18 Nov 2002 11:04:30 +1300	[thread overview]
Message-ID: <200211181104.30566.kerry@crypt.gen.nz> (raw)
In-Reply-To: <200211161559.PAA06301@jazzband.ncsc.mil>

The same problem was raised a few weeks ago, it comes from ip_warn() in 
selopt_core.c having two arguments, while the macro definition in selopt.h 
has 3 arguments. Namely :



Can you please identify which GCC compiler you're using ( 'gcc --version' ) ?

Kerry


On Sun, 17 Nov 2002 04:58, Subba Rao wrote:
> Hi
>
> I am trying to compile SELinux on Slackware 8.1
> The LSM tree is LSM-2.4-selinux-2002102211.tgz.  I have downloaded the
> complete source tree.
>
> Towards the end of the kernel compilation I got the following error
> messages:
>
> ===========================================================
> make[3]: Entering directory `/usr/src/lsm-2.4/security/selinux/flask'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/usr/src/lsm-2.4/security/selinux/flask'
> make -C selopt
> make[3]: Entering directory `/usr/src/lsm-2.4/security/selinux/selopt'
> gcc -D__KERNEL__ -I/usr/src/lsm-2.4/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-commo -fomit-frame-pointer
> -pipe -mpreferred-stack-boundary=2 -march=k6    -I../include -I.. -nostdinc
> -I /usr/lib/gcc-lib/i3 6-slackware-linux/2.95.3/include
> -DKBUILD_BASENAME=selopt_core  -c -o selopt_core.o selopt_core.c
> selopt_core.c: In function `selopt_ip_label_output':
> selopt_core.c:299: parse error before `)'
> selopt_core.c: In function `selopt_ip_map_input':
> selopt_core.c:355: parse error before `)'
> selopt_core.c:363: parse error before `)'
> selopt_core.c: In function `selopt_ip_defragment':
> selopt_core.c:549: parse error before `)'
> make[3]: *** [selopt_core.o] Error 1
> make[3]: Leaving directory `/usr/src/lsm-2.4/security/selinux/selopt'
> make[2]: *** [_subdir_selopt] Error 2
> make[2]: Leaving directory `/usr/src/lsm-2.4/security/selinux'
> make[1]: *** [_subdir_selinux] Error 2
> make[1]: Leaving directory `/usr/src/lsm-2.4/security'
> make: *** [_dir_security] Error 2
> ===========================================================
>
> Did anyone here on the list compile SELinux on Slackware 8.x successfully?
>
> Subba Rao
> sailorn@attglobal.net
> 2002-11-16


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

  reply	other threads:[~2002-11-17 22:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-16 15:58 SELinux compile errors Subba Rao
2002-11-17 22:04 ` Kerry Thompson [this message]
2002-11-17 22:37 ` Kerry Thompson
  -- strict thread matches above, loose matches on Subject: below --
2002-11-29 21:21 Subba Rao
2002-11-30 14:53 ` Russell Coker
2002-11-30 17:03 Subba Rao
2002-12-02 14:04 ` Jesse Pollard
2002-12-02 16:27 Stephen D. 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=200211181104.30566.kerry@crypt.gen.nz \
    --to=kerry@crypt.gen.nz \
    --cc=sailorn@attglobal.net \
    --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.