/*
 * hello−1.c − The simplest kernel module.
 */
#include "/usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h"       /* Needed by all modules */
#include "/usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h"       /* Needed for KERN_INFO */
//#include "/usr/include/linux/module.h"
//#include "/usr/include/linux/kernel.h"
int init_module(void)
{
        printk(KERN_INFO "Hello world 1.\n");
        /*
         * A non 0 return means init_module failed; module can't be loaded.
         */
        return 0;
}
void cleanup_module(void)
{
        printk(KERN_INFO "Goodbye world 1.\n");
}

.

gcc -D __KERNEL__ -I /usr/src/linux-headers-2.6.31-16-generic/include/ -c hello-1.c

on running above command
following error comes:-

/*********************************************/
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/bitops.h:17,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:45,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:5,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/bitops.h: In function ‘constant_test_bit’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/bitops.h:311: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/bitops.h:311: error: (Each undeclared identifier is reported only once
/usr/src/linux-headers-2.6.31-16-generic/include/asm/bitops.h:311: error: for each function it appears in.)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/bitops.h:443,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/bitops.h:17,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:45,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:5,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/bitops/sched.h:27:2: error: #error BITS_PER_LONG not defined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/bitops.h:451,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/bitops.h:17,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:45,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:5,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/bitops/fls64.h:33:2: error: #error BITS_PER_LONG not 32 or 64
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:45,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:5,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitops.h:129:2: error: #error BITS_PER_LONG not 32 or 64
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:5,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:157: error: expected declaration specifiers or ‘...’ before ‘this_cpu_off’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:157: warning: data definition has no type or storage class
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:15,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:10: error: expected declaration specifiers or ‘...’ before ‘current_task’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:10: warning: data definition has no type or storage class
/usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:10: error: conflicting types for ‘DECLARE_PER_CPU’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/percpu.h:157: note: previous declaration of ‘DECLARE_PER_CPU’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h: In function ‘get_current’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:14: error: ‘per_cpu__current_task’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/current.h:14: warning: return makes pointer from integer without a cast
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:11,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1:31: error: #include nested too deeply
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/cpumask.h:142,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:12,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_zero’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:145: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_fill’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:156: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_copy’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:166: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_and’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:177: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_or’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:185: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_xor’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:194: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_andnot’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:203: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_complement’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:211: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_equal’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:220: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_intersects’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:229: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_subset’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:238: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_empty’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:246: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_full’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:254: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_weight’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:262: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_shift_right’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:270: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h: In function ‘bitmap_shift_left’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/bitmap.h:279: error: ‘BITS_PER_LONG’ undeclared (first use in this function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:12,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/cpumask.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/cpumask.h:300: error: ‘BITS_PER_LONG’ undeclared here (not in a function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h: In function ‘native_read_msr_safe’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:70: error: ‘EFAULT’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h: In function ‘native_read_msr_amd_safe’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:86: error: ‘EFAULT’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h: In function ‘native_write_msr_safe’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:109: error: ‘EFAULT’ undeclared (first use in this function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/errno.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:136,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1:31: error: #include nested too deeply
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/errno.h:1,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/err.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/ds.h:28,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:24,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm-generic/errno.h:1:31: error: #include nested too deeply
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:115: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:115: error: requested alignment is not a constant
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:161:1: warning: "cache_line_size" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:28,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/cache.h:64:1: warning: this is the location of the previous definition
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h: In function ‘load_cr3’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:192: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:241: error: requested alignment is not a constant
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:272: error: requested alignment is not a constant
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:274: error: expected declaration specifiers or ‘...’ before ‘init_tss’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:274: warning: data definition has no type or storage class
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/thread_info.h:24,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/thread_info.h:56,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/preempt.h:9,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/seqlock.h:29,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/time.h:8,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/stat.h:60,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:10,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:201: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:213: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:225: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: In function ‘atomic64_add’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:228: error: ‘v’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:227: error: invalid lvalue in asm output 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:227: error: memory input 2 is not directly addressable
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:239: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: In function ‘atomic64_sub’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:242: error: ‘v’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:241: error: invalid lvalue in asm output 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:241: error: memory input 2 is not directly addressable
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:255: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: In function ‘atomic64_sub_and_test’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:260: error: ‘v’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:259: error: invalid lvalue in asm output 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:259: error: memory input 3 is not directly addressable
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:271: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:284: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:299: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:317: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:336: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: In function ‘atomic64_add_negative’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:341: error: ‘v’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:340: error: invalid lvalue in asm output 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:340: error: memory input 3 is not directly addressable
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:353: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: In function ‘atomic64_add_return’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:357: error: ‘v’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:356: error: invalid lvalue in asm output 1
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:356: error: memory input 3 is not directly addressable
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:362: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: In function ‘atomic64_sub_return’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:364: error: ‘v’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:364: error: too many arguments to function ‘atomic64_add_return’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:370: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:375: error: expected ‘)’ before ‘*’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/atomic_64.h:425: error: expected ‘)’ before ‘*’ token
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/thread_info.h:56,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/preempt.h:9,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/seqlock.h:29,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/time.h:8,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/stat.h:60,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:10,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/thread_info.h:211: error: expected declaration specifiers or ‘...’ before ‘kernel_stack’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/thread_info.h:211: warning: data definition has no type or storage class
/usr/src/linux-headers-2.6.31-16-generic/include/asm/thread_info.h: In function ‘current_thread_info’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/thread_info.h:216: error: ‘per_cpu__kernel_stack’ undeclared (first use in this function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/mmzone.h:642,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/gfp.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h:22,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:13,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/memory_hotplug.h: In function ‘mhp_notimplemented’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/memory_hotplug.h:185: error: ‘ENOSYS’ undeclared (first use in this function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/mmdebug.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/gfp.h:8,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h:22,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:13,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/autoconf.h:950:1: warning: "CONFIG_NR_CPUS" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/cpumask.h:141,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:12,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/threads.h:16:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h:22,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:13,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/gfp.h:183:2: error: #error ZONES_SHIFT too large to create GFP_ZONE_TABLE integer
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h:22,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:13,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/gfp.h: In function ‘gfp_zone’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/gfp.h:219: error: ‘ZONE_DMA’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/gfp.h:219: error: ‘ZONE_HIGHMEM’ undeclared (first use in this function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:13,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h: In function ‘call_usermodehelper’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h:82: error: ‘ENOMEM’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h: In function ‘call_usermodehelper_keys’:
/usr/src/linux-headers-2.6.31-16-generic/include/linux/kmod.h:95: error: ‘ENOMEM’ undeclared (first use in this function)
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:39: error: expected declaration specifiers or ‘...’ before ‘gdt_page’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:39: warning: data definition has no type or storage class
/usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h: In function ‘get_cpu_gdt_table’:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:43: error: ‘gdt_page’ undeclared (first use in this function)
/usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:43: error: request for member ‘gdt’ in something not a structure or union
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h: At top level:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:342: warning: ‘enum km_type’ declared inside parameter list
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:342: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:694:40: error: macro "paravirt_enabled" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:699: error: redefinition of ‘load_sp0’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:577: note: previous definition of ‘load_sp0’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:722: error: redefinition of ‘native_cpuid’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:178: note: previous definition of ‘native_cpuid’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:735:1: warning: "get_debugreg" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:572:1: warning: this is the location of the previous definition
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:736: error: redefinition of ‘native_set_debugreg’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:498: note: previous definition of ‘native_set_debugreg’ was here
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:741:29: error: macro "clts" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:742: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:746:42: error: macro "read_cr0" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:747: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:751: error: redefinition of ‘native_write_cr0’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/system.h:254: note: previous definition of ‘native_write_cr0’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:756:42: error: macro "read_cr2" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:757: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:761: error: redefinition of ‘native_write_cr2’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/system.h:266: note: previous definition of ‘native_write_cr2’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:766:42: error: macro "read_cr3" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:767: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:771: error: redefinition of ‘native_write_cr3’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/system.h:278: note: previous definition of ‘native_write_cr3’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:776:42: error: macro "read_cr4" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:777: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:780:47: error: macro "read_cr4_safe" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:781: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:785: error: redefinition of ‘native_write_cr4’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/system.h:306: note: previous definition of ‘native_write_cr4’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:807: warning: conflicting types for ‘halt’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:807: error: static declaration of ‘halt’ follows non-static declaration
/usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:767: note: previous implicit declaration of ‘halt’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:812:31: error: macro "wbinvd" passed 1 arguments, but takes just 0
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:813: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:817:1: warning: "get_kernel_rpl" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/ptrace.h:9,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/vm86.h:130,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:10,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/segment.h:190:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:833:1: warning: "rdmsr" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:143:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:846:1: warning: "rdmsrl" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:155:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:852:1: warning: "wrmsrl" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:158:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:856:1: warning: "rdmsr_safe" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:168:1: warning: this is the location of the previous definition
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:865: error: redefinition of ‘rdmsrl_safe’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:177: note: previous definition of ‘rdmsrl_safe’ was here
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:872: error: redefinition of ‘rdmsrl_amd_safe’
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:184: note: previous definition of ‘rdmsrl_amd_safe’ was here
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:885:1: warning: "rdtscl" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:192:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:891:1: warning: "rdtscll" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:195:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:904:1: warning: "rdpmc" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:198:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:916:1: warning: "rdtscp" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:205:1: warning: this is the location of the previous definition
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/desc.h:82,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/asm/elf.h:89,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/elf.h:7,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:14,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/paravirt.h:925:1: warning: "rdtscpll" redefined
In file included from /usr/src/linux-headers-2.6.31-16-generic/include/asm/processor.h:21,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/prefetch.h:14,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/list.h:6,
                 from /usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h:9,
                 from hello-1.c:4:
/usr/src/linux-headers-2.6.31-16-generic/include/asm/msr.h:212:1: warning: this is the l

Edited 3 Years Ago by Nick Evan: Fixed formatting

i am using the same version of "The Linux Kernel Module Programming Guide" as mentioned in the link you suggested.
can you clear me what is causing this error?
the "header files" or the "program code" or the "gcc command"

This article has been dead for over six months. Start a new discussion instead.