[#4714] the first time to build mtd-utils will fail in trunk
Submitted By: Vivi Li
Open Date
2008-12-11 04:06:30 Close Date
2009-01-14 02:51:02
Priority:
Medium Assignee:
Mike Frysinger
Mingquan Pan
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Make Errors Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
Toolchain4.1_2008-11-14
App binary format:
N/A
Summary: the first time to build mtd-utils will fail in trunk
Details:
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[2]: 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[2]: *** [romfs] Error 1^M
make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/mtd-utils'^M
make[1]: *** [romfs] Error 2^M
--
Follow-ups
--- 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
issue.
It looks the make system only builds out *.o and skip the rule to produce the
binary.
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:
test@my-local-machine:~/work/cruise/checkouts/uclinux-dist/testsuites/ethernet>
make --version
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
PARTICULAR PURPOSE.
test@my-local-machine:~/work/cruise/checkouts/uclinux-dist/testsuites/ethernet>
uname -a
Linux my-local-machine 2.6.11.4-20a-smp #1 SMP Wed Mar 23 21:52:37 UTC 2005
i686 i686 i386 GNU/Linux
test@my-local-machine:~/work/cruise/checkouts/uclinux-dist/testsuites/ethernet>
--- 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.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
log4 application/octet-stream 92658 Mingquan Pan