openssh-SNAP-20020412 and AIX ...
Sandor W. Sklar
ssklar at stanford.edu
Wed Apr 17 14:00:54 EST 2002
At 1:45 PM +1000 4/17/02, Damien Miller wrote:
>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?
I grep'd for that define in all of /usr/include (and looked
specifically in sys/socket.h), and got nothing.
>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))
I have done so, as such:
*** monitor_fdpass.c.orig Sun Apr 7 09:39:13 2002
--- monitor_fdpass.c Tue Apr 16 20:47:11 2002
***************
*** 31,36 ****
--- 31,41 ----
#include "log.h"
#include "monitor_fdpass.h"
+ #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))
+
void
mm_send_fd(int socket, int fd)
{
... and I receive the same error. Am I not putting your lines in the
proper place?
>
> >
>> (Should I be using bugzilla to report this?)
>
>yes :)
ok. I promise I will in the future! :-)
thanks, -s-
--
Sandor W. Sklar - Unix Systems Administrator - Stanford University ITSS
Non impediti ratione cogitationis. http://whippet.stanford.edu/~ssklar/
More information about the openssh-unix-dev
mailing list