lkml.org 
[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux 2.2.20 compile fails on alpha
Date
> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.027 / U:4.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site