Skip to contentSkip to conversation

SELinux compile errors

DISCUSSION Subba Rao 2 participants 2 messages Nov 30, 2002 – Dec 2, 2002 SELinux security module

lore
Share & tools
lore

Subba Rao

author
#0 lore raw

I will first try the SSH without the kerberos option. If it works then I will file a bug report for Slackware.

Thank you.

Subba Rao
[email protected]
2002-11-30

======= At 2002-11-30, 17:58:00 you wrote: =======

Quoted 21 lines · Subba Rao
Quoted 4 lines

/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

That looks like a bug in the string2.h file, but it might be a bug in something else that it depends on.

Does Slackware have a bug tracking system? If so file a bug report about this.

Quoted 9 lines

gcc -g -O2 -Wall -Wpointer-arith

(quoted diff) +0 -8
-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
Quoted 9 lines
Quoted 6 lines

-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
--------------------------------------

Have you tried adding --without-kerberos5 to the ./configure for ssh?

= = = = = = = = = = = = = = = = = = = =

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 2 lines · Subba Rao

I will first try the SSH without the kerberos option. If it works then I will file a bug report for Slackware.

It's not exactly a Slackware problem. They accept the configuration as defined by the person making the submission.

Since you are doing a raw rebuild, you have to specify the "without-kerberos5" and possibly "without-kerberos4" as well.

This is a leftover ? from adding kerberos support to OpenSSH by the OpenSSH project. This was added only within the last 2/3 months, and the people using it/developing it MUST have Kerberos included (Major Shared Resource Center as part of the DoD HPC modernization program - me incuded as a user). I don't know why it is on by default since it is useless without the path to the Kerberos libraries. It may actually be a bug in the "configure" phase and not a bug in the code.

Quoted 35 lines

======= At 2002-11-30, 17:58:00 you wrote: =======

Quoted 23 lines · Subba Rao
Quoted 4 lines

/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

That looks like a bug in the string2.h file, but it might be a bug in something else that it depends on.

Does Slackware have a bug tracking system? If so file a bug report about this.

Quoted 11 lines

gcc -g -O2 -Wall -Wpointer-arith

(quoted diff) +0 -10
-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
Quoted 8 lines
Quoted 6 lines

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
--------------------------------------

Have you tried adding --without-kerberos5 to the ./configure for ssh?

= = = = = = = = = = = = = = = = = = = =

Signature · 10 lines
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.