Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* 2.2.20 does not build
@ 2001-11-08 16:50 Wolfgang Rupp
  2001-11-08 19:41 ` Juhana Paavola
  2001-11-09 12:41 ` jwk
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Rupp @ 2001-11-08 16:50 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  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
  1 sibling, 1 reply; 9+ messages in thread
From: Juhana Paavola @ 2001-11-08 19:41 UTC (permalink / raw)


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

Have you maked dependencies ?
eg. make dep



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-08 19:41 ` Juhana Paavola
@ 2001-11-08 20:50   ` Wolfgang Rupp
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Rupp @ 2001-11-08 20:50 UTC (permalink / raw)


Juhana Paavola <jupaavol@ruutana.ratol.fi> wrote:
> Have you maked dependencies ?

Yes.

Wolfgang



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-08 16:50 2.2.20 does not build Wolfgang Rupp
  2001-11-08 19:41 ` Juhana Paavola
@ 2001-11-09 12:41 ` jwk
  2001-11-12 10:53   ` Wolfgang Rupp
  1 sibling, 1 reply; 9+ messages in thread
From: jwk @ 2001-11-09 12:41 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-09 12:41 ` jwk
@ 2001-11-12 10:53   ` Wolfgang Rupp
  2001-11-13  2:50     ` Jason Stratos Papadopoulos
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Rupp @ 2001-11-12 10:53 UTC (permalink / raw)


jwk <_hate_spam_thunder7@xs4all.nl> wrote:
> This was posted there:
>>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.

Thank you, that did the trick. I changed line 62 in asm/pci.h and added
"include <asm/errno.h>. The kernel compiled and works.

Wolfgang



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-12 10:53   ` Wolfgang Rupp
@ 2001-11-13  2:50     ` Jason Stratos Papadopoulos
  2001-11-13  6:35       ` jwk
  0 siblings, 1 reply; 9+ messages in thread
From: Jason Stratos Papadopoulos @ 2001-11-13  2:50 UTC (permalink / raw)


Wolfgang Rupp <rupp@coredump.at> wrote:

: Thank you, that did the trick. I changed line 62 in asm/pci.h and added
: "include <asm/errno.h>. The kernel compiled and works.

Kernel 2.4.9 wouldn't compile on an Alpha either. You'd think the
developers could get *somebody* to compile the linux kernel on an Alpha
before declaring the next rev...

jasonp


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-13  2:50     ` Jason Stratos Papadopoulos
@ 2001-11-13  6:35       ` jwk
  2001-11-13  9:00         ` Wolfgang Rupp
  0 siblings, 1 reply; 9+ messages in thread
From: jwk @ 2001-11-13  6:35 UTC (permalink / raw)


On 13 Nov 2001 02:50:47 GMT, Jason Stratos Papadopoulos
<jasonp@z.glue.umd.edu> wrote:
> Wolfgang Rupp <rupp@coredump.at> wrote:
> 
>: Thank you, that did the trick. I changed line 62 in asm/pci.h and added
>: "include <asm/errno.h>. The kernel compiled and works.
> 
> Kernel 2.4.9 wouldn't compile on an Alpha either. You'd think the
> developers could get *somebody* to compile the linux kernel on an Alpha
> before declaring the next rev...
> 
Either post error messages and maybe someone will help you fix it, or
don't compile kernels yourself. Fyi, most 2.4.13-ac? kernels compile
just fine here. And since I read the linux-kernel-mailinglist, I know
beforehand that 2.4.15pre4 doesn't compile, and spare myself the
trouble; if I have time, I might even try to fix it. There's no use
whining about it - that somebody is you, so if you find something is
wrong, report it.

Jurriaan
-- 
6) "His second cousins daughters best friends dog signed him up": 
Proving to your ISP just where your opt-in database comes from.
	'Top ten seminars at an upcoming DMA conference' as seen in nanae
GNU/Linux 2.4.13-ac8 on Debian/Alpha 64-bits 990 bogomips load:0.12 0.43 0.39


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-13  6:35       ` jwk
@ 2001-11-13  9:00         ` Wolfgang Rupp
  2001-11-13 19:57           ` jwk
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Rupp @ 2001-11-13  9:00 UTC (permalink / raw)


jwk <_hate_spam_thunder7@xs4all.nl> wrote:
> Either post error messages and maybe someone will help you fix it,
Which is what I did...

> or don't compile kernels yourself.
And how should that work? 

Thankful as I am for your help, I have to agree with the previous
poster. While I fully expect a development kernel to do strange things,
I expect a *released* one to build on the archs it is released for.

I realise that nobody can test all setups, so if the new kernel does
not work "as advertised" with a strange setup, well tough luck. That
it does not even build on an "out of the box" system, should not be.
And our DS10 is as basic as they come: 256MB RAM, Sym895, SCSI disks.

Hey, even _I_ could do a test compile , although I can't "test boot"
the company mailserver, as you will understand :-) Seriously, if that
is what's missing, who should I contact?

Wolfgang



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 2.2.20 does not build
  2001-11-13  9:00         ` Wolfgang Rupp
@ 2001-11-13 19:57           ` jwk
  0 siblings, 0 replies; 9+ messages in thread
From: jwk @ 2001-11-13 19:57 UTC (permalink / raw)


On 13 Nov 2001 09:00:50 GMT, Wolfgang Rupp
<rupp@coredump.at> wrote:
> 
> Hey, even _I_ could do a test compile , although I can't "test boot"
> the company mailserver, as you will understand :-) Seriously, if that
> is what's missing, who should I contact?
> 
If you can't compile the latest stable kernel, and you know you have all
the correct versions of your userland programs, and you have searched
the linux-kernel-mailinglist archives to see of someone beat you to it
(or even has provided a patch), then you should post the errors to the
linux-kernel mailinglist.

I understand you can't reboot the company mailserver just like that, but
without a test-system, surely every upgrade of your production
mailserver is a shot in the dark? The fact that it compiles doesn't
guarantee it doesn't eat your partitions on bootup....

Good luck,
Jurriaan
-- 
2) "We thought we were using a REPUTABLE marketer":  How to shift blame
away from your business by blaming the bulk emailer for all the trouble.
	'Top ten seminars at an upcoming DMA conference' as seen in nanae
GNU/Linux 2.4.13-ac8 on Debian/Alpha 64-bits 988 bogomips load:0.34 0.19 0.12


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-11-13 19:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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