Skip to contentSkip to conversation

undefined reference to `kobject_actions'

BUG Russell King 4 participants 6 messages Jul 29, 2007

lore
Share & tools
lore
#0 lore raw

Many ARM platforms fail to build with the following:

drivers/built-in.o: In function `store_uevent':
hid-input.c:(.text+0x19c4c): undefined reference to `kobject_actions'

It appears that if hotplug is disabled, kobject_actions is ifdef'd away but hid-input still references it.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#1 lore raw
Quoted 7 lines · Russell King

Many ARM platforms fail to build with the following:

drivers/built-in.o: In function `store_uevent':
hid-input.c:(.text+0x19c4c): undefined reference to `kobject_actions'

It appears that if hotplug is disabled, kobject_actions is ifdef'd away but hid-input still references it.

What I also meant to say is that it looks like it's caused by commit 60a96a59569bab85571d0089682109bd3324e896.

Presumably if hotplug is disabled, we want store_uevent to be removed as well?

(Also added Kay to the recipients.)

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#2 lore raw
Quoted 6 lines · Russell King
Quoted 5 lines · Russell King

Many ARM platforms fail to build with the following:

drivers/built-in.o: In function `store_uevent':
hid-input.c:(.text+0x19c4c): undefined reference to `kobject_actions'

Quoted 8 lines
Quoted 2 lines

It appears that if hotplug is disabled, kobject_actions is ifdef'd away but hid-input still references it.

What I also meant to say is that it looks like it's caused by commit 60a96a59569bab85571d0089682109bd3324e896.

Presumably if hotplug is disabled, we want store_uevent to be removed as well?

Does this patch fix it?
http://lkml.org/lkml/2007/7/20/143

Thanks,
Kay

#3 lore raw
Quoted 11 lines · Kay Sievers
Quoted 9 lines · Russell King
Quoted 7 lines · Russell King

Many ARM platforms fail to build with the following:

drivers/built-in.o: In function `store_uevent':
hid-input.c:(.text+0x19c4c): undefined reference to `kobject_actions'

It appears that if hotplug is disabled, kobject_actions is ifdef'd away but hid-input still references it.

Quoted 8 lines
Quoted 5 lines

What I also meant to say is that it looks like it's caused by commit 60a96a59569bab85571d0089682109bd3324e896.

Presumably if hotplug is disabled, we want store_uevent to be removed as well?

Does this patch fix it?
http://lkml.org/lkml/2007/7/20/143

Yup, thanks. Any idea when this fix will hit mainline? Looks like it's 9 days old, and it fixes real build errors.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
#4 lore raw
Quoted 15 lines · Russell King
Quoted 14 lines · Kay Sievers
Quoted 12 lines · Russell King
Quoted 7 lines · Russell King

Many ARM platforms fail to build with the following:

drivers/built-in.o: In function `store_uevent':
hid-input.c:(.text+0x19c4c): undefined reference to `kobject_actions'

It appears that if hotplug is disabled, kobject_actions is ifdef'd away but hid-input still references it.

What I also meant to say is that it looks like it's caused by commit 60a96a59569bab85571d0089682109bd3324e896.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Presumably if hotplug is disabled, we want store_uevent to be removed as well?

Does this patch fix it?
http://lkml.org/lkml/2007/7/20/143

Yup, thanks. Any idea when this fix will hit mainline? Looks like it's 9 days old, and it fixes real build errors.

I've been at OSCON all last week, this will go to Linus on Monday. Sorry for the delay, conference season sucks at times...

thanks,

greg k-h

#5 lore raw
In reply to Russell King
Quoted 8 lines · Russell King

Many ARM platforms fail to build with the following:

drivers/built-in.o: In function `store_uevent':
hid-input.c:(.text+0x19c4c): undefined reference to `kobject_actions'

It appears that if hotplug is disabled, kobject_actions is ifdef'd away but hid-input still references it.

Is already fixed in -mm , try patch from :

http://lkml.org/lkml/2007/7/29/206

Regards,

Gabriel