Skip to contentSkip to conversation

Error in linux-2.6.37-git5 in btrfs in ctree.c

DISCUSSION Piotr Hosowicz 3 participants 5 messages Jan 11, 2011 – Jan 13, 2011

lore
Share & tools
lore
#0 lore raw

(I send again because my previous message wasn't delivered.)

Hello,

There is an error in here:

In file included from fs/btrfs/ctree.c:21:
fs/btrfs/ctree.h:1003: error: field ‘super_kobj’ has incomplete type fs/btrfs/ctree.h:1074: error: field ‘root_kobj’ has incomplete type

Kernel fails to build. linux-2.6.37-git5

Signature · 4 lines
"Wiedza to władza. Ale niewiedza, niestety, nie oznacza jeszcze
braku władzy." Niels Bohr
NP: Patrick O'Hearn - Gradual Understanding
NB: 2.6.37-next-20110110
#1 lore raw
Quoted 4 lines · Piotr Hosowicz

(I send again because my previous message wasn't delivered.)

Hello,

Quoted 8 lines

There is an error in here:

In file included from fs/btrfs/ctree.c:21:
fs/btrfs/ctree.h:1003: error: field ‘super_kobj’ has incomplete type fs/btrfs/ctree.h:1074: error: field ‘root_kobj’ has incomplete type

Kernel fails to build. linux-2.6.37-git5

I saw this too, just adding "<linux/kobject.h>" to ctree.h will fix this error.

I have a patch but it is not on this laptop. :-/

Signature · 1 line
Live like a child, think like the god.
#2 lore raw
Quoted 5 lines · Américo Wang
Quoted 4 lines · Piotr Hosowicz

(I send again because my previous message wasn't delivered.)

Hello,

Quoted 7 lines
Quoted 7 lines

There is an error in here:

In file included from fs/btrfs/ctree.c:21:
fs/btrfs/ctree.h:1003: error: field ‘super_kobj’ has incomplete type fs/btrfs/ctree.h:1074: error: field ‘root_kobj’ has incomplete type

Kernel fails to build. linux-2.6.37-git5

I see that it's the same in Linus GIT tree, I didn't fail to build, because I corrected the same way first, it's building now. Should it be like that?

Regards,

Piotr Hosowicz

Signature · 4 lines
Grupa marzeń w eliminacjach MŚ :
Zimbabwe, Alaska, Grenlandia, Antarktyda i Zair.
NP: Peter Green Splinter Group - Turn Your Love Away
NB: 2.6.37-git7-corr
#3 lore raw
Quoted 12 lines · Piotr Hosowicz
Quoted 11 lines · Américo Wang
Quoted 10 lines · Piotr Hosowicz

(I send again because my previous message wasn't delivered.)

Hello,

There is an error in here:

In file included from fs/btrfs/ctree.c:21:
fs/btrfs/ctree.h:1003: error: field ‘super_kobj’ has incomplete type fs/btrfs/ctree.h:1074: error: field ‘root_kobj’ has incomplete type

Quoted 6 lines
Quoted 1 line
Quoted 1 line

Kernel fails to build. linux-2.6.37-git5

I see that it's the same in Linus GIT tree, I didn't fail to build, because I corrected the same way first, it's building now. Should it be like that?

The situation is exactly the same today. What to do? I don't need btrfs, but must do some correction s I do not understand exactly. I don't like it.

Regards,

Piotr Hosowicz

Signature · 4 lines
Janusz Korwin-Mikke:
"Dyktatury dzielą się na dobre i złe. Demokracja jest zawsze głupia."
NP:  -
NB: 2.6.37-20110113-1411-pztidm+
#4 lore raw

Hello.

Quoted 15 lines · Piotr Hosowicz
Quoted 14 lines · Piotr Hosowicz
Quoted 12 lines · Américo Wang
Quoted 11 lines · Piotr Hosowicz

(I send again because my previous message wasn't delivered.)

Hello,

There is an error in here:

In file included from fs/btrfs/ctree.c:21:
fs/btrfs/ctree.h:1003: error: field ‘super_kobj’ has incomplete type fs/btrfs/ctree.h:1074: error: field ‘root_kobj’ has incomplete type

Kernel fails to build. linux-2.6.37-git5

Quoted 8 lines
Quoted 4 lines

I see that it's the same in Linus GIT tree, I didn't fail to build, because I corrected the same way first, it's building now. Should it be like that?

The situation is exactly the same today. What to do? I don't need btrfs, but must do some correction s I do not understand exactly. I don't like it.

I'm waiting for feedback on the patch I sent in for this. linux-btrfs and Chris had beend added but no reply so far. Not sure if there is a hotpath for build fixes or if maintainer pick them up as usual.

regards
Stefan Schmidt