compille errors on AIX 5.1ML04 and AIX 4.3.3ML10

Ramses Smeyers ramses at smeyers.be
Fri Sep 19 00:29:35 EST 2003


Hi,

OpenSSH 3.7.1p1 doesn't compille on AIX 4.3.3 ml09 and AIX 5.1.0 ml04

previous versions worked fine
gcc used:   gcc-2.9.aix51.020209-3

configure:
./configure --with-default-path=/usr/local/bin:/usr/bin:/bin
--sysconfdir=/etc/openssh --with-pid-dir=/etc/openssh --
with-xauth=/usr/bin/X11/xauth --prefix=/usr/local

I applied the following patch

[root at bedsd188:/home/root/build/openssh] cat aix.patch
35c35
< #  include <sys/audit.h>
---
> //#  include <sys/audit.h>
[root at bedsd188:/home/root/build/openssh]

and now it compilles fine

can somebody look whats going wrong with including audit.h ?

        gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I.
-I./..  -I/usr/local/include -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from ../openbsd-compat/port-aix.h:35,
                 from ../openbsd-compat/openbsd-compat.h:166,
                 from ../includes.h:173,
                 from bsd-arc4random.c:25:
/usr/include/sys/audit.h:291: warning: `\' followed by white space at end
of line
/usr/include/sys/audit.h:294: warning: `\' followed by white space at end
of line
In file included from ../openbsd-compat/port-aix.h:33,
                 from ../openbsd-compat/openbsd-compat.h:166,
                 from ../includes.h:173,
                 from bsd-arc4random.c:25:
/usr/include/usersec.h:625: warning: `struct aud_rec' declared inside
parameter list
/usr/include/usersec.h:625: warning: its scope is only this definition or
declaration, which is probably not what you want.
/usr/include/usersec.h:626: warning: `struct aud_rec' declared inside
parameter list
In file included from ../openbsd-compat/port-aix.h:35,
                 from ../openbsd-compat/openbsd-compat.h:166,
                 from ../includes.h:173,
                 from bsd-arc4random.c:25:
/usr/include/sys/audit.h:292: parse error before `0200'
/usr/include/sys/audit.h:307: parse error before `}'
make: 1254-004 The error code from the last command is 1.


ys,
Ramses Smeyers

-- 
>From Winnie-the-Pooh's Little Book of Wisdom:
Solving Storage Problems: A Useful Pot can make you glad. It;s for putting things in.







More information about the openssh-unix-dev mailing list