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.
------------------------------------
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/
|