bugzilla-daemon at mindrot.org
2004-Oct-06 12:25 UTC
[Bug 940] xmmap.c noequality compile error on Digital UNIX 4.0F PK7
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.
bugzilla-daemon at mindrot.org
2004-Oct-06 12:32 UTC
[Bug 940] xmmap.c noequality compile error on Digital UNIX 4.0F PK7
http://bugzilla.mindrot.org/show_bug.cgi?id=940 ------- Additional Comments From anenni at isisw.com 2004-10-06 22:32 ------- Did you note in the logs that Openssh 3.8.1p1 compilation has no -std1 option? Probably that's the real cause. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2004-Oct-06 13:16 UTC
[Bug 940] xmmap.c noequality compile error on Digital UNIX 4.0F PK7
http://bugzilla.mindrot.org/show_bug.cgi?id=940 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From dtucker at zip.com.au 2004-10-06 23:16 ------- I didn't notice that and you're probably right, that would explain it. It's probably due to the newer version of autoconf used for 3.9p1 (2.59 vs 2.52). Anyway, both changes applied, thanks for the report. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Maybe Matching Threads
- [Bug 940] xmmap.c noequality compile error on DigitalUNIX 4.0F PK7
- address = xmmap(size);
- [Bug 1386] New: OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
- [Bug 201] New: Building openssh from CVS fails on AIX 4.2.1
- Patch to OpenSSH-3.4p1/monitor_mm.c for Linux 2.0