All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rongqing Li <rongqing.li@windriver.com>
To: kuangjiou <kuangjiou@huawei.com>
Cc: "selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: Re: problem about making selinux userspace
Date: Wed, 24 Sep 2014 09:08:44 +0800	[thread overview]
Message-ID: <5422199C.1000903@windriver.com> (raw)
In-Reply-To: <60ABE64B4BE4AC45964F1A967BA76CB2BBCF4F@SZXEML507-MBX.china.huawei.com>

your gcc is too old, it does not support these options.

-Roy

On 09/23/2014 09:39 AM, kuangjiou wrote:
> i have some problems when make selinux userspace (version:
> selinux-20140826-rc1) in 64-bit sles 11 sp1(the version of kernel is
> 2.6.32).
>
> I get the error messeges below when I run " make LIBDIR=/usr/lib64
> SHLIBDIR=/lib64 install install-pywrap relabel "
>
> can anyone help out with this problem? thanks!
>
> cc1: error: unrecognized command line option "-Wbuiltin-macro-redefined"
>
> cc1: error: unrecognized command line option "-Wmudflap"
>
> cc1: error: unrecognized command line option "-Wpacked-bitfield-compat"
>
> cc1: error: unrecognized command line option "-Wsync-nand"
>
> cc1: error: unrecognized command line option "-Wcpp"
>
> cc1: error: unrecognized command line option "-Wdouble-promotion"
>
> cc1: error: unrecognized command line option "-Wsuggest-attribute=const"
>
> cc1: error: unrecognized command line option "-Wsuggest-attribute=noreturn"
>
> cc1: error: unrecognized command line option "-Wsuggest-attribute=pure"
>
> cc1: error: unrecognized command line option "-Wtrampolines"
>
> cc1: error: unrecognized command line option "-Wjump-misses-init"
>
> cc1: error: unrecognized command line option "-Wframe-larger-than=32768"
>
> cc1: error: unrecognized command line option "-Wno-suggest-attribute=pure"
>
> cc1: error: unrecognized command line option "-Wno-suggest-attribute=const"
>
> make[2]: *** [avc.o] Error 1
>
> make[2]: Leaving directory `/home/selinux-20140826-rc1/libselinux/src'
>
> make[1]: *** [install-pywrap] Error 2
>
> make[1]: Leaving directory `/home/selinux-20140826-rc1/libselinux'
>
> make: *** [install-pywrap] Error 1
>
>
>
> _______________________________________________
> Selinux mailing list
> Selinux@tycho.nsa.gov
> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
> To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.
>

-- 
Best Reagrds,
Roy | RongQing Li

      reply	other threads:[~2014-09-24  1:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  1:39 problem about making selinux userspace kuangjiou
2014-09-24  1:08 ` Rongqing Li [this message]

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=5422199C.1000903@windriver.com \
    --to=rongqing.li@windriver.com \
    --cc=kuangjiou@huawei.com \
    --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.