SELinux compile errors
Russ,
--------------------------------------/usr/include/bits/string2.h:446: warning: pointer of type `void *' used in arithmetic/usr/include/bits/string2.h:448: warning: pointer of type `void *' used in arithmetic/usr/include/bits/string2.h:453: warning: pointer of type `void *' used in arithmetic
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -DWITH_SELINUX -I/usr/local/selinux/include -I. -I. -I/usr/kerberos/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/openssh/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/libexec/openssh/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/libexec/openssh/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/libexec/openssh/ssh-rand-helper\" -DHAVE_CONFIG_H -c monitor_wrap.c In file included from monitor_wrap.c:36:
auth.h:42: krb5.h: No such file or directory
make[1]: *** [monitor_wrap.o] Error 1
make[1]: Leaving directory `/usr/src/selinux/utils/openssh-3.4p1'
make: *** [xopenssh] Error 2
--------------------------------------
The above messages are the tail end of "make" in the "utils" directory.
I have added compressed error log during compilation for the utils directory. It will list all the warning messages I was seeing yesterday.
If it is too much of a work around for now, I will switch to other distros. I would like to know what is incomplete (as far as the libraries are concerned) in Slackware to support SELinux.
Thank you.
Subba Rao
[email protected]
2002-11-30
======= At 2002-11-30, 15:53:00 you wrote: =======
Quoted 20 lines · Subba Rao
Quoted 14 lines
This is where I have stopped since I get the following error message:
--------------------------------------
make -C newrole
make[1]: Entering directory `/usr/src/selinux/utils/newrole' cc -L/usr/local/selinux/lib -Wall -I/usr/local/selinux/include -DUSE_PAM -O3 -o newrolenewrole.c-ldl -lpam -lpam_misc -lsecure newrole.c:132:security/pam_appl.h: No such file or directory newrole.c:133:security/pam_misc.h: No such file or directory make[1]: *** [newrole] Error 1
make[1]: Leaving directory `/usr/src/selinux/utils/newrole'
make: *** [xnewrole] Error 2
--------------------------------------Quoted 4 lines
It looks like it is looking for PAM library.
Can someone please let me know how to get over this error. Yesterday after I installed PAM, this message went away, but then I was prompted for
Quoted 9 lines
You need PAM support and therefore you need the PAM header files and libraries installed.
Quoted 3 lines
Kerberos and later for BSD library. Russell did mention that there is no need for Kerberos, so this time I am stopping before having to install PAM.
I am using Slackware 8.1 distro.Install PAM, then show us the error messages.
= = = = = = = = = = = = = = = = = = = =