kdb
[Top] [All Lists]

RE: Compile error for Xscale with KDB patch - error hit by kallsyms

To: "Amy Sumory" <amy_sumory@xxxxxxxxxxx>, <kdb@xxxxxxxxxxx>
Subject: RE: Compile error for Xscale with KDB patch - error hit by kallsyms
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Thu, 9 Oct 2003 10:31:11 +0800
Sender: kdb-bounce@xxxxxxxxxxx
Thread-index: AcOOCydNRYA7ZVBvQHaAhU5cCZXUqQAAgWtQ
Thread-topic: Compile error for Xscale with KDB patch - error hit by kallsyms
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: kdb-bounce@xxxxxxxxxxx [mailto:kdb-bounce@xxxxxxxxxxx]On Behalf Of
Amy Sumory
Sent: Thursday, October 09, 2003 10:07 AM
To: kdb@xxxxxxxxxxx
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




<Prev in Thread] Current Thread [Next in Thread>