On Thursday 10 January 2008 07:06:46 pm Fernando Benedictti wrote:
> Hellow there,
>
> I'm trying to write a module, in my source i've added the following line
>
>       #include <linux/module.h>
>
> Since the preprocessor did not found it, i set the variable
>
>      C_INCLUDE_PATH=/usr/src/linux-2.6.22.5-31/include
>
> When i try to compile the source, the preprocessor tell me the following
>
...
> In file included from
> /usr/src/linux-2.6.22.5-31/include/linux/thread_info.h:20, from
> /usr/src/linux-2.6.22.5-31/include/linux/preempt.h:9, from
> /usr/src/linux-2.6.22.5-31/include/linux/spinlock.h:49, from
> /usr/src/linux-2.6.22.5-31/include/linux/module.h:9, from
> simple_module.c:2:
> /usr/src/linux-2.6.22.5-31/include/linux/bitops.h:9:24: error:
> asm/bitops.h: No such file or directory 

There is number of 'asm-<architecture>' directories, but no 'asm' alone, so it 
seems that you have forgotten to define <architecture>. 


-- 
Regards,
Rajko
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to