Skip to contentSkip to conversation

linux 2.2.20 compile fails on alpha

DISCUSSION Dan Maas 1 participant 1 message Nov 4, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Dan Maas

author
#1 lore raw
Quoted 4 lines

asm/pci.h: In function `pci_controller_num':
asm/pci.h:62: structure has no member named `pci_host_index' asm/pci.h:63: warning: control reaches end of non-void function
make: *** [init/main.o] Error 1

I was able to get 2.2.20 to compile by changing asm/pci.h line 62 to "pci_hose_index" (s/host/hose/); see the struct definition at the top of that file. Also I needed to add "#include <asm/errno.h>" to the same file to get the definition of ENXIO... Be warned, I have not actually booted the resulting kernel.

Are pci_hose_* really meant to be named like that, or was it an overzealous search-and-replace?

Regards,
Dan