* Trouble building secilc compiler
@ 2015-07-16 3:54 Dan
2015-07-16 12:53 ` Petr Lautrbach
0 siblings, 1 reply; 2+ messages in thread
From: Dan @ 2015-07-16 3:54 UTC (permalink / raw)
To: selinux
I am having trouble building the secilc compiler. I cloned this repository:
"https://github.com/SELinuxProject/selinux" and when I change into the
directory "secilc", and try to run the "make" command it gives me this
output:
[steve@localhost secilc]$ sudo make
"cc -Wall -Wshadow -Wextra -Wundef -Wmissing-format-attribute
-Wcast-align -Wstrict-prototypes -Wpointer-arith -Wunused -I/usr/include
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o secilc.o secilc.c
secilc.c:30:20: fatal error: stdlib.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'secilc.o' failed
make: *** [secilc.o] Error 1"
I'm not sure what I'm doing wrong, I am just trying to get the compiler
because I have upgraded everything else on my system to selinux
userspace 2.4 from this website below.
"https://fedoraproject.org/wiki/Changes/SELinuxPolicyStoreMigration"
If anyone can help me I would really appreciate it. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Trouble building secilc compiler
2015-07-16 3:54 Trouble building secilc compiler Dan
@ 2015-07-16 12:53 ` Petr Lautrbach
0 siblings, 0 replies; 2+ messages in thread
From: Petr Lautrbach @ 2015-07-16 12:53 UTC (permalink / raw)
To: Dan; +Cc: selinux
On Wed, Jul 15, 2015 at 11:54:16PM -0400, Dan wrote:
> I am having trouble building the secilc compiler. I cloned this repository:
> "https://github.com/SELinuxProject/selinux" and when I change into
> the directory "secilc", and try to run the "make" command it gives
> me this output:
>
>
>
> [steve@localhost secilc]$ sudo make
> "cc -Wall -Wshadow -Wextra -Wundef -Wmissing-format-attribute
> -Wcast-align -Wstrict-prototypes -Wpointer-arith -Wunused
> -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o secilc.o
> secilc.c
> secilc.c:30:20: fatal error: stdlib.h: No such file or directory
> compilation terminated.
> <builtin>: recipe for target 'secilc.o' failed
> make: *** [secilc.o] Error 1"
>
>
> I'm not sure what I'm doing wrong, I am just trying to get the
> compiler because I have upgraded everything else on my system to
> selinux userspace 2.4 from this website below.
I can only guess that you are missing glibc-headers package installed.
>
> "https://fedoraproject.org/wiki/Changes/SELinuxPolicyStoreMigration"
>
>
> If anyone can help me I would really appreciate it. Thanks.
I'm just building secilc package in my plautrba/selinux COPR repository:
https://copr.fedoraproject.org/coprs/plautrba/selinux/builds/
and I'm going to send it to package review process soon.
Petr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-16 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 3:54 Trouble building secilc compiler Dan
2015-07-16 12:53 ` Petr Lautrbach
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.