On Irix 6.5.15m with version 7.3 of the development tools, monitor_fdpass.c won't compile after a normal configure because SCM_RIGHTS isn't defined. In sys/socket.h it's protected by #ifdef _XOPEN_SOURCE but if I define _XOPEN_SOURCE, I get a storm of IPV6-related errors. Defining SCM_RIGHTS explicitly does allow it to build. I can't immediately figure out how to fix this properly.
What is the output of grep _MSG config.h On 20 May 2002, Dave Love wrote:> On Irix 6.5.15m with version 7.3 of the development tools, > monitor_fdpass.c won't compile after a normal configure because > SCM_RIGHTS isn't defined. In sys/socket.h it's protected by > #ifdef _XOPEN_SOURCE but if I define _XOPEN_SOURCE, I get a storm of > IPV6-related errors. Defining SCM_RIGHTS explicitly does allow it to > build. I can't immediately figure out how to fix this properly. > _______________________________________________ > openssh-unix-dev at mindrot.org mailing list > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
On Mon, May 20, 2002 at 04:00:21PM -0700, Tim Rice wrote:> > What is the output of grep _MSG config.h >I see the same problem on IRIX 6.5.15m, and the grep returns: % grep _MSG config.h #define HAVE_ACCRIGHTS_IN_MSGHDR 1 #define HAVE_CONTROL_IN_MSGHDR 1 % -jf
Tim Rice <tim at multitalents.net> writes:> What is the output of grep _MSG config.h#define HAVE_ACCRIGHTS_IN_MSGHDR 1 #define HAVE_CONTROL_IN_MSGHDR 1
On Tue, 21 May 2002, Jan-Frode Myklebust wrote:> On Mon, May 20, 2002 at 04:00:21PM -0700, Tim Rice wrote: > > > > What is the output of grep _MSG config.h > > > > I see the same problem on IRIX 6.5.15m, and the grep returns: > > % grep _MSG config.h > #define HAVE_ACCRIGHTS_IN_MSGHDR 1 > #define HAVE_CONTROL_IN_MSGHDR 1 > %Try commenting out #define HAVE_CONTROL_IN_MSGHDR 1 and tell me what happens.> > -jf >-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
On Tue, May 21, 2002 at 06:48:58AM -0700, Tim Rice wrote:> > > > > > > I see the same problem on IRIX 6.5.15m, and the grep returns: > > > > % grep _MSG config.h > > #define HAVE_ACCRIGHTS_IN_MSGHDR 1 > > #define HAVE_CONTROL_IN_MSGHDR 1 > > % > > Try commenting out #define HAVE_CONTROL_IN_MSGHDR 1 and tell me what happens.Then it builds and works! Thanks! -jf
On Tue, May 21, 2002 at 10:18:22AM +0100, Dave Love wrote:> Tim Rice <tim at multitalents.net> writes: > > > What is the output of grep _MSG config.h > > #define HAVE_ACCRIGHTS_IN_MSGHDR 1 > #define HAVE_CONTROL_IN_MSGHDR 1I think we need to have runtime checks in configure that result in: HAVE_ACCRIGHTS_FD_PASSING HAVE_CONTROL_FD_PASSING