2003-11-10 13:37:30

by Stan Benoit

[permalink] [raw]
Subject: sparc 20 problem ver test9

Hello,

System:
SPARC Station 20
Processor(s):
SuperSPARC II
Kernel: linux-2.6.0-test9
GCC: 2.95.3

1. make mrproper OK
2. make menuconfig OK
3. make


CC init/main.o
In file included from include/asm-generic/local.h:7,
from include/asm/local.h:4,
from include/linux/module.h:19,
from init/main.c:15:
include/asm/hardirq.h: In function `irqs_running':
include/asm/hardirq.h:134: `smp_num_cpus' undeclared (first use in this function)
include/asm/hardirq.h:134: (Each undeclared identifier is reported only once
include/asm/hardirq.h:134: for each function it appears in.)
include/asm/hardirq.h:135: `__brlock_array' undeclared (first use in this function)
include/asm/hardirq.h:135: `BR_GLOBALIRQ_LOCK' undeclared (first use in this function)
include/asm/hardirq.h: In function `release_irqlock':
include/asm/hardirq.h:147: warning: implicit declaration of function `br_write_unlock'
include/asm/hardirq.h:147: `BR_GLOBALIRQ_LOCK' undeclared (first use in this function)
In file included from init/main.c:33:
include/linux/kernel_stat.h: In function `kstat_irqs':
include/linux/kernel_stat.h:47: warning: implicit declaration of function `cpu_possible'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

shouldn't this be pointing to:

include/asm-sparc/hardirg.h ???


Thanks,


--
Stan Benoit<[email protected]>
Mondo Dev/Testing
http://www.mondorescue.org
Testing:
http://www.nakedsoul.org/~troff


2003-11-10 15:48:10

by Rob Radez

[permalink] [raw]
Subject: Re: sparc 20 problem ver test9

On Mon, Nov 10, 2003 at 08:37:16AM -0500, Stan Benoit wrote:
> Hello,
>
> System:
> SPARC Station 20
> Processor(s):
> SuperSPARC II
> Kernel: linux-2.6.0-test9
> GCC: 2.95.3

SMP for sparc32 in 2.6 is known broken. Also, to contact sparclinux
people, try [email protected] instead of linux-kernel.

Regards,
Rob Radez

2003-11-10 16:33:22

by Christian Kujau

[permalink] [raw]
Subject: Re: sparc 20 problem ver test9

Stan Benoit wrote:
[...]
> include/asm/hardirq.h: In function `release_irqlock':
> include/asm/hardirq.h:147: warning: implicit declaration of function `br_write_unlock'
> include/asm/hardirq.h:147: `BR_GLOBALIRQ_LOCK' undeclared (first use in this function)
> In file included from init/main.c:33:
> include/linux/kernel_stat.h: In function `kstat_irqs':
> include/linux/kernel_stat.h:47: warning: implicit declaration of function `cpu_possible'
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2
>
> shouldn't this be pointing to:
>
> include/asm-sparc/hardirg.h ???

it does not? for ppc it gives:

/usr/src/linux-2.6/include/asm -> asm-ppc

so if ./asm is not ./asm-sparc on your machine, something *is* wrong....


Christian.
--
BOFH excuse #213:

Change your language to Finnish.

2003-11-12 10:51:23

by David J. M. Karlsen

[permalink] [raw]
Subject: Re: sparc 20 problem ver test9

Rob Radez wrote:

> SMP for sparc32 in 2.6 is known broken. Also, to contact sparclinux
> people, try [email protected] instead of linux-kernel.

Does a sparc-hppa list exist as well? (I did't see a HPPA list on the
vger.kernel.org pages).



--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com