Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4272E585.682BDB6@dessent.net> Date: Fri, 29 Apr 2005 18:55:17 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: missing files in /usr/include/sys References: <20050429220341 DOT 13002 DOT qmail AT web54708 DOT mail DOT yahoo DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com rwj wrote: > okay, thank you for the reply. I shall try and sort this out on my own then. > > For the record, the code that wants these header files is the Perl module > "Device::SerialPort" as found on the CPAN mirrors. > > maybe i should hassle the module developer as to why he didn't verify his build > on CYGWIN ... or perhaps i'm just expecting too much :/ It would have helped if you'd mentioned the perl module earlier, that way we could have just looked at it. The lack of those header files is not your problem. It's normal for 'configure' to not find some header files, since the whole point is to test for all conceivable headers that might exist on a system. No, your problem is that Cygwin does not have the ioctls TIOCMBIS and TIOCMBIC, which the module relies on. Cygwin does support reading and writing DTR and RTS, but it uses the ioctl TIOCMSET and TIOCMGET with the TIOCM_RTS and TIOCM_DTR flags in the third argument of ioctl(). Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/