Mailing List Archive

[Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=640

Summary: Error when trying to run make on openssh-3.7p1 with AIX
4.3.3
Product: Portable OpenSSH
Version: -current
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: Alan.Vidmar@Colorado.edu


Environment:
OS: AIX 4.3.3.11
GCC:3.3.1
Make:3.80
Openssh:3.7p1
Openssl:0.9.7b
Prngd:0.9.27

Notes:
Openssh 3.7p1 does work with AIX 5.1 and all of the same components

========================
In file included from /usr/include/sys/user.h:77,
from /usr/include/sys/audit.h:38,
from ../openbsd-compat/port-aix.h:35,
from ../openbsd-compat/openbsd-compat.h:166,
from ../includes.h:173,
from bsd-arc4random.c:25:
/usr/include/sys/proc.h:203: error: parse error before "crid_t"
/usr/include/sys/proc.h:212: error: parse error before "p_class"
/usr/include/sys/proc.h:355: error: parse error before '}' token
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.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=640





------- Additional Comments From dtucker@zip.com.au 2003-09-17 09:11 -------
Created an attachment (id=401)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=401&action=view)
Only include audit.h when needed for 4-arg loginfailed

Please try the attached patch.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=640





------- Additional Comments From peter@pjsc.de 2003-09-18 21:08 -------
Got a similar compile problem with AIX 5.1 and gcc 2.9
In file included from ../openbsd-compat/port-aix.h:35,
from ../openbsd-compat/openbsd-compat.h:166,
from ../includes.h:173,
from bsd-arc4random.c:25:
/usr/include/sys/audit.h:271: parse error before `0200'
/usr/include/sys/audit.h:286: parse error before `}'
make: 1254-004 The error code from the last command is 1.

The patch did solve the problem



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=640

Alan.Vidmar@Colorado.edu changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED



------- Additional Comments From Alan.Vidmar@Colorado.edu 2003-09-19 01:11 -------
The patch to port-aix.h did in fact fix the problem.
Thanks,
Alan



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=640

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |



------- Additional Comments From dtucker@zip.com.au 2003-09-19 07:39 -------
Please don't close the bug until the fix is in the tree.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 640] Error when trying to run make on openssh-3.7p1 with AIX 4.3.3 [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=640

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED



------- Additional Comments From dtucker@zip.com.au 2003-09-19 20:47 -------
The actual cause is spaces from after "\" in the AIX system headers audit.h and
proc.h, which gcc 2.x doesn't like.

Note that the patch #401 will fix the problem on AIX < 5.2 by not including
those headers. If you need to build on 5.2 I suggest using a newer gcc, but if
you can't then remove the trailing spaces from:

/usr/include/sys/audit.h lines 287 and 293
/usr/include/sys/proc.h lines 729 and 730

Anyway, have committed patch to HEAD and the 3.7 branch.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.