ts-7000
[Top] [All Lists]

[ts-7000] Re: problem compiling readmeter example

To:
Subject: [ts-7000] Re: problem compiling readmeter example
From: "bassplyr647" <>
Date: Tue, 23 Jun 2009 12:16:08 -0000
--- In  "bassplyr647" <> wrote:
>
> Hello All,
>   I'm having a problem compiling readmeter.c   This is what I get:
> 
> :/# gcc -Wall -o readmeter readmeter.c
> readmeter.c: In function `OpenPort':
> readmeter.c:116: warning: implicit declaration of function `ioctl'
> readmeter.c:116: error: `TIOC_SBCS485' undeclared (first use in this function)
> readmeter.c:116: error: (Each undeclared identifier is reported only once
> readmeter.c:116: error: for each function it appears in.)
> readmeter.c: In function `build_cmd':
> readmeter.c:159: warning: implicit declaration of function `toupper'
> readmeter.c: In function `build_select':
> readmeter.c:220: warning: implicit declaration of function `isdigit'
> readmeter.c: In function `main':
> readmeter.c:288: warning: unused variable `n'
> 
> I have ts_sbc.h and ioctls.h in their proper directories.  Any help would be 
> greatly appreicated.
> 
> Thanks in advance.
>
Never mind, found the problem, it was a spelling error, it should have been 
TOIC_SBCS485.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU