configure warning on SunOS 4.1.4
Klaus Ziegler - owner of sunfreeware.de
klausz at haus-gisela.de
Mon Feb 1 10:52:35 AEDT 2016
Hi,
I was told to do so by configure of openssh-7.1p2 -:)
...
configure: WARNING: sys/audit.h: present but cannot be compiled
configure: WARNING: sys/audit.h: check for missing prerequisite headers?
configure: WARNING: sys/audit.h: see the Autoconf documentation
configure: WARNING: sys/audit.h: section "Present But Cannot Be
Compiled"
configure: WARNING: sys/audit.h: proceeding with the preprocessor's result
configure: WARNING: sys/audit.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------------------- ##
configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ##
configure: WARNING: ## ------------------------------------------- ##
configure options used:
--sysconfdir=/etc/ssh --libexecdir=/usr/lib/ssh --sbindir=/usr/lib/ssh
--prefix=/usr --with-pid-dir=/var/tmp -with-xauth=/usr/openwin/bin/xauth
--with-mantype=man --with-md5-passwords --with-ssl-engine
--with-default-path=/usr/bin --with-privsep-path=/var/opt/sshd
--with-privsep-user=sshd
environment used:
PATH=/usr/lang:/opt/sfw/bin:/bin:/usr/ucb:/usr/kvm:/usr/etc:/usr/5bin
CFLAGS=-Xa -D__SYS5__ -D__EXTENSIONS__ -xCC -cg92 -fast -nolibmil -xO4
compiler used:
acc -V
acc: SC3.0.1 12/7/95 patch_101913-05
error in config.log:
configure:7525: checking sys/audit.h usability
configure:7542: acc -c -Xa -D__SYS5__ -D__EXTENSIONS__ -xCC -cg92 -fast
-nolibmil -xO4 conftest.c >&5
"/usr/include/sys/audit.h", line 189: syntax error before or at: blabel_t
"/usr/include/sys/audit.h", line 189: cannot recover from previous errors
configure:7548: $? = 10
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "OpenSSH"
...
can be fixed by the following patch to sys/audith.h:
--- audit.h.orig 1994-10-14 20:29:44.000000000 +0100
+++ audit.h 2016-02-01 00:18:49.000000000 +0100
@@ -6,6 +6,9 @@
#ifndef _sys_audit_h
#define _sys_audit_h
+/* This makes the test for audith.h in openssh-7.1p2 happy -:) */
+#include <sys/label.h>
+
/*
* Maximum size for audit data passed from the audit system call
* This value is arbitrary, so offers of better numbers are invited.
let's see how the build goes, when the new openssl has finshed testing
the build went
fine so far - shared library support is still missing - but we'll see -:)
Best Regards
Klaus
--
Tel: (++49 6105) 968846
Klaus Ziegler Mobil: (++49 172) 3064445
Zeppelinstrasse 3 mailto: klausz at haus-gisela.de
D-64546 Walldorf-Moerfelden http://www.haus-gisela.de/~klausz
More information about the openssh-unix-dev
mailing list