[Bug 2402] New: Missing include in kex.h results in compilation error due to unknown type

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri May 22 00:55:17 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2402

            Bug ID: 2402
           Summary: Missing include in kex.h results in compilation error
                    due to unknown type
           Product: Portable OpenSSH
           Version: 6.8p1
          Hardware: Sparc
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Kerberos support
          Assignee: unassigned-bugs at mindrot.org
          Reporter: tomas.kuthan at oracle.com

#include <signal.h> has been removed from kex.h.

On Solaris, this causes a compilation error due to sig_atomic_t type
being undefined.

/usr/gcc/4.7/bin/gcc -m64 -O3  -DSET_USE_PAM -DDEPRECATE_SUNSSH_OPT
-DKRB5_BUILD_FIX -DDTRACE_SFTP -DDISABLE_BANNER -DPAM_ENHANCEMENT
-DPAM_BUGFIX -DOPTION_DEFAULT_VALUE -DWITHOUT_ED25519 -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing
-D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all 
-I. -I/builds2/tkuthan/ul-ssh6_8/components/openssh/openssh-6.8p1 
-I/usr/include/editline   -I/usr/include/kerberosv5 -I/usr/include
-DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/lib/ssh/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c
/builds2/tkuthan/ul-ssh6_8/components/openssh/openssh-6.8p1/gss-genr.c
-o gss-genr.o
In file included from
/builds2/tkuthan/ul-ssh6_8/components/openssh/openssh-6.8p1/gss-genr.c:45:0:
/builds2/tkuthan/ul-ssh6_8/components/openssh/openssh-6.8p1/kex.h:147:2:
error: unknown type name 'sig_atomic_t'
make[1]: *** [gss-genr.o] Error

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list