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

phoebus phoebus frphoebus at yahoo.fr
Fri Feb 19 03:55:53 EST 2010


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.

./launch.ksh  2>&1 | tee myconfig.log  ( launch.ksh contains the variable arguments for configure).
make 2>&1 | tee mymake.log

How can i find what it makes on of all the headers and source ?

Regards,
Phoebus

----- Message d'origine ----
De : Tim Rice <tim at multitalents.net>
À : openssh-unix-dev at mindrot.org
Envoyé le : Jeu 18 Février 2010, 16 h 56 min 18 s
Objet : Re: "../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3

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



      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mymake.log
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100218/7bc9457a/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: myconfig.log
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100218/7bc9457a/attachment-0003.ksh>


More information about the openssh-unix-dev mailing list