[U-Boot] Build failures at bb3bcfa2

Stefan Roese sr at denx.de
Wed Dec 16 13:00:34 CET 2009


On Wednesday 16 December 2009 12:49:09 Premi, Sanjeev wrote:
> > >  envcrc crc32.o env_embedded.o envcrc.o sha1.o /usr/bin/ld: crc32.o:
> > >  Relocations in generic ELF (EM: 40)
> > > crc32.o: could not read symbols: File in wrong format
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [envcrc] Error 1
> > > make[1]: Leaving directory `/home/premi/u-boot/tools'
> > > make: *** [tools] Error 2
> >
> > Most likely the same problem I stumbled upon a few days ago.
> > Here my thread:
> >
> > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/71125/f
> > ocus=72327
> >
> > Do you by any chance have a copy of/link to crc32.c,
> > env_embedded.c, etc.
> > sitting in your tools directory?
> 
> Yes. I do have them. I looked at the thread; and the problem is same.
> 
> One question: Theses links were not manually created. They would have
> been created earlier by some script; and or specific patch.

I have to admit that I don't know how those files/links were created.
 
> If they are not needed; is it possible to remove them by a
> make distclean/mrproper - I had tried both.
> 
> If it makes sense; I can attempt making a quick patch.

git could help here. "git clean" should remove those files/links for you.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list