From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,2cc9d0f2273e222e X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-11-09 04:41:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!not-for-mail From: jwk <_hate_spam_thunder7@xs4all.nl> Newsgroups: comp.os.linux.alpha Subject: Re: 2.2.20 does not build Date: 9 Nov 2001 12:41:52 GMT Organization: XS4ALL Internet BV Message-ID: References: <9sed3n$12o892$1@ID-3131.news.dfncis.de> Reply-To: thunder7@xs4all.nl NNTP-Posting-Host: rivierenland.xs4all.nl X-Trace: news1.xs4all.nl 1005309712 25108 194.109.14.47 (9 Nov 2001 12:41:52 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 9 Nov 2001 12:41:52 GMT X-Face: b$-F+98,@$_I=*ODq'")k9FH3?YC+%*kF\= 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 " 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