<div>Hi all,<br>I'm not sure whether these are the proper mail loops to ask about build problems. If not, please tell me one.<br><br>Anyway, when try to build the openmoko-devel-image (openmoko 2007.2 version) according to "<br><a href="http://wiki.openmoko.org/wiki/Getting_OpenMoko_working_on_host_with_Xoo" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Getting OpenMoko working on host with Xoo</a>" and "<a href="http://wiki.openmoko.org/wiki/MokoMakefile" title="MokoMakefile" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Building OpenMoko using the MokoMakefile<br></a>", I encountered the following problem with uboot build (the error message is attached at the end).<br><br>While, it can pass the build process if the<span style="font-style: italic;"> </span>"uboot-openmoko" flag is deleted from the Makefile but it can boot up the openmoko finally in the following steps.<br><br><br><br><br>BTW: the content of my local.conf is:<br>------------------------------<div id="mb_0"><wbr>---<br>MACHINE = "x86"<br>DISTRO = "openmoko"<br>BUILD_ARCH = "i686"<br>INHERIT += "rm_work"<br>TARGET_FPU = ""<br><br>------------------------------<wbr>---<br><br>Could anyone give me some help? Thanks a lot.<br><br>B.R.<br><br>Chaohong<br><br><br>=========================<br>...<br><span style="font-style: italic;">| make -C examples all<br></span><br style="font-style: italic;"><span style="font-style: italic;">| make[2]: Entering directory `/home/chaohong/moko/build/tmp<wbr>/work/i486-angstrom-linux<wbr>/uboot-openmoko-1.2.0+gitf34024d4a328e<wbr>6edd906456da98d2c537155c4f7<wbr>+svn2943-r1/git/examples<br>'</wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">|<br>i486-angstrom-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -fno-common<br>-ffixed-r8 -msoft-float&nbsp; -D__KERNEL__ -DTEXT_BASE=0x33F80000&nbsp;<br>-I/home/chaohong/moko/build<wbr>/tmp/work/i486-angstrom-linux<wbr>/uboot-<br>openmoko-1.2.0+gitf34024d4a328e<wbr>6edd906456da98d2c537155c4f7<wbr>+svn2943-r1/git/include -fno-builtin -ffreestanding -nostdinc -isystem /home/chaohong/moko/build/tmp<wbr>/cross/lib/gcc/i486-angstrom<wbr>-linux/4.1.2/include -pipe&nbsp; -DCONFIG_ARM -D__ARM__ -march=armv4&nbsp; -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c<br></wbr></wbr></wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">| hello_world.c:1: error: bad value (armv4) for -march= switch</span><br style="font-style: italic;"><span style="font-style: italic;">| hello_world.c:1: error: bad value (armv4) for -mtune= switch<br></span><br style="font-style: italic;"><span style="font-style: italic;">| make[2]: *** [hello_world.o] Error 1</span><br style="font-style: italic;"><span style="font-style: italic;">| make[2]: Leaving directory `/home/chaohong/moko/build/tmp<wbr>/work/i486-angstrom-linux<wbr>/uboot-<br>openmoko-1.2.0+gitf34024d4a328e<wbr>6edd906456da98d2c537155c4f7<wbr>+svn2943-r1/git/examples'</wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">| make[1]: *** [examples] Error 2</span><br style="font-style: italic;"><br><span style="font-style: italic;">| make[1]: Leaving directory `/home/chaohong/moko/build/tmp<wbr>/work/i486-angstrom-linux<wbr>/uboot-openmoko-1.2.0+gitf34024d4a328e<wbr>6edd906456da98d2c537155c4f7<wbr>+svn2943-r1/git'</wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><br><span style="font-style: italic;">| FATAL: oe_runmake failed</span><br style="font-style: italic;"><span style="font-style: italic;">NOTE: Task failed: /home/chaohong/moko/build/tmp<wbr>/work/i486-angstrom-linux<wbr>/uboot-openmoko-1.2.0+gitf34024d4a328e<wbr>6edd906456da98d2c537155c4f7<wbr>+svn2943-r1/temp/log.do<wbr>_compile.20684<br></wbr></wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">NOTE: package uboot-openmoko-1.2.0+gitf34024d<wbr>4a328e6edd906456da98d2c537155c4<wbr>f7+svn2943-r1: task do_compile: failed</wbr></wbr></span><br style="font-style: italic;"><br><span style="font-style: italic;">ERROR: TaskFailed event exception, aborting</span><br style="font-style: italic;"><span style="font-style: italic;">NOTE: package uboot-openmoko-1.2.0+gitf34024d<wbr>4a328e6edd906456da98d2c537155c4<wbr>f7+svn2943:<br> failed</wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">ERROR: Build of /home/chaohong/moko/openembedde<wbr>d/packages/uboot/uboot-openmoko<wbr>_1.2.0+gitf34024d4a328e6edd9064<wbr>56da98d2c537155c4f7+svn2943.bb do_compile failed<br></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">ERROR: Task 23 (/home/chaohong/moko/openembedd<wbr>ed/packages/uboot/uboot<wbr>-openmoko_1.2.0+gitf34024d4a328<wbr>e6edd906456da98d2c537155c4f7<wbr>+svn2943.bb, do_compile) failed<br></wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">NOTE: Tasks Summary: Attempted 2974 tasks of which 2969 didn't need to be rerun and 1 failed.</span><br style="font-style: italic;"><span style="font-style: italic;"><br>ERROR: '/home/chaohong/moko/openembedd<wbr>ed/packages/uboot/uboot<wbr>-openmoko_1.2.0+gitf34024d4a328<wbr>e6edd906456da98d2c537155c4f7<wbr>+svn2943.bb' failed</wbr></wbr></wbr></wbr></span><br style="font-style: italic;"><span style="font-style: italic;">make: *** [openmoko-devel-image] Error 1<br><br>==========================</span></wbr></wbr></div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div><div><br>--<br><div><i><font face="Verdana">积土而为山,积水而为海。</font></i></div></div><br><!-- footer --><br> 
<hr>
<a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://popme.163.com/link/003749_1210_8743.html">快乐下载,赢取大奖!</a> <font style="font-size:12px;line-height:15px;">感受全新世界,感受新的生活!</font>