[U-Boot-Users] U-boot-1.1.5: No rule to make target `hello_world.srec`

Hi;
<snip> make -C examples all make[1]: Entering directory `/home/tehkok/u-boot-1.1.5/examples' mips_4KC-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0xbfc00000 -I/home/tehkok/u-boot-1.1.5/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk/usr/bin/../lib/gcc-lib/mips-linux/3.3.3/include -pipe -DCONFIG_MIPS -D__MIPS__ -march=4kc -mtune=4kc -EB -mabicalls -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c mips_4KC-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0xbfc00000 -I/home/tehkok/u-boot-1.1.5/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk/usr/bin/../lib/gcc-lib/mips-linux/3.3.3/include -pipe -DCONFIG_MIPS -D__MIPS__ -march=4kc -mtune=4kc -EB -mabicalls -Wall -Wstrict-prototypes -c -o stubs.o stubs.c mips_4KC-ar crv libstubs.a stubs.o a - stubs.o make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop. make[1]: Leaving directory `/home/tehkok/u-boot-1.1.5/examples' make: *** [examples] Error 2 [tehkok@linux2:~/u-boot-1.1.5 13]$ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for i486-pc-linux-gnu [tehkok@linux2:~/u-boot-1.1.5 15]$
Any advice is appreciated.
Regards, Kok How

On 1/16/07, KokHow.Teh@infineon.com KokHow.Teh@infineon.com wrote:
a - stubs.o make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop. make[1]: Leaving directory `/home/tehkok/u-boot-1.1.5/examples' make: *** [examples] Error 2
IIRC, this was exposed by a change between make 3.80 and 3.81. At various times people have posted patches for this on the mailing list, but you'll have to search for them.
Alternately, just remove the examples directory from the top level Makefile.
Cheers, g.

On Wednesday 17 January 2007 05:12, Grant Likely wrote:
On 1/16/07, KokHow.Teh@infineon.com KokHow.Teh@infineon.com wrote:
a - stubs.o make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop. make[1]: Leaving directory `/home/tehkok/u-boot-1.1.5/examples' make: *** [examples] Error 2
IIRC, this was exposed by a change between make 3.80 and 3.81. At various times people have posted patches for this on the mailing list, but you'll have to search for them.
Alternately, just remove the examples directory from the top level Makefile.
Or just update to a more recent version of U-Boot. This problem has been fixed a few months ago.
Best regards, Stefan
participants (3)
-
Grant Likely
-
KokHow.Teh@infineon.com
-
Stefan Roese