Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 187720
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alon Bar-Lev (RETIRED) <alonbl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephen Bridges <widget@stdin.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 187720 depends on: Show dependency tree
Bug 187720 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-04 12:16 0000
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

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-08-04 13:04:05 0000 -------
I don't think you need it... :)
Try living without this.

It was solved in recent genpatches... Now on suspend2 also.

Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug