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 From: "Grei Zhang on Shanghai 163" To: Subject: need help on termios.h Date: Sun, 8 Jun 2003 00:09:20 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 I am working on SMS-Gateway Simulator. I need to use GSM::SMS Perl module over /dev/com5 connect to my T68. When this module depend on Device-SerialPort-0.12 module working, when I pre-configure this module, it show following: Finding ioctl methods ... trying 'termios.ph'... nope trying 'asm/termios.ph'... nope trying 'sys/termiox.ph'... nope trying 'sys/termios.ph'... nope trying 'sys/ttycom.ph'... nope Device::Serial could not find ioctl definitions! Perl did not find any .ph files to get at least the following ioctls: TIOCMBIS TIOCMBIC TIOCMGET CRTSCTS Please check your Perl installation, or read 'man h2ph'. As root, you may need to run: cd /usr/include; h2ph -r -l . before the Perl *.ph files will work. after doing cd /usr/include; h2ph -r -l . show this: Finding ioctl methods ... trying 'termios.ph'... nope trying 'asm/termios.ph'... nope trying 'sys/termiox.ph'... nope trying 'sys/termios.ph'... (CRTSCTS) (TIOCMGET) (TIOCM_DTR) useful trying 'sys/ttycom.ph'... nope Device::Serial could not find ioctl definitions! Perl did not find any .ph files to get at least the following ioctls: TIOCMBIS TIOCMBIC TIOCMGET CRTSCTS Please check your Perl installation, or read 'man h2ph'. As root, you may need to run: cd /usr/include; h2ph -r -l . before the Perl *.ph files will work. This seems say cygwin couldn't support TIOCMBIS and TIOCMBIC. Is there any clues? when I use VMware+linux62+perl, it can works fine. 97% test passed! can do make , make test and install. but when I use another SMS-Gateway Simulator, not use perl module, it works fine with /dev/com5. Thanks! -- 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/