All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshua Brindle" <JBrindle@snu.edu>
To: <russell@coker.com.au>, <bam@snoopy.apana.org.au>,
	<selinux@tycho.nsa.gov>, <jabiru_croc@yahoo.com>
Subject: Re: SELinux distro building
Date: Wed, 20 Nov 2002 14:54:18 -0600	[thread overview]
Message-ID: <sddba22a.030@atlas.snu.edu> (raw)

much closer
i used --with-lsm=/usr/src/linux-2.4.19-selinux because it was looking
in ../../.. for lsm-2.4, instead of just ../ (i dunno)
anyway, it compiled almost everything then i got this error
(if you prefer i can pipe the entire compile to a file and attach..
Thanks


rm -f libsecure.a
ar cru libsecure.a accept_secure.o avc_enforcing.o avc_toggle.o chsid.o
chsidfs.o connect_secure.o context.o execle_secure.o execlp_secure.o
execl_secure.o execve_secure.o execvp_secure.o execv_secure.o fchsid.o
fchsidfs.o fstatfs_secure.o fstat_secure.o get_default_type.o
getosecsid.o getpeername_secure.o getsecsid.o get_sid_list.o
getsockname_secure.o get_user_sid.o helpers.o ichsid.o lchsid.o
listen_secure.o lstat_secure.o mkdir_secure.o mknod_secure.o
msgget_secure.o msgrcv_secure.o msgsid.o msgsnd_secure.o open_secure.o
popen_secure.o query_user_sid.o recvfrom_secure.o recvmsg_secure.o
security.o security_change_sid.o security_compute_av.o
security_context_to_sid.o security_get_sids.o security_get_user_sids.o
security_load_policy.o security_member_sid.o security_mls.o
security_notify_perm.o security_sid_to_context.o
security_transition_sid.o semget_secure.o semsid.o sendmsg_secure.o
sendto_secure.o shmget_secure.o shmsid.o socket_secure.o statfs_secure.o
stat_secure.o symlink_secure.o 
ranlib libsecure.a
make[3]: Leaving directory
`/root/selinux-new/selinux-small-2002102211/libsecure/src'
Making all in test
make[3]: Entering directory
`/root/selinux-new/selinux-small-2002102211/libsecure/test'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsecure/include  -Wall 
-g -O2 -c avc_enforcing.c
avc_enforcing.c: In function `main':
avc_enforcing.c:8: warning: implicit declaration of function `printf'
avc_enforcing.c:12: warning: implicit declaration of function
`avc_enforcing'
avc_enforcing.c:21: warning: implicit declaration of function `perror'
/bin/sh ../../libtool --mode=link gcc  -g -O2  -o avc_enforcing 
avc_enforcing.o  ../../libsecure/src/libsecure.a 
mkdir .libs
gcc -g -O2 -o avc_enforcing avc_enforcing.o 
../../libsecure/src/libsecure.a
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsecure/include  -Wall 
-g -O2 -c avc_toggle.c
avc_toggle.c: In function `main':
avc_toggle.c:8: warning: implicit declaration of function `printf'
avc_toggle.c:12: warning: implicit declaration of function
`avc_toggle'
avc_toggle.c:21: warning: implicit declaration of function `perror'
/bin/sh ../../libtool --mode=link gcc  -g -O2  -o avc_toggle 
avc_toggle.o  ../../libsecure/src/libsecure.a 
gcc -g -O2 -o avc_toggle avc_toggle.o  ../../libsecure/src/libsecure.a
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsecure/include  -Wall 
-g -O2 -c chsid.c
In file included from chsid.c:1:
../../libsecure/include/fs_secure.h:9:31: linux/flask/flask.h: No such
file or directory
In file included from chsid.c:1:
../../libsecure/include/fs_secure.h:14: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:18: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:23: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:27: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:30: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:34: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:37: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:40: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:43: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:47: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:53: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:56: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:59: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:90: parse error before
"security_id_t"
../../libsecure/include/fs_secure.h:94: parse error before
"security_id_t"
In file included from chsid.c:2:
../../libsecure/include/ss.h:4:34: linux/flask/syscalls.h: No such file
or directory
../../libsecure/include/ss.h:5:31: linux/flask/flask.h: No such file or
directory
In file included from chsid.c:2:
../../libsecure/include/ss.h:16: warning: `struct security_response'
declared inside parameter list
../../libsecure/include/ss.h:16: warning: its scope is only this
definition or declaration, which is probably not what you want
../../libsecure/include/ss.h:16: warning: `struct security_query'
declared inside parameter list
../../libsecure/include/ss.h:18: parse error before "ssid"
../../libsecure/include/ss.h:23: parse error before "ssid"
../../libsecure/include/ss.h:28: parse error before "ssid"
../../libsecure/include/ss.h:33: parse error before "ssid"
../../libsecure/include/ss.h:38: parse error before "sid"
../../libsecure/include/ss.h:42: warning: type defaults to `int' in
declaration of `security_context_t'
../../libsecure/include/ss.h:42: parse error before "scontext"
../../libsecure/include/ss.h:47: parse error before "__u32"
../../libsecure/include/ss.h:49: parse error before '*' token
../../libsecure/include/ss.h:52: parse error before "fromsid"
../../libsecure/include/ss.h:64: parse error before
"string_to_security_class"
../../libsecure/include/ss.h:64: warning: type defaults to `int' in
declaration of `string_to_security_class'
../../libsecure/include/ss.h:64: warning: data definition has no type
or storage class
../../libsecure/include/ss.h:66: parse error before "tclass"
chsid.c: In function `main':
chsid.c:7: `security_id_t' undeclared (first use in this function)
chsid.c:7: (Each undeclared identifier is reported only once
chsid.c:7: for each function it appears in.)
chsid.c:7: parse error before "sid"
chsid.c:11: warning: implicit declaration of function `printf'
chsid.c:15: `sid' undeclared (first use in this function)
chsid.c:17: warning: implicit declaration of function `strlen'
chsid.c:20: warning: implicit declaration of function `perror'
make[3]: *** [chsid.o] Error 1
make[3]: Leaving directory
`/root/selinux-new/selinux-small-2002102211/libsecure/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/selinux-new/selinux-small-2002102211/libsecure'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/selinux-new/selinux-small-2002102211'
make: *** [all-recursive-am] Error 2

>>> Brian May <bam@snoopy.apana.org.au> 11/19/02 07:37PM >>>
On Wed, Nov 13, 2002 at 07:29:03PM +1100, Brian May wrote:

I have updated this file:

>
<URL:http://www.microcomaustralia.com.au/debian/selinux-small-2002102211.tar.gz>

It should now be able to include the LSM include files correctly.

Also, the configure script will now do a simple check to ensure that
the
LSM directory given is correct.
--
Brian May <bam@snoopy.apana.org.au>

--
This message was distributed to subscribers of the selinux mailing
list.
If you no longer wish to subscribe, send mail to
majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2002-11-20 20:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20 20:54 Joshua Brindle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-23 17:36 SELinux distro building Joshua Brindle
     [not found] <sddba22a.029@atlas.snu.edu>
2002-11-20 22:48 ` Brian May
2002-11-13  3:42 Joshua Brindle
2002-11-12 21:35 Joshua Brindle
2002-11-13  0:50 ` Brad Chapman
2002-11-13  1:31   ` Brian May
2002-11-13  8:29     ` Brian May
2002-11-19  4:12       ` Brian May
2002-11-20  1:37       ` Brian May
2002-11-12 16:50 Joshua Brindle
2002-11-12 18:45 ` Russell Coker
2002-11-11 22:01 Joshua Brindle
2002-11-11 16:53 Joshua Brindle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sddba22a.030@atlas.snu.edu \
    --to=jbrindle@snu.edu \
    --cc=bam@snoopy.apana.org.au \
    --cc=jabiru_croc@yahoo.com \
    --cc=russell@coker.com.au \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.