lkml.org 
[lkml]   [2011]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: btrfs build failure in latest git
Jeff Garzik wrote:
>
> Tree as of commit 7bc4a4ce68f8c6d064ea949446852e996526f692 dies during btrfs build on x86-64:
>
> CC [M] fs/btrfs/ctree.o
> In file included from fs/btrfs/ctree.c:21:0:
> fs/btrfs/ctree.h:1003:17: error: field ‘super_kobj’ has incomplete type
> fs/btrfs/ctree.h:1074:17: error: field ‘root_kobj’ has incomplete type
> make[2]: *** [fs/btrfs/ctree.o] Error 1
> make[1]: *** [fs/btrfs] Error 2
> make: *** [fs] Error 2
>

Should be caused by this commit:

commit 57cc7215b70856dc6bae8e55b00ecd7b1d7429b1
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Mon Jan 10 08:18:25 2011 +0200

headers: kobject.h redux

Remove kobject.h from files which don't need it, notably,
sched.h and fs.h.

So the fix is to include kobject.h explicitly in ctree.h.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-01-12 04:03    [W:0.065 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site