[Bug 940] xmmap.c noequality compile error on Digital UNIX 4.0F PK7

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Oct 6 22:25:00 EST 2004


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

anenni at isisw.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|xmmap.c noequality compile  |xmmap.c noequality compile
                   |error on DigitalUNIX 4.0F   |error on Digital UNIX 4.0F
                   |PK7                         |PK7



------- Additional Comments From anenni at isisw.com  2004-10-06 22:24 -------
With the change you suggested xmmap.c compiles with no warning at all.

Making all gives the same error with monitor_mm.c

cc -std1 -g -I. -I. -I/usr/local/ssl/include -I/usr/local/include 
-DSSHDIR=\"/usr/local/etc\"  -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" 
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" 
-D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" 
-D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" 
-D_PATH_SSH_PIDDIR=\"/var/run\"  -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" 
-DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
monitor_mm.c
cc: Error: monitor_mm.c, line 95: In this statement, "address" and "(-1)" cannot
be compared for equality or inequality. (noequality)
        if (address == MAP_FAILED)
------------^
*** Exit 1
Stop.

I made the same change and now it compiles.
I cannot do "make install" and complete tests now but the new compiled ssh
client seems to work just fine.





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




More information about the openssh-bugs mailing list