All of lore.kernel.org
 help / color / mirror / Atom feed
* problem about making selinux userspace
@ 2014-09-23  1:39 kuangjiou
  2014-09-24  1:08 ` Rongqing Li
  0 siblings, 1 reply; 2+ messages in thread
From: kuangjiou @ 2014-09-23  1:39 UTC (permalink / raw)
  To: selinux@tycho.nsa.gov

[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4957 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem about making selinux userspace
  2014-09-23  1:39 problem about making selinux userspace kuangjiou
@ 2014-09-24  1:08 ` Rongqing Li
  0 siblings, 0 replies; 2+ messages in thread
From: Rongqing Li @ 2014-09-24  1:08 UTC (permalink / raw)
  To: kuangjiou; +Cc: selinux@tycho.nsa.gov

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-24  1:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23  1:39 problem about making selinux userspace kuangjiou
2014-09-24  1:08 ` Rongqing Li

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.