bugzilla-daemon at mindrot.org
2002-Apr-10 20:19 UTC
[Bug 213] New: -SNAP-20020410 fails to compile under AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=213 Summary: -SNAP-20020410 fails to compile under AIX 4.3.3 Product: Portable OpenSSH Version: -current Platform: PPC OS/Version: AIX Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: dmanton at emea.att.com A simple ./configure; make using IBM VisualAge C++ 5 under AIX 4.3.3 ML9 returns: xlC -O2 - qlanglvl=extended -I. -I. -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_PIDDIR=\"/var/run\" - DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c monitor_fdpass.c "monitor_fdpass.c", line 43.18: 1506-195 (S) Integral constant expression with a value greater than zero is required. "monitor_fdpass.c", line 87.18: 1506- 195 (S) Integral constant expression with a value greater than zero is required. make: 1254-004 The error code from the last command is 1. This appears to be a problem with the line: char tmp[CMSG_SPACE(sizeof(int))]; It would seem that the IBM compiler does not like array declarations that need to be computed in this way. Hard-coding 16 in place of CMSG_SPACE(sizeof(int)) allows compilation to succeed. Can someone help me to solve this problem? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.