public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] undefined reference to `kobject_actions'
@ 2007-07-29 19:34 Russell King
  2007-07-29 19:34 ` Gabriel C
  2007-07-29 19:37 ` Russell King
  0 siblings, 2 replies; 6+ messages in thread
From: Russell King @ 2007-07-29 19:34 UTC (permalink / raw)
  To: Linux Kernel List, Greg KH

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.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] undefined reference to `kobject_actions'
  2007-07-29 19:34 [BUG] undefined reference to `kobject_actions' Russell King
@ 2007-07-29 19:34 ` Gabriel C
  2007-07-29 19:37 ` Russell King
  1 sibling, 0 replies; 6+ messages in thread
From: Gabriel C @ 2007-07-29 19:34 UTC (permalink / raw)
  To: Russell King; +Cc: Linux Kernel List, Greg KH

Russell King wrote:
> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] undefined reference to `kobject_actions'
  2007-07-29 19:34 [BUG] undefined reference to `kobject_actions' Russell King
  2007-07-29 19:34 ` Gabriel C
@ 2007-07-29 19:37 ` Russell King
  2007-07-29 19:59   ` Kay Sievers
  1 sibling, 1 reply; 6+ messages in thread
From: Russell King @ 2007-07-29 19:37 UTC (permalink / raw)
  To: Linux Kernel List, Greg KH, Kay Sievers

On Sun, Jul 29, 2007 at 08:34:01PM +0100, Russell King wrote:
> 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.)

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] undefined reference to `kobject_actions'
  2007-07-29 19:37 ` Russell King
@ 2007-07-29 19:59   ` Kay Sievers
  2007-07-29 20:41     ` Russell King
  0 siblings, 1 reply; 6+ messages in thread
From: Kay Sievers @ 2007-07-29 19:59 UTC (permalink / raw)
  To: Russell King; +Cc: Linux Kernel List, Greg KH


On Sun, 2007-07-29 at 20:37 +0100, Russell King wrote:
> On Sun, Jul 29, 2007 at 08:34:01PM +0100, Russell King wrote:
> > 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?

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

Thanks,
Kay


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] undefined reference to `kobject_actions'
  2007-07-29 19:59   ` Kay Sievers
@ 2007-07-29 20:41     ` Russell King
  2007-07-29 21:01       ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Russell King @ 2007-07-29 20:41 UTC (permalink / raw)
  To: Kay Sievers; +Cc: Linux Kernel List, Greg KH

On Sun, Jul 29, 2007 at 09:59:05PM +0200, Kay Sievers wrote:
> 
> On Sun, 2007-07-29 at 20:37 +0100, Russell King wrote:
> > On Sun, Jul 29, 2007 at 08:34:01PM +0100, Russell King wrote:
> > > 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?
> 
> 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.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] undefined reference to `kobject_actions'
  2007-07-29 20:41     ` Russell King
@ 2007-07-29 21:01       ` Greg KH
  0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2007-07-29 21:01 UTC (permalink / raw)
  To: Russell King; +Cc: Kay Sievers, Linux Kernel List

On Sun, Jul 29, 2007 at 09:41:10PM +0100, Russell King wrote:
> On Sun, Jul 29, 2007 at 09:59:05PM +0200, Kay Sievers wrote:
> > 
> > On Sun, 2007-07-29 at 20:37 +0100, Russell King wrote:
> > > On Sun, Jul 29, 2007 at 08:34:01PM +0100, Russell King wrote:
> > > > 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?
> > 
> > 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-29 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 19:34 [BUG] undefined reference to `kobject_actions' Russell King
2007-07-29 19:34 ` Gabriel C
2007-07-29 19:37 ` Russell King
2007-07-29 19:59   ` Kay Sievers
2007-07-29 20:41     ` Russell King
2007-07-29 21:01       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox