[Bug 201] New: Building openssh from CVS fails on AIX 4.2.1

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 3 12:18:15 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=201

           Summary: Building openssh from CVS fails on AIX 4.2.1
           Product: Portable OpenSSH
           Version: -current
          Platform: PPC
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: dtucker at zip.com.au


While compiling from CVS, monitor_mm.c on AIX 4.2.1, gcc gives the following 
error:

monitor_mm.c: In function `mm_create':
monitor_mm.c:87: `MAP_FAILED' undeclared (first use in this function)
monitor_mm.c:87: (Each undeclared identifier is reported only once
monitor_mm.c:87: for each function it appears in.)
make: *** [monitor_mm.o] Error 1

This does not occur on AIX 4.3.3, where /usr/include/sys/mman.h contains 
"#define MAP_FAILED ((void *)-1)". Adding this #define to monitor_mm.c allows it 
to compile and run. I'm not sure what the proper fix is.

AIX 4.2.1 is no longer supported by IBM but some boxes are still running it.



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



More information about the openssh-unix-dev mailing list