From: Bhavna YADAV Date: Thu, 16 Apr 2009 11:43:46 +0530 Subject: [U-Boot] u-boot-1.2.0 Compilation error with codesourcecry\sourcecry_g++_lite\2007q1-21 In-Reply-To: <20090416051130.D5FC483420E8@gemini.denx.de> Message-ID: <03e301c9be5a$80a23d20$2b52c70a@dlh.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks Wolfgang But can you please let me know why this "/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'" Error message coming is it related to EABI releated issue Actually when I add empty definition of this "__aeabi_unwind_cpp_pr0()" in u-boot I am able to build the Binary I am able to get u-boot prompt also on my board But problem I am facing is when I use this u-boot complete nand on my board goes bad. i.e u-boot> nand bad Above command shows complete nand as bad. Thanks & Regards Bhavna Yadav -----Original Message----- From: Wolfgang Denk [mailto:wd at denx.de] Sent: Thursday, April 16, 2009 10:42 AM To: Bhavna YADAV Cc: u-boot at lists.denx.de Subject: Re: [U-Boot] u-boot-1.2.0 Compilation error with codesourcecry\sourcecry_g++_lite\2007q1-21 Dear Bhavna YADAV, In message <03d201c9be4b$49779c50$2b52c70a@dlh.st.com> you wrote: > > I am trying to compile the u-boot-1.2.0 with > arm-none-linux-gnueabi-gcc i.e codesourcery tool chain but I get > compilation error ... > Can somebody please help me to resolve this issue. Ancient code and recent tools don't mix. Either use a tool chain that is as old as the code you are using, or (better) use current code. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Lead me not into temptation... I can find it myself.