Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: jwk <_hate_spam_thunder7@xs4all.nl>
Subject: Re: 2.2.20 does not build
Date: 9 Nov 2001 12:41:52 GMT	[thread overview]
Message-ID: <slrn9un0rg.b9c._hate_spam_thunder7@alpha.of.nowhere> (raw)
In-Reply-To: 9sed3n$12o892$1@ID-3131.news.dfncis.de

On 8 Nov 2001 16:50:01 GMT, Wolfgang Rupp
<rupp@coredump.at> wrote:
> I just tried to build 2.2.20 on a DS10 (SuSE 6.4, upgraded to 2.2.19).
> The compiler output is below, does anybody ideas / also experienced it?
> 
> Wolfgang
> 
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
> scripts/split-include include/linux/autoconf.h include/config
> make: Circular /usr/src/linux/include/asm/smp.h <- /usr/src/linux/include/linux/sched.h dependency dropped.
> make: Circular /usr/src/linux/include/asm/pci.h <- /usr/src/linux/include/linux/pci.h dependency dropped.
> cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6  -c -o init/main.o init/main.c
> /usr/src/linux/include/asm/pci.h: In function `pci_controller_num':
> In file included from /usr/src/linux/include/linux/pci.h:1448,
>                  from init/main.c:35:
> /usr/src/linux/include/asm/pci.h:62: structure has no member named `pci_host_index'
> /usr/src/linux/include/asm/pci.h:63: warning: control reaches end of non-void function
> make: *** [init/main.o] Error 1
> 
This sort of thing is mostly posted to the kernel mailing-list, so in
case of compile errors, it's efficient to search those archives first.

This was posted there:

>Sender: linux-kernel-owner@vger.kernel.org
>> 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?

Good luck,
Jurriaan
-- 
Thou shalt run lint frequently and study its pronouncements with care, for
verily its perception and judgement oft exceed thine.
	Henry Spencer - The Ten Commandments for C programmers (Annotated Ed.)
GNU/Linux 2.4.13-ac8 on Debian/Alpha 64-bits 988 bogomips load:0.11 0.14 0.58


  parent reply	other threads:[~2001-11-09 12:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08 16:50 2.2.20 does not build Wolfgang Rupp
2001-11-08 19:41 ` Juhana Paavola
2001-11-08 20:50   ` Wolfgang Rupp
2001-11-09 12:41 ` jwk [this message]
2001-11-12 10:53   ` Wolfgang Rupp
2001-11-13  2:50     ` Jason Stratos Papadopoulos
2001-11-13  6:35       ` jwk
2001-11-13  9:00         ` Wolfgang Rupp
2001-11-13 19:57           ` jwk
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox