[Bug 2260] New: monitor_fdpass.c fails to compile on QNX 6.3.2

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Jul 29 05:30:12 EST 2014


https://bugzilla.mindrot.org/show_bug.cgi?id=2260

            Bug ID: 2260
           Summary: monitor_fdpass.c fails to compile on QNX 6.3.2
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: ix86
                OS: Other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: kraai at ftbfs.org

Created attachment 2459
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2459&action=edit
Patch which makes monitor_fdpass.c include <sys/poll.h>

monitor_fdpass.c fails to compile on QNX 6.3.2 with the following
errors:

gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -fno-strict-aliasing -D_FORTIFY_SOURCE=2
-fno-builtin-memset  -I. -I. -I/tmp/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_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c
monitor_fdpass.c
monitor_fdpass.c: In function `mm_send_fd':
monitor_fdpass.c:61: storage size of `pfd' isn't known
monitor_fdpass.c:70: warning: comparison between signed and unsigned
monitor_fdpass.c:83: `POLLOUT' undeclared (first use in this function)
monitor_fdpass.c:83: (Each undeclared identifier is reported only once
monitor_fdpass.c:83: for each function it appears in.)
monitor_fdpass.c:87: warning: implicit declaration of function `poll'
monitor_fdpass.c:61: warning: unused variable `pfd'
monitor_fdpass.c: In function `mm_receive_fd':
monitor_fdpass.c:123: storage size of `pfd' isn't known
monitor_fdpass.c:139: `POLLIN' undeclared (first use in this function)
monitor_fdpass.c:162: warning: comparison between signed and unsigned
monitor_fdpass.c:123: warning: unused variable `pfd'

Making monitor_fdpass.c include <sys/poll.h> fixes this problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list