[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Compile against 2.6.0-test9



Has anyone out there tried to compile anaconda against version 2.6.0-test9
of the Linux kernel?  I get some errors from isys.  I've seen that
other projects have similar problems, so I suspect the problem is in
the kernel headers.

Here are the messages:

In file included from /usr/include/linux/blockgroup_lock.h:8,
                 from /usr/include/linux/ext2_fs_sb.h:19,
                 from /usr/include/linux/ext2_fs.h:20,
                 from isys.c:4:
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:436: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/spinlock.h:451: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:451: for each function it appears in.)
/usr/include/linux/spinlock.h: In function `bit_spin_is_locked':
/usr/include/linux/spinlock.h:462: invalid type argument of `->'
In file included from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from isys.c:4:
/usr/include/linux/percpu_counter.h: In function `percpu_counter_mod':
/usr/include/linux/percpu_counter.h:75: invalid type argument of `->'
/usr/include/linux/percpu_counter.h:77: invalid type argument of `->'
/usr/include/linux/percpu_counter.h:77: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/linux/ext2_fs.h:20,
                 from isys.c:4:
/usr/include/linux/ext2_fs_sb.h: At top level:
/usr/include/linux/ext2_fs_sb.h:40: parse error before "uid_t"
/usr/include/linux/ext2_fs_sb.h:48: parse error before "s_next_generation"
/usr/include/linux/ext2_fs_sb.h:50: parse error before '*' token
/usr/include/linux/ext2_fs_sb.h:55: parse error before '}' token
In file included from /usr/include/linux/ext3_fs.h:20,
                 from isys.c:5:
/usr/include/linux/ext3_fs_i.h:80: field `i_orphan' has incomplete type
/usr/include/linux/ext3_fs_i.h:97: parse error before "loff_t"
/usr/include/linux/ext3_fs_i.h:111: parse error before '}' token
In file included from /usr/include/linux/ext3_fs.h:21,
                 from isys.c:5:
/usr/include/linux/ext3_fs_sb.h:44: parse error before "uid_t"
/usr/include/linux/ext3_fs_sb.h:52: parse error before "s_next_generation"
/usr/include/linux/ext3_fs_sb.h:53: parse error before "s_hash_seed"
/usr/include/linux/ext3_fs_sb.h:55: parse error before '*' token
/usr/include/linux/ext3_fs_sb.h:71: parse error before '}' token
In file included from isys.c:5:
/usr/include/linux/ext3_fs.h:618: parse error before "u32"
/usr/include/linux/ext3_fs.h:621: parse error before '*' token
/usr/include/linux/ext3_fs.h:622: parse error before '}' token
In file included from /usr/include/linux/timer.h:5,
                 from /usr/include/linux/workqueue.h:8,
                 from /usr/include/linux/fb.h:5,
                 from isys.c:38:
/usr/include/linux/list.h:576:2: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/workqueue.h:8,
                 from /usr/include/linux/fb.h:5,
                 from isys.c:38:
/usr/include/linux/timer.h:11: field `entry' has incomplete type
/usr/include/linux/timer.h:21: confused by earlier errors, bailing out
make[1]: *** [isys.lo] Error 1
make: *** [subdirs] Error 1

-- 
Mike

:wq




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]