All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling errors!
@ 2009-07-29 11:05 mina elnino
  2009-07-29 11:57 ` Stephen Smalley
       [not found] ` <CIEOKAFOMGPNJIPMMMAHMELCCBAA.remmolt@zwartsenberg.eu>
  0 siblings, 2 replies; 9+ messages in thread
From: mina elnino @ 2009-07-29 11:05 UTC (permalink / raw)
  To: selinux


[-- Attachment #1.1: Type: text/plain, Size: 445 bytes --]

dear list;
i'd like to make some changes in checkpolicy package according to a project
in my college.
so i clone the git repo and "make install".

$ git clone http://oss.tresys.com/git/selinux.git
$ cd selinux
$ make DESTDIR=~/obj install

but it makes some errors, which i have attached them (in result file).
i have to say that my os is fc11 and i have installed "Development
Libraries".
i'd be appreciated if you could help me.
best regards.

[-- Attachment #1.2: Type: text/html, Size: 588 bytes --]

[-- Attachment #2: result --]
[-- Type: application/octet-stream, Size: 3637 bytes --]

genhomedircon.c:37:18: error: ustr.h: No such file or directory
genhomedircon.c: In function ‘fcontext_matches’:
genhomedircon.c:176: warning: implicit declaration of function ‘ustr_dup_cstr’
genhomedircon.c:176: warning: assignment makes pointer from integer without a cast
genhomedircon.c:177: error: ‘USTR_NULL’ undeclared (first use in this function)
genhomedircon.c:177: error: (Each undeclared identifier is reported only once
genhomedircon.c:177: error: for each function it appears in.)
genhomedircon.c:179: warning: implicit declaration of function ‘ustr_add_cstr’
genhomedircon.c:183: warning: implicit declaration of function ‘ustr_cmp_suffix_cstr_eq’
genhomedircon.c:185: warning: implicit declaration of function ‘ustr_del’
genhomedircon.c:205: warning: implicit declaration of function ‘ustr_cstr’
genhomedircon.c:205: warning: passing argument 2 of ‘regcomp’ makes pointer from integer without a cast
/usr/include/regex.h:556: note: expected ‘const char * __restrict__’ but argument is of type ‘int’
genhomedircon.c:214: warning: implicit declaration of function ‘ustr_free’
genhomedircon.c: At top level:
genhomedircon.c:424: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
genhomedircon.c:445: error: expected ‘)’ before ‘*’ token
genhomedircon.c:461: error: expected declaration specifiers or ‘...’ before ‘Ustr’
genhomedircon.c: In function ‘check_line’:
genhomedircon.c:467: warning: implicit declaration of function ‘extract_context’
genhomedircon.c:467: error: ‘line’ undeclared (first use in this function)
genhomedircon.c:467: warning: assignment makes pointer from integer without a cast
genhomedircon.c: In function ‘write_home_dir_context’:
genhomedircon.c:495: error: ‘Ustr’ undeclared (first use in this function)
genhomedircon.c:495: error: ‘line’ undeclared (first use in this function)
genhomedircon.c:495: error: ‘USTR_NULL’ undeclared (first use in this function)
genhomedircon.c:501: warning: implicit declaration of function ‘replace_all’
genhomedircon.c:504: error: too many arguments to function ‘check_line’
genhomedircon.c:505: warning: implicit declaration of function ‘ustr_io_putfileline’
genhomedircon.c:508: warning: implicit declaration of function ‘ustr_sc_free’
genhomedircon.c: In function ‘write_home_root_context’:
genhomedircon.c:524: error: ‘Ustr’ undeclared (first use in this function)
genhomedircon.c:524: error: ‘line’ undeclared (first use in this function)
genhomedircon.c:524: error: ‘USTR_NULL’ undeclared (first use in this function)
genhomedircon.c:530: error: too many arguments to function ‘check_line’
genhomedircon.c: In function ‘write_user_context’:
genhomedircon.c:553: error: ‘Ustr’ undeclared (first use in this function)
genhomedircon.c:553: error: ‘line’ undeclared (first use in this function)
genhomedircon.c:553: error: ‘USTR_NULL’ undeclared (first use in this function)
genhomedircon.c:559: error: too many arguments to function ‘check_line’
genhomedircon.c: In function ‘write_context_file’:
genhomedircon.c:893: error: ‘Ustr’ undeclared (first use in this function)
genhomedircon.c:893: error: ‘temp’ undeclared (first use in this function)
genhomedircon.c:905: warning: passing argument 6 of ‘write_home_dir_context’ makes pointer from integer without a cast
genhomedircon.c:484: note: expected ‘const char *’ but argument is of type ‘int’
make[2]: *** [genhomedircon.o] Error 1
make[1]: *** [install] Error 2
make: *** [install] Error 1

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

end of thread, other threads:[~2009-08-03 14:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 11:05 compiling errors! mina elnino
2009-07-29 11:57 ` Stephen Smalley
     [not found] ` <CIEOKAFOMGPNJIPMMMAHMELCCBAA.remmolt@zwartsenberg.eu>
     [not found]   ` <f7d5075c0907290626t1c772fd3l9f60c7a710c6152@mail.gmail.com>
     [not found]     ` <f7d5075c0907290704x9b2b426sb6c3bb928a11a98b@mail.gmail.com>
     [not found]       ` <1248882850.11627.64.camel@moss-pluto.epoch.ncsc.mil>
2009-07-30  5:21         ` mina elnino
2009-07-30  9:31           ` {Spam?} C Code Compilation Errors Remmolt G. Zwartsenberg
2009-07-30 12:22           ` compiling errors! Stephen Smalley
2009-07-30 13:32             ` mina elnino
2009-07-30 14:42               ` mina elnino
2009-08-03 14:19                 ` Justin P. Mattock
2009-07-30 20:00               ` Stephen Smalley

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.