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

Darren Tucker dtucker at zip.com.au
Fri Feb 19 20:08:14 EST 2010

Darren Tucker wrote:
> phoebus phoebus wrote:
>> 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:/#
> Aha!  Your preprocessed source has 
> /opt/freeware/include/openssl/buffer.h before ../buffer.h, and OpenSSH's 
> buffer.h has:


 From your original post, you're using:

export CFLAGS="-I/opt/freeware/include/openssl/ -I/usr/local/include"
export LDFLAGS="-L/opt/freeware/lib/ -L/usr/local/lib"
./configure --prefix=/usr/local --sysconfdir=/usr/local/etc/ssh \
                 --with-cflags="-O -D__STR31__ -qmaxmem=-1"  \
                 --with-cflags="-DBROKEN_GETADDRINFO" \
                 --with-tcp-wrappers=/usr/local/lib \
                 --with-zlib=/opt/freeware \
                 --with-ssl-dir=/opt/freeware \

I think the CFLAGS=-I/opt/freeware/include/openssl/ is the source of 
your problem, and should be unnecessary because you also have 

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.

More information about the openssh-unix-dev mailing list