Re: error: expected '=', ',', ';', 'asm' or '__attrib
- From: Sergey Kubushin <ksi@xxxxxxxx>
- Date: 30 Dec 2006 22:57:24 GMT
Robert Adsett <subscriptions@xxxxxxxxxxxxxxxxxxxxx> wrote:
In article <1167470530.933569.143970@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
techie.embedded@xxxxxxxxx says...
Hi<snip>
I'm trying to compile an ADC Driver & come acrosss the following error.
I've no experience writing drivers before, and hence have no clue how
to fix it.
Hope someone out there has encountered the problem & suggesst a fix for
the same.
The Error is I get is :
qadc.c: At top level:
qadc.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'qadc_read'
make: *** [qadc.o] Error 1
[root@localhost qadc]#
/* Structure to declare our file access functions. */
struct file_operations qadc_fops =
{
open: qadc_open,
read: qadc_read,
write: qadc_write,
release: qadc_release
};
Well, the above isn't valid C so I'd start there.
It was some time back but now it's changed.
---
******************************************************************
* KSI@home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: error: expected '=', ',', ';', 'asm' or '__attrib
- From: Dennis
- Re: error: expected '=', ',', ';', 'asm' or '__attrib
- From: Robert Adsett
- Re: error: expected '=', ',', ';', 'asm' or '__attrib
- References:
- error: expected '=', ',', ';', 'asm' or '__attrib
- From: techie.embedded@xxxxxxxxx
- Re: error: expected '=', ',', ';', 'asm' or '__attrib
- From: Robert Adsett
- error: expected '=', ',', ';', 'asm' or '__attrib
- Prev by Date: Re: Choice of frequency and protocol on RF links?
- Next by Date: Re: error: expected '=', ',', ';', 'asm' or '__attrib
- Previous by thread: Re: error: expected '=', ',', ';', 'asm' or '__attrib
- Next by thread: Re: error: expected '=', ',', ';', 'asm' or '__attrib
- Index(es):
Relevant Pages
|