On Wed, 12 Nov 2003 09:37:28 +0800, "Dong, Eddie" <[EMAIL PROTECTED]> wrote: >That's stranger. When I did it, I use the Montavista PE2.1 and 1st build >it in >cross environment without debug symbol. After that boot the linux on >target >board(MV PE2.1 too) and rebuild the image with debug symbol. I never met > >this problem but guess it is insmod problem. > > >Keith: > Do you have any idea on this problem? >-----Original Message----- >From: Balakrishnan, Vinod K >Sent: Friday, October 31, 2003 6:13 AM >To: Dong, Eddie >Subject: kdb compilation problem on Xscale linux kernel > > >hi Eddie, > >I noticed your name on the kdb mailing list and the fact that you are an >Intel employee :). So I decided to mail you directly. I am working on >trying to get kdb running on linux version 2.4.18. > >The kdb I am using is version 4.3 for linux kernel 2.4.20. > >I am running into a problem while comiling the kernel (make zImage). > >I get the following error: >kallsyms pass 1 >xscale_be-ld -EB -p -X -T arch/arm/vmlinux.lds >arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o >init/version.o --start-group arch/arm/kernel/kernel.o arch/arm/mm/mm.o >arch/arm/mach-ixp2000/ixp2000.o kernel/kernel.o mm/mm.o fs/fs.o >ipc/ipc.o kdb/kdb.o drivers/char/char.o drivers/block/block.o >drivers/misc/misc.o drivers/net/net.o drivers/media/media.o >drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/i2c/i2c.o >net/network.o >/opt/hardhat/previewkit/lsp/intel-ixdp2400-previewkit-arm_xscale_be/linu >x-2.4.18_mvl30/arch/arm/kdb/kdba.o arch/arm/lib/lib.a >/opt/hardhat/previewkit/lsp/intel-ixdp2400-previewkit-arm_xscale_be/linu >x-2.4.18_mvl30/lib/lib.a --end-group -o .tmp_vmlinux1 >.tmp_vmlinux1: ELF file .tmp_vmlinux1 not for this architecture
kallsyms for 2.4 does not support cross compile. Either turn off kallsyms support or get a hacked version of kallsyms that supports cross compile and specify that version with 'make KALLSYMS=...'. Eddie, do you had a cross compile version of kallsyms that this person could use?
