From: Andrew Cottrell 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: References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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