Re: module.h syntax errors??


Subject: Re: module.h syntax errors??
jvalois@mac.com
Date: Thu Dec 27 2001 - 16:18:50 MST


Is this the Bill Judd that used to work for Apple?

Jack

On Monday, December 24, 2001, at 06:07 PM, Bill Judd wrote:

> I'm working on a driver for a USB device for YDL 2.1.
>
> Trying to build the simple "hello" module from the "Linux Device
> Drivers"
> book from O'Reilly, p. 15, I see a lot of syntax errors in
> <linux/module.h>.
> I don't see the problems. Can someone help me out?
>
> Here's the error output:
> In file included from hello.c:2:
> /usr/include/linux/module.h:62: parse error before `atomic_t'
> /usr/include/linux/module.h:62: warning: no semicolon at end of struct
> or
> union
> /usr/include/linux/module.h:62: warning: no semicolon at end of struct
> or
> union
> /usr/include/linux/module.h:64: parse error before `}'
> /usr/include/linux/module.h:64: warning: data definition has no type or
> storage
> class
> /usr/include/linux/module.h:93: parse error before `}'
>
> Thanks,
>
> Bill Judd
> Magiclamp Networks
>



This archive was generated by hypermail 2a24 : Thu Dec 27 2001 - 16:32:05 MST