problems with SerialPorts, Modems, IOCTL
- From: r_wray_johnson@xxxxxxxxx (Rwj)
- Date: Fri, 29 Apr 2005 10:49:51 -0700 (PDT)
Hello,
I really need some help, I cant figure out what's going wrong here.
I installed Device::SerialPort, it installed successfully, but it gave several
warnings, most notably this one:
checking serial control via ioctl... no
WARNING: Without ioctl support, most serial control functions are missing
I also installed Device::Modem, again successfully, but it gave a similar
warning (due to it's dependency on Device::SerialPort)
disabling ioctl methods - system constants not found
after looking into the .pm's i realized that I didn't have IO::Handle
installed. So I tried to install it and received the following errors during
the "make" process:
==================================
/usr/lib/perl5/5.8/cygwin/CORE/config.h:3017:1: warning: "I_POLL" redefined
<command line>:13:1: warning: this is the location of the previous definition:
/usr/lib/perl5/5.8/cygwin/CORE/config.h:3017:1: warning: "I_POLL" redefined
<command line>:13:1: warning: this is the location of the previous definition
IO.xs: In function `XS_IO__Seekable_getpos':
IO.xs:201: warning: passing arg 2 of `PerlIO_getpos' from incompatible pointer
type
IO.xs:208: error: `sv_undef' undeclared (first use in this function)
IO.xs:208: error: (Each undeclared identifier is reported only once
IO.xs:208: error: for each function it appears in.)
IO.xs: In function `XS_IO__Seekable_setpos':
IO.xs:219: warning: passing arg 2 of `PerlIO_setpos' from incompatible pointer
type
IO.xs: In function `XS_IO__File_new_tmpfile':
IO.xs:252: error: `sv_undef' undeclared (first use in this function)
make: *** [IO.o] Error 1
/usr/bin/make -j2 -- NOT OK
===================================
and here is the results of my "Perl -V"
===================================
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=cygwin, osvers=1.5.12(0.11642), archname=cygwin-thread-multi-64int
uname='cygwin_nt-4.0 loreley 1.5.12(0.11642) 2004-11-10 08:34 i686 unknown
unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O3
-Dman3ext=3pm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='3.4.1 (cygming special)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under cygwin
Compiled at Jan 27 2005 11:10:54
%ENV:
PERL5LIB="C:\Program Files\ActiveState Perl Dev Kit 6.0 Deployment\lib\"
CYGWIN=""
@INC:
C
\Program Files\ActiveState Perl Dev Kit 6.0 Deployment\lib\
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8
.
=====================================
hope this isnt excessive. I will appreciate any help at all.
Thank you
Robert
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
.
- Prev by Date: Re: REGEXP removing - il- - -b-f and - il- - - - f
- Next by Date: Re: Password
- Previous by thread: RE: REGEXP removing - il- - -b-f and - il- - - - f
- Next by thread: Parsing HTML Tables
- Index(es):
Relevant Pages
|