Re: Trouble building secilc compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux