"../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3

Tim Rice tim at multitalents.net
Fri Feb 19 02:56:18 EST 2010


On Thu, 18 Feb 2010, phoebus phoebus wrote:

> Hi all,
> 
> Environment:
> Compiler: IBM XL C/C++ Enterprise Edition for AIX v9.0
> Server: AIX 5.3 TL 10 SP1
> 
[snip]
> >        (cd openbsd-compat && make)
> >        cc -qlanglvl=extc89 -I/opt/freeware/include/openssl/ -I/usr/local/include -qmaxmem=-1  -I. -I.. -I. -I./.. -I/opt/freeware/include -I/usr/local/lib/libwrap.a  -DHAVE_CONFIG_H -c bsd-arc4random.c
> >"../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error.
> >"../openbsd-compat/port-aix.h", line 94.69: 1506-046 (S) Syntax error.
> >make: 1254-004 The error code from the last command is 1.
> >Stop.
> >make: 1254-004 The error code from the last command is 2.
> >
> >Stop.
> 
> I don't undestand why this error. Could you help or provides some advices?
> Thanks.

If we look at lines 92 & 94 we see
int sys_auth_allowed_user(struct passwd *, Buffer *);
int sys_auth_record_login(const char *, const char *, const char *, Buffer *);
So the question is why is it choking on Buffer?

Try cc -E to see what the preprocessor makes of all the headers and source.

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net


More information about the openssh-unix-dev mailing list