No struct cmsghdr - what to do ?

David M. Williams d_wllms at lanl.gov
Thu Feb 13 00:31:58 EST 2003


Which OS are we talking about?

If this is a new OS port of OpenSSH then you are going to have to do a 
couple of things:

1.  patch configure.ac to recognize the OS and to pick up compatability 
code in openssh/openbsd-compat/.
2.  write code to provide cmsghdr support for your OS.  The files go in 
openbsd-compat/ and follow the naming convention bsd-<your OS name 
here>.(c/h).  

If you want some descriptions of how this works search the archives for 
either Corinna Vinschen's or Wendy Palm's postings over the last 6 
months or so.  They both support unique OS's and have followed this model.

Good Luck,

Dave

Ajit Yashwant Vaishampayan, Noida wrote:

>Did anybody have any solution for this problem ?
>
>- Ajit
>
>-----Original Message-----
>From: Ajit Yashwant Vaishampayan, Noida 
>Sent: Thursday, February 06, 2003 3:15 PM
>To: OpenSSH Development
>Subject: No struct cmsghdr - what to do ?
>
>
>Hi all,
>
>If any perticular OS does not have 'struct cmsghdr' in sys/socket.h and also
>it does not have access rights in 'struct msghdr', then how the compilation
>should be done ? Does anybody had similar problem earlier ?
>
>Regards,
>Ajit
>
>_______________________________________________
>openssh-unix-dev mailing list
>openssh-unix-dev at mindrot.org
>http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
>_______________________________________________
>openssh-unix-dev mailing list
>openssh-unix-dev at mindrot.org
>http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
>
>  
>

-- 
David M. Williams, CISSP		Phone: 505-665-8062
Systems Engineer, CCN-2			Fax:   505-667-7428
Los Alamos National Laboratory		Email: d_wllms at lanl.gov





More information about the openssh-unix-dev mailing list