"../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 04:41:24 EST 2010


On Thu, 18 Feb 2010, phoebus phoebus wrote:

> Tim,

> I tryed "cc -E" but i don't have more information in the ouput. To pass the argument to the preprocessor, i used the varaibale CPP="cc -E"
> I put in attachment the logs.
> 
> How can i find what it makes on of all the headers and source ?

$ cd openbsd-compat
# 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 \
-E bsd-arc4random.c > junk

Now look at junk and see whrere Buffer is defined.
 
> Regards,
> Phoebus
> 
> ----- Message d'origine ----
> [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