<div dir="ltr"><div><span style="font-size:14px">hello</span></div><span style="font-size:14px">I have looked at the steps documented here: </span><a href="https://docs.rtems.org/branches/master/user/start/index.html" target="_blank" style="font-size:14px">https://docs.rtems.org/<wbr>branches/master/user/start/<wbr>index.html</a><br><div>Something different is I ran RSB for the “all.bset” , which <span style="font-size:14px">contain seventeen architectures.</span></div><div><span style="font-size:14px">--------------------------------------------------------------------</span></div><div><span style="font-size:14px">I do this and succeed:</span></div><div><div style="font-size:14px"><font color="#ff0000">(1)Rtems source Build</font></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ sudo apt-get build-dep binutils gcc g++ gdb unzip git python2.7-dev</span><br></font></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ export PATH=$HOME/development/rtems/4<wbr>.12/bin:$PATH</span><span style="font-family:arial"><br></span></font></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ cd</span><br style="font-family:arial"><span style="font-family:arial">$ mkdir -p development/rtems/src</span><br style="font-family:arial"><span style="font-family:arial">$ cd development/rtems/src</span><span style="font-family:arial"><br></span></font></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ git clone git://<a href="http://git.rtems.org/rtems-source-builder.git" target="_blank">git.rtems.org/rtems-sour<wbr>ce-builder.git</a></span><br style="font-family:arial"><span style="font-family:arial">$ cd rtems-source-builder</span><br style="font-family:arial"></font></div><div style="font-size:14px"><span style="font-family:arial"><font color="#00ff00">$ source-builder/sb-check</font></span><br style="color:rgb(0,0,0);font-family:arial"><span style="color:rgb(0,0,0);font-family:arial">RTEMS Source Builder environment is ok </span><span style="color:rgb(0,0,0);font-family:arial"><br></span></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ cd rtems</span><br></font></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial"> </span><span style="font-family:arial">$</span><span style="font-family:arial"> </span><span style="font-family:arial">../source-builder/sb-set-bu<wbr>ilder --log=l-all.txt  \</span></font></div><div style="font-size:14px"><span style="font-family:arial"><font color="#00ff00">                --prefix=$HOME/development/rte<wbr>ms/4.12  4.12/rtems-all</font></span></div></div><div><span style="font-size:14px">I do this and something error:</span></div><div><span style="color:rgb(255,0,0);font-family:arial;font-size:14px">(2)Rtems build</span><span style="font-size:14px"><br></span></div><div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ cd ~/development/rtems/src</span><br style="font-family:arial"><span style="font-family:arial">$ git clone git://<a href="http://git.rtems.org/rtems.git" target="_blank">git.rtems.org/rtems.git</a></span><span style="font-family:arial"><br></span></font></div><div style="font-size:14px"><font color="#00ff00"><span style="font-family:arial">$ export PATH=$HOME/development/rtems/4<wbr>.12/bin:$PATH</span><br style="font-family:arial"><span style="font-family:arial">$ cd rtems</span><br style="font-family:arial"><span style="font-family:arial">$ ./bootstrap</span></font></div></div><div style="font-size:14px"><span style="font-family:arial"><font color="#ff0000">...</font></span></div><div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm34/Makefile.am:3: warning: source file '../tm03/task1.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm34/Makefile.am:3: but option 'subdir-objects' is disabled</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm34/Makefile.am:3: warning: source file '../../support/src/tmtests_empty_function.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm34/Makefile.am:3: but option 'subdir-objects' is disabled</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm35/Makefile.am:3: warning: source file '../tm02/task1.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm35/Makefile.am:3: but option 'subdir-objects' is disabled</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tm35/Makefile.am:3: warning: source file '../../support/src/tmtests_empty_function.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">........</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tm28/Makefile.am:7: warning: source file '../../support/init.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tm28/Makefile.am:7: but option 'subdir-objects' is disabled</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tm29/Makefile.am:7: warning: source file '../../support/init.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tm29/Makefile.am:7: but option 'subdir-objects' is disabled</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tmck/Makefile.am:7: warning: source file '../../support/init.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tmck/Makefile.am:7: but option 'subdir-objects' is disabled</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">tmtests/tmoverhd/Makefile.am:7: warning: source file '../../support/init.c' is in a subdirectory,</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">....</span></font></div><div><br></div></div><div><div><font face="arial" color="#00ff00"><span style="font-size:14px">$../rtems/configure \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--prefix=`pwd`/../rtems_i386 \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--target=i386-rtems4.12 \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--enable-posix \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--enable-networking \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--enable-tests \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--enable-rdbg \</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">--enable-rtemsbsp="pc386"</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">...</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking for a thread-safe mkdir -p... /bin/mkdir -p</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking for gawk... no</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking for mawk... mawk</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking whether make sets $(MAKE)... yes</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking whether make supports nested variables... yes</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking whether to enable maintainer-specific portions of Makefiles... no</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">checking that generated files are newer than configure... done</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">configure: creating ./config.status</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">config.status: creating Makefile</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px"><br></span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">target architecture: i386.</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">available BSPs: pc386.</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">'make all' will build the following BSPs: pc386.</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px"><br></span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">config.status: creating Makefile</span></font></div></div><div><span style="font-family:arial;font-size:14px"><font color="#00ff00"><br></font></span></div><div><div><font face="arial" color="#00ff00"><span style="font-size:14px">$make</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">...</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">Making all in testsuites/tools</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[1]: 正在进入目录 `/home/libing403/development/rtems/src/i386-rtems-build/testsuites/tools'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">Making all in generic</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 正在进入目录 `/home/libing403/development/rtems/src/i386-rtems-build/testsuites/tools/generic'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 没有什么可以做的为 `all'。</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]:正在离开目录 `/home/libing403/development/rtems/src/i386-rtems-build/testsuites/tools/generic'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 正在进入目录 `/home/libing403/development/rtems/src/i386-rtems-build/testsuites/tools'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 没有什么可以做的为 `all-am'。</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]:正在离开目录 `/home/libing403/development/rtems/src/i386-rtems-build/testsuites/tools'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[1]:正在离开目录 `/home/libing403/development/rtems/src/i386-rtems-build/testsuites/tools'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">Making all in i386-rtems4.12/c</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[1]: 正在进入目录 `/home/libing403/development/rtems/src/i386-rtems-build/i386-rtems4.12/c'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">Making all in .</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 正在进入目录 `/home/libing403/development/rtems/src/i386-rtems-build/i386-rtems4.12/c'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 没有什么可以做的为 `all-am'。</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]:正在离开目录 `/home/libing403/development/rtems/src/i386-rtems-build/i386-rtems4.12/c'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">Making all in pc386</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: 正在进入目录 `/home/libing403/development/rtems/src/i386-rtems-build/i386-rtems4.12/c/pc386'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]: *** 没有规则可以创建目标“all”。 停止。</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[2]:正在离开目录 `/home/libing403/development/rtems/src/i386-rtems-build/i386-rtems4.12/c/pc386'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[1]: *** [all-recursive] 错误 1</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make[1]:正在离开目录 `/home/libing403/development/rtems/src/i386-rtems-build/i386-rtems4.12/c'</span></font></div><div><font color="#ff0000" face="arial"><span style="font-size:14px">make: *** [all-recursive] 错误 1</span></font></div></div><div><span style="font-family:arial;font-size:14px"><font color="#000000">--------------------------------------------------------------------------------------------</font></span></div><div><div><font face="arial" color="#00ff00"><span style="font-size:14px">$~/development/rtems/src/rtems$ ./rtems-bsps </span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px">RTEMS 4.12</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> Architectures: 17</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> BSP Count: 172</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px">arm:</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> altcycv_devkit                c/src/lib/libbsp/arm/altera-cyclone-v</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> altcycv_devkit_smp            c/src/lib/libbsp/arm/altera-cyclone-v</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> atsamv                        c/src/lib/libbsp/arm/atsam</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> beagleboardorig               c/src/lib/libbsp/arm/beagle</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> beagleboardxm                 c/src/lib/libbsp/arm/beagle</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> beagleboneblack               c/src/lib/libbsp/arm/beagle</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> beaglebonewhite               c/src/lib/libbsp/arm/beagle</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> csb336                        c/src/lib/libbsp/arm/csb336</span></font></div><div><font face="arial" color="#000000"><span style="font-size:14px"> csb337                        c/src/lib/libbsp/arm/csb337</span></font></div></div><div><font face="arial" color="#000000"><span style="font-size:14px">--------------------------------------------------------------------------------</span></font></div><div><span style="color:rgb(0,0,0);font-family:"lucida grande",verdana,"microsoft yahei";font-size:14px">I would be grateful for any tips.</span><span style="color:rgb(255,0,0);font-family:arial;font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"lucida grande",verdana,"microsoft yahei";font-size:14px"><br></span></div><div><div style="font-family:"lucida grande",verdana,"microsoft yahei";color:rgb(144,144,144);font-size:12px"><span style="color:rgb(0,0,0);font-size:14px">Regards,</span></div><div style="font-size:14px;color:rgb(0,0,0);font-family:verdana"><font size="4" style="line-height:30.6px">LiBing</font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-13 20:30 GMT+08:00 Tanu Hari Dixit <span dir="ltr"><<a href="mailto:tokencolour@gmail.com" target="_blank">tokencolour@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi LiBing,<br><br></div>What exactly was the error?<br></div>Did you run configure command after bootstrapping?<br></div>You can consider looking at the steps documented here: <a href="https://docs.rtems.org/branches/master/user/start/index.html" target="_blank">https://docs.rtems.org/<wbr>branches/master/user/start/<wbr>index.html</a><br></div><br></div>Regards,<br></div>Tanu Hari Dixit.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 13, 2017 at 5:46 PM, libing403 <span dir="ltr"><<a href="mailto:libing18934721626@gmail.com" target="_blank">libing18934721626@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div>      I have ran the Rtems Source Builder with "all.bset" that contain seventeen architectures. it took about 12 hours and succeed.</div><div>      what I need to do after that? could I begin to build the Rtems . But when I build the Rtems ,there are many errors.</div><div>The command line that I used are following:</div><div><font style="background-color:rgb(255,255,255)" color="#ff0000">(1)Rtems source Build</font></div><div><font color="#00ff00"><span style="font-family:arial;font-size:14px">$ sudo apt-get build-dep binutils gcc g++ gdb unzip git python2.7-dev</span><br></font></div><div><font color="#00ff00"><span style="font-family:arial;font-size:14px">$ export PATH=$HOME/development/rtems/4<wbr>.12/bin:$PATH</span><span style="font-family:arial;font-size:14px"><br></span></font></div><div><font color="#00ff00"><span style="font-family:arial;font-size:14px">$ cd</span><br style="font-family:arial;font-size:14px"><span style="font-family:arial;font-size:14px">$ mkdir -p development/rtems/src</span><br style="font-family:arial;font-size:14px"><span style="font-family:arial;font-size:14px">$ cd development/rtems/src</span><span style="font-family:arial;font-size:14px"><br></span></font></div><div><font color="#00ff00"><span style="font-family:arial;font-size:14px">$ git clone git://<a href="http://git.rtems.org/rtems-source-builder.git" target="_blank">git.rtems.org/rtems-sour<wbr>ce-builder.git</a></span><br style="font-family:arial;font-size:14px"><span style="font-family:arial;font-size:14px">$ cd rtems-source-builder</span><br style="font-family:arial;font-size:14px"></font></div><div><span style="font-family:arial;font-size:14px"><font color="#00ff00">$ source-builder/sb-check</font></span><br style="color:rgb(0,0,0);font-family:arial;font-size:14px"><span style="color:rgb(0,0,0);font-family:arial;font-size:14px;background-color:rgb(255,255,255)">RTEMS Source Builder environment is ok </span><span style="color:rgb(0,0,0);font-family:arial;font-size:14px"><br></span></div><div><font color="#00ff00"><span style="font-family:arial;font-size:14px">$ cd rtems</span><br></font></div><div><font color="#00ff00"><span style="font-family:arial;font-size:14px"> </span><span style="font-family:arial;font-size:14px">$</span><span style="font-family:arial;font-size:14px"> </span><span style="font-family:arial;font-size:14px">../source-builder/sb-set-bu<wbr>ilder --log=l-all.txt  \</span></font></div><div><span style="font-family:arial;font-size:14px"><font color="#00ff00">                --prefix=$HOME/development/rte<wbr>ms/4.12  4.12/rtems-all</font></span><span style="color:rgb(0,0,0);font-family:arial;font-size:14px"><br></span></div><div><span style="font-family:arial;font-size:14px"><font color="#ff0000">(2)Rtems build</font></span></div><div><span style="color:rgb(0,0,0);font-family:arial;font-size:14px">$ cd ~/development/rtems/src</span><br style="color:rgb(0,0,0);font-family:arial;font-size:14px"><span style="color:rgb(0,0,0);font-family:arial;font-size:14px">$ git clone git://<a href="http://git.rtems.org/rtems.git" target="_blank">git.rtems.org/rtems.git</a></span><span style="font-family:arial;font-size:14px"><font color="#ff0000"><br></font></span></div><div><span style="color:rgb(0,0,0);font-family:arial;font-size:14px">$ export PATH=$HOME/development/rtems/4<wbr>.12/bin:$PATH</span><br style="color:rgb(0,0,0);font-family:arial;font-size:14px"><span style="color:rgb(0,0,0);font-family:arial;font-size:14px">$ cd rtems</span><br style="color:rgb(0,0,0);font-family:arial;font-size:14px"><span style="color:rgb(0,0,0);font-family:arial;font-size:14px">$ ./bootstrap</span><span style="color:rgb(0,0,0);font-family:arial;font-size:14px"><br></span></div><div>After ran this command line , there are many warning, and ran</div><div>$make </div><div> Error occurred</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:"lucida grande",verdana,"microsoft yahei";font-size:14px"> I would be grateful for any tips.</span><br></div><div><span style="color:rgb(0,0,0);font-family:"lucida grande",verdana,"microsoft yahei";font-size:14px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"lucida grande",verdana,"microsoft yahei";font-size:14px">---------------</span></div><div><div style="font-family:"lucida grande",verdana,"microsoft yahei";color:rgb(144,144,144);font-size:12px"><span style="color:rgb(0,0,0);font-size:14px">Regards,</span></div><div style="color:rgb(0,0,0);font-size:14px;font-family:verdana"><font style="line-height:30.6px" size="4">LiBing</font></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman<wbr>/listinfo/users</a><br></blockquote></div><br></div>
</blockquote></div><br></div>