From: Nishant Galange Date: Mon, 24 Jan 2005 18:08:30 +0000 Subject: [U-Boot-Users] Re: U-boot 0.3.0 compilation error with ELDK 3.0 Message-ID: <1106590110.8c249fdcnishant.subs@myrealbox.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I wish it were possible to get my hands on the person who first customised the u-boot. I'd shoot him for not starting out with a more recent version of u-boot in the first place. But whats done is done, and now I have this task in front of me. Is there absolutely no way out? What is more surprising is that the makefiles and config.mk files seem exactly the same as in u-boot 1.1.1. Especially the -Ttext 0xFFF00000 flag which is causing the error. I did find out that the -mrelocatable flag has changed to -fPIC. That was one of the first hurdles that I faced. But this one has me stumped. I repeat, is there absolutely no way out? I'm desperate. Anxiously, Nishant. -----Original Message----- From: Wolfgang Denk To: "Nishant Galange" Date: Mon, 24 Jan 2005 12:55:57 +0100 Subject: Re: [U-Boot-Users] U-boot 0.3.0 compilation error with ELDK 3.0 In message <1106566247.8c1d0e9cnishant.subs@myrealbox.com> you wrote: > > - ELDK 3.0 installed and running on my machine. > - customised u-boot 0.3.0 source meant for a 8266 based PMC addin card. > - no possible contact with the person who first customized and built it. > - the task of making some minor modifications in it. > > When I try to compile the above mentioned u-boot, I get the following error > : U-Boot 0.3.0 is too old and cannot be compiled with recent versions of GCC. GCC-3.x requires a few adaptions which were added in later versions of U-Boot. Pleas euse current code (I hope whoever provided the port to your board cared to send his patches upstream). Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de He who hesitates is not only lost, but miles from the next exit.