On Tue, 2002-10-01 at 20:07, immortal1015 wrote: > I tried to compile the very simple kernel module code as following. > I compile this code using gcc -c hello.c, but gcc tell me: > /usr/include/linux /module.h:60 parse error before 'atomic_t' you are using glibc headers to compile kernel code.... add -I/lib/modules/`uname -r`/build/include to the gcc flags