delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/12/09:08:22

From: Andrew Cottrell <spam AT bigpond DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trying to get code to compile and getting errors please help.
Date: Tue, 12 Aug 2003 18:31:15 +1000
Organization: HOME
Message-ID: <ea9hjvk164ccjbik1cal5svsdfhp4d7a54@4ax.com>
References: <bh8nfp$sd7$1 AT news DOT nsiregistry DOT net>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 28
NNTP-Posting-Date: 12 Aug 2003 16:31:16 WST
NNTP-Posting-Host: 202.154.115.197
X-Trace: 1060677076 news.swiftel.com.au 13259 202.154.115.197
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>ERRORS:
>
>tony.c:122: `DUPLEXFULL' undeclared (first use in this function
>tony.c:126: `CTSCOND' undeclared (first use in this function)
>
>
>SOURCE:
>
> ioctl.data.comparameters.databits = DATABITS8;   // was 7.
>    ioctl.data.comparameters.parity = PARITYEVEN;
>    ioctl.data.comparameters.flowctl = SOFTWAREFLOWCTL;
>    ioctl.data.comparameters.baudrate = BAUD9600;
>    ioctl.data.comparameters.stopbits = STOPBITS1;
>    ioctl.data.comparameters.duplex = DUPLEXFULL;
>    ioctl.data.comparameters.modemdelay = 0;

In the v2tk directory are a number of serial comms libraries. Check
them out.

Have a look at what you sent and see if it you can make sense of it, I
can't see any info on the library,structures definitions, errors
given, compilation commands used, GCC version used....etc.....

Andrew




- Raw text -


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