Yes, you need to re-compile the insmod (kallsym) to make it support ARM LE and I 
suppose you are using the little endian.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Amy Sumory
Sent: Thursday, October 09, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: Compile error for Xscale with KDB patch - error hit by kallsyms



Hello,

   I wish to use KDB on IQ80321 and I am using the 2.4.19 patch.

   I use x86 to cross compile the xscale kernel. In the end, I get errors in 
the following lines
(point by <----) of the Makefile as the kallsyms I have report that the 
architecture is not
compatible.

+kallsyms:
+ifeq ($(CONFIG_KALLSYMS),y)
+       @echo kallsyms pass 1
+       $(LD_VMLINUX) -o $(TMPPREFIX).tmp_vmlinux1
+       @$(KALLSYMS) $(TMPPREFIX).tmp_vmlinux1 > $(TMPPREFIX).tmp_kallsyms1.o 
<-----
+       @echo kallsyms pass 2
+       @$(LD_VMLINUX) $(TMPPREFIX).tmp_kallsyms1.o -o $(TMPPREFIX).tmp_vmlinux2
+       @$(KALLSYMS) $(TMPPREFIX).tmp_vmlinux2 > $(TMPPREFIX).tmp_kallsyms2.o 
<-----
+       @echo kallsyms pass 3
+       @$(LD_VMLINUX) $(TMPPREFIX).tmp_kallsyms2.o -o $(TMPPREFIX).tmp_vmlinux3
+       @$(KALLSYMS) $(TMPPREFIX).tmp_vmlinux3 > $(TMPPREFIX).tmp_kallsyms3.o 
<-----
+endif

   I there a kallsyms I can use which can run on x86 but understand xscale 
ELF's ?

   Thanks for your help in advance.

Regards
Amy

_________________________________________________________________
Add MSN 8 Internet Software to your existing Internet access and enjoy 
patented spam protection and more.  Sign up now!   
http://join.msn.com/?page=dept/byoa




Reply via email to