delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/07/12:09:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Grei Zhang on Shanghai 163" <greizh AT sh163 DOT net>
To: <cygwin AT cygwin DOT com>
Subject: need help on termios.h
Date: Sun, 8 Jun 2003 00:09:20 +0800
Message-ID: <JPEMILDAFBPAFJNCFHNEKEBICAAA.greizh@sh163.net>
MIME-Version: 1.0
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/

- Raw text -


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