Skip to contentSkip to conversation

sparc 20 problem ver test9

DISCUSSION Stan Benoit 4 participants 4 messages Nov 10, 2003 – Nov 12, 2003

lore
Share & tools
lore
#0 lore raw

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,

Signature · 5 lines
Stan Benoit<[email protected]>
Mondo Dev/Testing 
http://www.mondorescue.org
Testing:
http://www.nakedsoul.org/~troff
#1 lore raw
Quoted 8 lines · Stan Benoit

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

#3 lore raw
In reply to Stan Benoit

Stan Benoit wrote:
[...]

Quoted 9 lines

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

Quoted 3 lines

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.

Signature · 3 lines
BOFH excuse #213:

Change your language to Finnish.
#2 lore raw
In reply to Rob Radez
Quoted 2 lines · Rob Radez

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).

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