Skip to contentSkip to conversation

u-boot-1.2.0 cross compilation fails

U-Boot-Users George Pitich 2 participants 2 messages Jun 2, 2008 – Jun 4, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

I was trying to build u-boot-1.2.0 for atmel (u-boot source code delivered by the board vendor). Tried this:

$ make CROSS_COMPILE=arm-linux- sam9l9260_config
$ make CROSS_COMPILE=arm-linux-

but it failed:

make -C tools all
make[1]: Entering directory /home/sam9l9260/u-boot-1.2.0-atmel/tools' make[1]: *** No rule to make target /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/stddef.h', needed by `img2srec.o'. Stop.
make[1]: Leaving directory `/home/sam9l9260/u-boot-1.2.0-atmel/tools'
make: *** [tools] Error 2

Looks like some header file related to Cygwin (which I don't need use). I'm cross-compiling on Linux etch. Tried poking into Makefile but to no avail.

Thanks,
g.

#1 lore raw

Hi George,

Quoted 19 lines

I was trying to build u-boot-1.2.0 for atmel (u-boot source code delivered by the board vendor). Tried this:

$ make CROSS_COMPILE=arm-linux- sam9l9260_config
$ make CROSS_COMPILE=arm-linux-

but it failed:

make -C tools all
make[1]: Entering directory /home/sam9l9260/u-boot-1.2.0-atmel/tools' make[1]: *** No rule to make target /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/stddef.h', needed by `img2srec.o'. Stop.
make[1]: Leaving directory `/home/sam9l9260/u-boot-1.2.0-atmel/tools'
make: *** [tools] Error 2

Quoted 3 lines

Looks like some header file related to Cygwin (which I don't need use). I'm cross-compiling on Linux etch. Tried poking into Makefile but to no avail.

Complain to where you got the sources from. In the official U-Boot 1.2.0 there is no sam9l9260 support. We cannot help you here much I'm afraid.

Cheers
Detlev

Signature · 8 lines
It's very important  that you sleep because that's  when your brain is
garbage  collecting.  And a  dream is  if you  are interrupted  in the
middle and have junk left in the registers.
                                          -- Gerald Sussman
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de