Compilation of openssh-3.6.1p2 on hpux-10.20 stops with .. (cd openbsd-compat && make) gcc -O2 -mpa-risc-2-0 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/opt/openssl/include -I ./INCLUDES -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from ../openbsd-compat/openbsd-compat.h:35, from ../includes.h:167, from bsd-arc4random.c:25: ../openbsd-compat/bsd-misc.h:72: conflicting types for `utimes' /usr/include/sys/time.h:504: previous declaration of `utimes' Unfortunately sys/time.h is included in several other header files too. -- Klaus
Klaus Dittrich wrote:> Compilation of openssh-3.6.1p2 on hpux-10.20 stops with ..[snip]> ../openbsd-compat/bsd-misc.h:72: conflicting types for `utimes' > /usr/include/sys/time.h:504: previous declaration of `utimes'This is a known problem. Apparently newer autoconf's generate a test that doesn not detect utimes on HP-UX. Quick fix: add "#define HAVE_UTIMES 1" to config.h and recompile. See http://bugzilla.mindrot.org/show_bug.cgi?id=553 -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.