Folks, On AIX 4.3.3-08ML with the IBM C Compiler, and ssh configured to use the prngd-socket "/dev/egd-pool", the make bombs out at: /usr/bin/cc -g -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=\"/usr/local/etc\" -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: *** [monitor_fdpass.o] Error 1 (Should I be using bugzilla to report this?) -s- -- Sandor W. Sklar - Unix Systems Administrator - Stanford University ITSS Non impediti ratione cogitationis. http://whippet.stanford.edu/~ssklar/
mardi, le 16 avril, 2002, Sandor W. Sklar nous a dit ceci:> Folks, > > On AIX 4.3.3-08ML with the IBM C Compiler, and ssh configured to use > the prngd-socket "/dev/egd-pool", the make bombs out at:[ snip sizeof(incomplete type) stuff ]> (Should I be using bugzilla to report this?)Already there. See bug #213. Matt. -- Thank goodness modern convenience is a thing of the remote future. -- Pogo, by Walt Kelly
At 8:27 PM -0700 4/16/02, Matthew Clarke wrote:>mardi, le 16 avril, 2002, Sandor W. Sklar nous a dit ceci: > >> Folks, >> >> On AIX 4.3.3-08ML with the IBM C Compiler, and ssh configured to use >> the prngd-socket "/dev/egd-pool", the make bombs out at: > >[ snip sizeof(incomplete type) stuff ] > >> (Should I be using bugzilla to report this?) > >Already there. See bug #213.ah, ok, thanks. never mind then. :-) -s- -- Sandor W. Sklar - Unix Systems Administrator - Stanford University ITSS Non impediti ratione cogitationis. http://whippet.stanford.edu/~ssklar/
On Tue, 16 Apr 2002, Sandor W. Sklar wrote:> Folks, > > On AIX 4.3.3-08ML with the IBM C Compiler, and ssh configured to use > the prngd-socket "/dev/egd-pool", the make bombs out at:Do your system header files #define CMSG_SPACE() anywhere, perhaps in sys/socket.h? It looks like that is not being picked up. Otherwise try adding the following lines to monitor_fdpass.c before the first function: #define _X_CMSG_ALIGN(p) (((unsigned int)(p) + \ (sizeof(int) - 1)) &~ (sizeof(int) - 1)) #define _X_CMSG_SPACE(len) (_X_CMSG_ALIGN(sizeof(struct cmsghdr)) + \ _X_CMSG_ALIGN(len))> "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: *** [monitor_fdpass.o] Error 1 > > (Should I be using bugzilla to report this?)yes :) -d
At 3:40 PM +1000 4/17/02, Damien Miller wrote:> > >my bad - that last define should be: > >#define CMSG_SPACE(len) (_X_CMSG_ALIGN(sizeof(struct cmsghdr)) + \ > _X_CMSG_ALIGN(len))after changing that define, everything compiled fine (a few warnings, but nothing major.) Thanks very much! Is there anything I need to do to have the fix for this problem integrated into the source tree before the next release? Thanks again, --Sandy -- Sandor W. Sklar - Unix Systems Administrator - Stanford University ITSS Non impediti ratione cogitationis. http://whippet.stanford.edu/~ssklar/