"../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 17:07:43 EST 2010


Hi Darren,

I fond buffer.h in:

ca06:/# find . -name buffer.h
./home/frphoebus/openssh/openssh-5.3p1/buffer.h (move to openbsd-compat and renamed buffer-myopenssh.h)
./opt/freeware/include/openssl/buffer.h (move to openbsd-compat and renamed buffer-myopenssl.h)
ca06:/#

The size of the files are different
ca06:/home/frphoebus/openssh/openssh-5.3p1/openbsd-compat# du -k buffer-myopenssh.h buffer-myopenssl.h junk
4       buffer-myopenssh.h
8       buffer-myopenssl.h
140     junk

1. I did make with buffer-myopenssh.h (renamed buffer.h) the make output is in file: mymake-buffer-myopenssh.log
2. I did make with buffer-myopenssl.h (renamed buffer.h) the make output is in file: mymake-buffer-myopenssl.log

In case 1 , the make progress. It does'nt find some gssapi file. I don't install kerberos fileset. I suppoe it's why he make fail.
In case 2, the make failed with the same message that before when i opened this thread.

I think i need to use buffer.h located in the directory openssh-5.3p1 and move it in openbsd-compat.
Could you confirm ?

PS: I spilt the junk file in 3 parts. I'll post it in 3 new messages in the same threads.

Thanks,
Phoebus



----- Message d'origine ----
De : Darren Tucker <dtucker at zip.com.au>
À : phoebus phoebus <frphoebus at yahoo.fr>
Cc : openssh-unix-dev at mindrot.org
Envoyé le : Ven 19 Février 2010, 1 h 57 min 30 s
Objet : Re: Re : Re : "../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3

phoebus phoebus wrote:
> The junk file is not in attachment because is too big.

Can you put it up someplace where we can look at it?  If nothing else you could open a bug at bugzilla.mindrot.org and attach it (using "create attachment").

Since port-aix.h includes "buffer.h" there should be something like this in the preprocessed output:

typedef struct {
    u_char  *buf;          /* Buffer for data. */
    u_int    alloc;        /* Number of bytes allocated for data. */
    u_int    offset;        /* Offset of first byte containing data. */
    u_int    end;          /* Offset of last byte containing data. */
}      Buffer;

If that's not there then I don't understand why.  My (long shot) guess is that there's a system header called "buffer.h" which the compiler is finding in preference to the OpenSSH one.  You could try "find /usr/include -name buffer.h" and if there is one, compare its contents to the "junk" file created earlier and see if it's in there.

Another long shot: you could copy buffer.h into the openbsd-compat directory and re-try "make".

-- Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mymake-buffer-myopenssh.log
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100219/4c7b9fb4/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mymake-buffer-myopenssl.log
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20100219/4c7b9fb4/attachment-0003.ksh>


More information about the openssh-unix-dev mailing list