[#4714] the first time to build mtd-utils will fail in trunk
Submitted By: Vivi Li
2008-12-11 04:06:30 Close Date
Closed Fixed In Release:
Found In Release:
Make Errors Board:
N/A Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: the first time to build mtd-utils will fail in trunk
Check out a clean source in latest trunk, build kernel will fail at mtd-utils.
But, if mtd-utils directory is not clean up and make again, it can built successfully.
Bellow is the log:
make: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils'^M
romfs-inst.sh -e CONFIG_USER_MTDUTILS_ERASE build-c918deda83f257d379dc62d36ab176a1b5f5c619/flash_erase /bin/flash_erase^M
romfs-inst.sh -e CONFIG_USER_MTDUTILS_ERASEALL build-c918deda83f257d379dc62d36ab176a1b5f5c619/flash_eraseall /bin/flash_eraseall^M
cp: cannot stat `build-c918deda83f257d379dc62d36ab176a1b5f5c619/flash_eraseall': No such file or directory^M
make: *** [romfs] Error 1^M
make: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils'^M
make: *** [romfs] Error 2^M
--- Sonic Zhang 2008-12-24 03:04:11
Disappear after Mike updated the version.
--- Vivi Li 2008-12-26 05:45:01
Yes it's ok now. Close it.
--- Mingquan Pan 2009-01-06 02:32:44
It is found that on suse 9.3 still has this problem, while on suse 10, no this
It looks the make system only builds out *.o and skip the rule to produce the
The whole log is attached.
--- Mike Frysinger 2009-01-06 02:36:23
what version of make is on suse 9.3 ?
--- Mingquan Pan 2009-01-07 23:14:10
on suse 9.3, it is:
GNU Make 3.80
Copyright (C) 2002 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
Linux my-local-machine 126.96.36.199-20a-smp #1 SMP Wed Mar 23 21:52:37 UTC 2005
i686 i686 i386 GNU/Linux
--- Mike Frysinger 2009-01-12 11:02:47
looks like a make-3.80 specific bug with pattern targets and paths ... ive
tweaked the code so it should work on both 3.80 and 3.81 now
--- Mingquan Pan 2009-01-14 02:51:02
Yes,it works for 3.80 too,close.
File Name File Type File Size Posted By
log4 application/octet-stream 92658 Mingquan Pan