openssh-SNAP-20150224, Solaris 10, GCC
Configure command line:
./configure CC=gcc --prefix=/opt/local --sysconfdir=/etc/ssh
--with-prngd-socket=/var/run/egd-pool --with-zlib=/opt/local --with-rpath
Have to manually edit 'config.h':
diff config.h.orig config.h
783c783
< #define HAVE_MKDTEMP 1
---
/* #undef HAVE_MKDTEMP */
as Solaris does not have 'mkdtemp'.
Compile fails at:
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv
-fno-builtin-memset -I. -I. -I/opt/local/include -DSSHDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/opt/local/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/local/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/opt/local/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/opt/local/libexec/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/opt/local/libexec/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DHAVE_CONFIG_H -c canohost.c -o canohost.o
In file included from packet.h:45,
from canohost.c:33:
dispatch.h:46: warning: type defaults to `int' in declaration of
`sig_atomic_t'
dispatch.h:46: error: syntax error before '*' token
dispatch.h:47: warning: type defaults to `int' in declaration of
`sig_atomic_t'
dispatch.h:47: error: syntax error before '*' token
make: *** [canohost.o] Error 1
Mike
--
Mike Peterson Information Security Analyst - Audit
E-mail: mikep@xxxxxxxxxxxxxxx WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230 Fax: 416-978-6620
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev