Skip to contentSkip to conversation

2.4.20-pre10-ac2: proc_bus_pci_dir unresolved in pci_hotplug.o module

DISCUSSION Christian Vogel 2 participants 2 messages Nov 1, 2002

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
L'urgent est fait, L'impossible est en cours,
Pour les miracles, ... pr�voir un d�lai.
#1 lore raw
Quoted 10 lines · Christian Vogel

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

Quoted 7 lines

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