I'm trying to build openssh-3.7.1p2 on aix and am currently failing with the build errors below. This is a default build no special config options. I was able to build 3.6.1p2 with the patches but havn't been able to build any version of 3.7. I saw some changes were made to aix files in the changelog. /usr/include/sys/audit.h:284: warning: `\' followed by white space at end of line /usr/include/sys/audit.h:287: warning: `\' followed by white space at end of line In file included from ../includes.h:34, from bsd-arc4random.c:25: /usr/include/time.h:230: warning: `struct sigevent' declared inside parameter list /usr/include/time.h:230: warning: its scope is only this definition or declaration, which is probably not what you want. In file included from ../openbsd-compat/port-aix.h:34, from ../openbsd-compat/openbsd-compat.h:166, from ../includes.h:173, from bsd-arc4random.c:25: /usr/include/sys/audit.h:285: parse error before `0200' /usr/include/sys/audit.h:300: parse error before `}' 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. #
Doug Griswold wrote:> I'm trying to build openssh-3.7.1p2 on aix and am currently failing with > the build errors below. This is a > default build no special config options. I was able to build 3.6.1p2 > with the patches but havn't been able to build any version of 3.7. I > saw some changes were made to aix files in the changelog. > > /usr/include/sys/audit.h:284: warning: `\' followed by white space at > end of line > /usr/include/sys/audit.h:287: warning: `\' followed by white space at > end of lineWe now include some more system headers. Unfortunately, 2 have problems that trip up earlier gcc's (you're using the gcc-2.9x that came on the toolbox CD, right)? You can either upgrade your gcc version or edit the system headers. Details are here: http://bugzilla.mindrot.org/show_bug.cgi?id=640 -- 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.
Maybe Matching Threads
- OpenSSH 3.7.1p1 installation on AIX 4.3.3 enquiry?
- compille errors on AIX 5.1ML04 and AIX 4.3.3ML10
- [Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3
- : "../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3
- Setauthdb defined twice in openssh-4.0p1 on AIX 5.3