problems on compiling 2.4.3 kernel for sead-2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, everyone

Using Linux-2.4.3, choosing sead machine support and mips32 CPU, I compile the kernel, and get the following error message when linking: 
(my environment is: mipsel-linux-gcc version 2.95.4 20010319 (prerelease); 
                  mipsel-linux-ld GNU ld version 2.14 20030612)

......
sed -e \'s/@@OUTPUT_FORMAT@@/elf32-tradlittlemips/\' \\
    -e \'s/@@LOADADDR@@/0x80100000/\' <arch/mips/ld.script.in >arch/mips/ld.script
mipsel-linux-ld -static -G 0 -T arch/mips/ld.script arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o init/version.o \\
        --start-group \\
        arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o \\
        drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o  drivers/scsi/scsidrv.o drivers/cdrom/driver.o \\
        net/network.o \\
        arch/mips/lib/lib.a /home/lf/zhmtan/linux-2.4.3/lib/lib.a arch/mips/mips-boards/sead/sead.o arch/mips/mips-boards/generic/mipsboards.o \\
        --end-group \\
        -o vmlinux
arch/mips/kernel/kernel.o(__ksymtab+0x80): undefined reference to `enable_irq\'
arch/mips/kernel/kernel.o(__ksymtab+0x88): undefined reference to `disable_irq\'
arch/mips/mm/mm.o(.text.init+0x84c): In function `setup_noscache_funcs\':
: undefined reference to `coherency\'
arch/mips/mm/mm.o(.text.init+0x850): In function `setup_noscache_funcs\':
: undefined reference to `coherency\'
arch/mips/mm/mm.o(.text.init+0x938): In function `setup_scache_funcs\':
: undefined reference to `coherency\'
arch/mips/mm/mm.o(.text.init+0x93c): In function `setup_scache_funcs\':
: undefined reference to `coherency\'
arch/mips/mips-boards/generic/mipsboards.o(.text+0x140): In function `mipsIRQ\':
: undefined reference to `corehi_irqdispatch\'
make: *** [vmlinux] Error 1

I wish the help from you.

By the way, can I download kernel image to the target board through serial port, via minicom and yamon?

thanks a lot!
 

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux