![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries? | f.ben.isaac | High Level Programming | 12 | 11-14-2008 11:25 AM |
| C/C++ compiler ver 6 on AIX 5.3 - errors | satguyz | AIX | 2 | 04-01-2006 01:17 AM |
| fedora core 2 selinux problem | the.last.soul | Linux | 1 | 07-08-2005 02:54 PM |
| SElinux | moxxx68 | UNIX for Advanced & Expert Users | 1 | 04-14-2005 08:56 PM |
| gcc Compiler Switches: giving Illogical Errors | Ahsan | High Level Programming | 1 | 08-25-2003 10:49 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
SELinux policy compiler errors for 2.6.26.8.tex1
Hello all!
I am trying to enable SELinux on bootup for my supported kernel 2.6.26.8.tex1 I am running PCLinuxOS 2009 Beta 2 which is based on Mandriva/Mandrake From my reading, I know that I am able to set SELinux to boot (preferably in passive mode) however this would still 'change' my files; therefore I would need to run the utility/command: "setfiles" setfiles _____________________________________________ The problem I am having relates to the supporting files needed to run the application effectively. For my linux distribution, the config/info file is located here: /usr/src/linux-2.6.26.8.tex1/security/selinux/Kconfig It states: Quote:
Download stable SELinux release, I then try to compile but receive numerous errors such as this example for the checkpolicy package (which contains the setfiles) command Code:
[root@localhost checkpolicy-1.34.7]# make -f Makefile cc -g -Wall -Werror -O2 -pipe -fno-strict-aliasing -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c checkpolicy.c:73:37: error: sepol/policydb/policydb.h: No such file or directory checkpolicy.c:74:37: error: sepol/policydb/services.h: No such file or directory checkpolicy.c:75:40: error: sepol/policydb/conditional.h: No such file or directory checkpolicy.c:76:38: error: sepol/policydb/hierarchy.h: No such file or directory checkpolicy.c:77:34: error: sepol/policydb/flask.h: No such file or directory checkpolicy.c:78:35: error: sepol/policydb/expand.h: No such file or directory checkpolicy.c:79:33: error: sepol/policydb/link.h: No such file or directory In file included from checkpolicy.c:82: checkpolicy.h:4:36: error: sepol/policydb/ebitmap.h: No such file or directory In file included from checkpolicy.c:82: checkpolicy.h:7: error: expected specifier-qualifier-list before ‘ebitmap_t’ In file included from checkpolicy.c:83: parse_util.h:33: error: expected ‘)’ before ‘*’ token ... checkpolicy.c:1011: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ checkpolicy.c:1019: warning: implicit declaration of function ‘strcpy’ checkpolicy.c:1019: warning: incompatible implicit declaration of built-in function ‘strcpy’ checkpolicy.c:1022: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ checkpolicy.c:392: warning: unused variable ‘pf’ checkpolicy.c:376: warning: unused variable ‘avd’ make: *** [checkpolicy.o] Error 1 _________________________________________ At this point, I am seriously considering just building the kernel from scratch but my question is, if i am to do this, how difficult would it be to 'copy' the final working settings from this configuration into my boot sequence for my present distribution? Would this be unnecessarily messy? Any other suggestions? ![]() mouse |
|
|||||
|
Thanks for the heads up otheus.
i'm just going to go ahead and learn some C. I figure it can't hurt me to learn at least enough to fix syntatical errors and the like when compiling new programs. But I also read Neo's post from a previous thread and my interest was piqued... Which Unix Certification is the most needed these days? Quote:
Maybe this will be part of my new year's resolution : ) |
| Sponsored Links | ||
|
|