Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Squashfs fails to compile with the error below when compiling 2.6.22. It's obviously dependent on the config of the kernel, but AIUI squashfs is needed for tracking startup scripts or something Gentooish (or I may be compiling this in for nothing!) Reproducible: Always Steps to Reproduce: 1.Turn on squashfs support 2.Compile 3. Actual Results: CC [M] fs/squashfs/inode.o fs/squashfs/inode.c: In function 'squashfs_get_cached_block': fs/squashfs/inode.c:372: warning: implicit declaration of function 'set_current_state' fs/squashfs/inode.c:372: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/squashfs/inode.c:372: error: (Each undeclared identifier is reported only once fs/squashfs/inode.c:372: error: for each function it appears in.) fs/squashfs/inode.c:374: warning: implicit declaration of function 'schedule' fs/squashfs/inode.c:375: error: 'TASK_RUNNING' undeclared (first use in this function) fs/squashfs/inode.c:404: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) fs/squashfs/inode.c: In function 'release_cached_fragment': fs/squashfs/inode.c:500: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/squashfs/inode.c:500: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) fs/squashfs/inode.c: In function 'get_cached_fragment': fs/squashfs/inode.c:531: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function) fs/squashfs/inode.c:534: error: 'TASK_RUNNING' undeclared (first use in this function) make[2]: *** [fs/squashfs/inode.o] Error 1 make[1]: *** [fs/squashfs] Error 2 make: *** [fs] Error 2 Edit fs/squashfs/inode.c and add #include <linux/sched.h> to define TASK_UNINTERRUPTIBLE
I don't think you need it... :) Try living without this. It was solved in recent genpatches... Now on suspend2 also. Thanks!