Skip to contentSkip to conversation

compilation problem with kernel 2.6.15

DISCUSSION Krishna 2 participants 2 messages Mar 30, 2006 MIPS

lore
Share & tools
lore

Krishna

author
#0 lore raw

While trying to cross compile kernel 2.6.15 for BCM1480
Ii got the following error:

CC arch/mips/kernel/signal.o

  CC      arch/mips/kernel/syscall.o
  CC      arch/mips/kernel/time.o
  CC      arch/mips/kernel/traps.o
  CC      arch/mips/kernel/unaligned.o
  CC      arch/mips/kernel/mips_ksyms.o
  CC      arch/mips/kernel/module.o
  AS      arch/mips/kernel/r4k_fpu.o
  AS      arch/mips/kernel/r4k_switch.o
  CC      arch/mips/kernel/smp.o
  CC      arch/mips/kernel/smp_mt.o

/home/ssf/bdcom/linux-mips-kernels/linux-2.6.15/arch/mips/kernel/smp_mt.c: In fu nction `prom_prepare_cpus':
/home/ssf/bdcom/linux-mips-kernels/linux-2.6.15/arch/mips/kernel/smp_mt.c:276: e
rror: `IRQ_PER_CPU' undeclared (first use in this function) /home/ssf/bdcom/linux-mips-kernels/linux-2.6.15/arch/mips/kernel/smp_mt.c:276: e
rror: (Each undeclared identifier is reported only once /home/ssf/bdcom/linux-mips-kernels/linux-2.6.15/arch/mips/kernel/smp_mt.c:276: e
rror: for each function it appears in.)
make[2]: *** [arch/mips/kernel/smp_mt.o] Error 1
make[1]: *** [arch/mips/kernel] Error 2
make: *** [_all] Error 2

Please anyone help me to solve this problem.

Krishna

---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

#1 lore raw

On Thu, Mar 30, 2006 at 01:13:13AM -0800, Krishna wrote:

Disable CONFIG_MIPS_MT.

Ralf