2002-11-01 13:55:16

by Christian Vogel

[permalink] [raw]
Subject: 2.4.20-pre10-ac2: proc_bus_pci_dir unresolved in pci_hotplug.o module

Hi,

when insmodding the pci_hotplug.o module I get unresolved symbol
proc_bus_pci_dir on Kernel 2.4.20-pre10-ac2.

The symbol is declared extern here:

drivers/hotplug/pci_hutplug_core.c (line 131) has:
extern struct proc_dir_entry *proc_bus_pci_dir

The symbol is defined here:

drivers/pci/proc.c (line 372) has:
struct proc_dir_entry *proc_bus_pci_dir

Probably some EXPORT_SYMBOL(proc_bus_pci_dir) is missing
in the latter file?...

Chris

--
L'urgent est fait, L'impossible est en cours,
Pour les miracles, ... pr?voir un d?lai.


2002-11-01 22:22:33

by Greg KH

[permalink] [raw]
Subject: Re: 2.4.20-pre10-ac2: proc_bus_pci_dir unresolved in pci_hotplug.o module

On Fri, Nov 01, 2002 at 03:01:29PM +0100, Christian Vogel wrote:
> Hi,
>
> when insmodding the pci_hotplug.o module I get unresolved symbol
> proc_bus_pci_dir on Kernel 2.4.20-pre10-ac2.
>
> The symbol is declared extern here:
>
> drivers/hotplug/pci_hutplug_core.c (line 131) has:
> extern struct proc_dir_entry *proc_bus_pci_dir
>
> The symbol is defined here:
>
> drivers/pci/proc.c (line 372) has:
> struct proc_dir_entry *proc_bus_pci_dir
>
> Probably some EXPORT_SYMBOL(proc_bus_pci_dir) is missing
> in the latter file?...

It is exported in the main 2.4.20-rc1 tree, so hopefully the next time
Alan syncs up he will get this fix.

thanks,

greg k-h