All of lore.kernel.org
 help / color / mirror / Atom feed
* IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4
@ 2002-03-21 20:51 Adrian Bunk
  2002-03-22 19:48 ` Greg KH
  2002-03-22 19:53 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2002-03-21 20:51 UTC (permalink / raw)
  To: linux-kernel


Building a kernel with the IBM PCI Hotplug driver statically included
fails at the final linking stage with a:

<--  snip  -->

...
drivers/hotplug/vmlinux-obj.o: In function `ibmphp_configure_card':
drivers/hotplug/vmlinux-obj.o(.text+0x13734): undefined reference to `ibmphp_pci_root_ops'
drivers/hotplug/vmlinux-obj.o(.text+0x137a8): undefined reference to `ibmphp_pci_root_ops'
drivers/hotplug/vmlinux-obj.o(.text+0x137c5): undefined reference to `ibmphp_pci_root_ops'
drivers/hotplug/vmlinux-obj.o(.text+0x139bf): undefined reference to `ibmphp_pci_root_ops'
drivers/hotplug/vmlinux-obj.o(.text+0x13beb): undefined reference to `ibmphp_pci_root_ops'
drivers/hotplug/vmlinux-obj.o(.text+0x14018): more undefined references to `ibmphp_pci_root_ops' follow
...

<--  snip  -->

cu
Adrian



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

* Re: IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4
  2002-03-21 20:51 IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4 Adrian Bunk
@ 2002-03-22 19:48 ` Greg KH
  2002-03-22 19:53 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2002-03-22 19:48 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Thu, Mar 21, 2002 at 09:51:30PM +0100, Adrian Bunk wrote:
> 
> Building a kernel with the IBM PCI Hotplug driver statically included
> fails at the final linking stage with a:

Can you send me your .config?

thanks,

greg k-h

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

* Re: IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4
  2002-03-21 20:51 IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4 Adrian Bunk
  2002-03-22 19:48 ` Greg KH
@ 2002-03-22 19:53 ` Greg KH
  2002-03-22 20:33   ` Adrian Bunk
  1 sibling, 1 reply; 4+ messages in thread
From: Greg KH @ 2002-03-22 19:53 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Thu, Mar 21, 2002 at 09:51:30PM +0100, Adrian Bunk wrote:
> 
> Building a kernel with the IBM PCI Hotplug driver statically included
> fails at the final linking stage with a:

Nevermind about the .config.

Let me know if the patch below does not solve this for you.

thanks,

greg k-h


diff -Nru a/drivers/hotplug/ibmphp_core.c b/drivers/hotplug/ibmphp_core.c
--- a/drivers/hotplug/ibmphp_core.c	Fri Mar 22 11:47:34 2002
+++ b/drivers/hotplug/ibmphp_core.c	Fri Mar 22 11:47:34 2002
@@ -56,7 +56,7 @@
 MODULE_DESCRIPTION (DRIVER_DESC);
 
 static int *ops[MAX_OPS + 1];
-static struct pci_ops *ibmphp_pci_root_ops;
+struct pci_ops *ibmphp_pci_root_ops;
 static int max_slots;
 
 static int irqs[16];    /* PIC mode IRQ's we're using so far (in case MPS tables don't provide default info for empty slots */

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

* Re: IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4
  2002-03-22 19:53 ` Greg KH
@ 2002-03-22 20:33   ` Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2002-03-22 20:33 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Fri, 22 Mar 2002, Greg KH wrote:

>...
> Let me know if the patch below does not solve this for you.

The patch solved the problem.  :-)

> thanks,
>
> greg k-h

cu
Adrian



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

end of thread, other threads:[~2002-03-22 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 20:51 IBM PCI Hotplug driver doesn't compile in 2.4.19-pre4 Adrian Bunk
2002-03-22 19:48 ` Greg KH
2002-03-22 19:53 ` Greg KH
2002-03-22 20:33   ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.