#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
Created attachment 2625 [details] Simple patch reverting removal of the include statement.
Created attachment 2626 [details] including signal.h in gss-genr.c For the most part we are trying to have things included in the source file where it's needed rather than have headers include other headers. Does this fix it?
Yes, that works fine too. (That, plus fixing GSS-API key exchange sources, but that is a different story.) Thanks.
thanks. patch applied and will be in the 6.9p1 release.
Great! Thank you.
Close all resolved bugs after 7.3p1 release