delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/08/08:23:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 8 Sep 2005 14:23:12 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Missing definitions in termios.h
Message-ID: <20050908122312.GE5555@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <WorldClient-F200509081405 DOT AA05270015 AT xdimax DOT com>
Mime-Version: 1.0
In-Reply-To: <WorldClient-F200509081405.AA05270015@xdimax.com>
User-Agent: Mutt/1.4.2i

On Sep  8 14:05, Alex Kholodenko wrote:
> > On Sep 5 13:10, Alex Kholodenko wrote:
> > > While compiling some project I've got following errors:
> > > 
> > > picport.cc:63: `TIOCM_RTS' undeclared (first use this function)
> > > picport.cc:67: `TIOCM_DTR' undeclared (first use this function)
> > > picport.cc:70: `TIOCMSET' undeclared (first use this function)
> > > picport.cc:101: `TIOCCBRK' undeclared (first use this function)
> > > picport.cc:103: `TIOCMGET' undeclared (first use this function)
> > > picport.cc:110: `TIOCM_CTS' undeclared (first use this function)
> > > picport.cc:196: `TIOCSBRK' undeclared (first use this function)
> > > 
> > > All this are definitions from termios.h that definitely where in this 
> file 
> > > before.
> > > What can be done?
> > 
> > Check your sources (is termios.h included?) and your Cygwin installation.
> > The above definitions are definitely still in termios.h.
> > 
> > 
> > Corinna
> 
> Thanks.
> After passing to latest cygwin release I have reduced a number of undeclared 
> items to the following:
> serial.c:612: error: `TIOCMBIS' undeclared (first use this function)
> serial.c:614: error: `TIOCMBIC' undeclared (first use this function)

I doubt it.  TIOCMBIS and TIOCMBIC has been defined for the first time
just a month ago as visible in the ChangeLog:

   2005-08-02  Yitzchak Scott-Thoennes  <sthoenna AT efn DOT org>

         * include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.

This means, the definitions hasn't made it into the distro so far
and are only available by using Cygwin developer snapshots from
http://cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019