<div dir="ltr"> Dear Nikolay,<div>would you please check, if you create and change your working directory to build your BSP, as mentioned in manual, before running configure?</div><div><br></div><div>See example below for erc32:</div><div><br></div><div><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">$ mkdir erc32</span></div><div><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">$ </span><span class="m_-8267985056185615839gmail-nb" style="font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;color:rgb(0,134,179)">cd</span><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px"> erc32</span></div><div><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">$ </span><span class="m_-8267985056185615839gmail-nv" style="font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;color:teal">$HOME</span><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">/development/rtems/</span><wbr style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px"><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">kernel/rtems/configure --prefix</span><span class="m_-8267985056185615839gmail-o" style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;font-weight:bold">=</span><span class="m_-8267985056185615839gmail-nv" style="font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;color:teal">$HOME</span><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">/development/</span><wbr style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px"><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">rtems/4.12 </span></div><div><span class="m_-8267985056185615839gmail-se" style="font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;color:rgb(221,17,68)"> \</span><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">--target</span><span class="m_-8267985056185615839gmail-o" style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;font-weight:bold">=</span><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">sparc-rtems4.12 --enable-rtemsbsp</span><span class="m_-8267985056185615839gmail-o" style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px;box-sizing:border-box;font-weight:bold">=</span><span style="color:rgb(64,64,64);font-family:consolas,"andale mono wt","andale mono","lucida console","lucida sans typewriter","dejavu sans mono","bitstream vera sans mono","liberation mono","nimbus mono l",monaco,"courier new",courier,monospace;font-size:12px">erc32 --enable-posix</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards, Alexey</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">2017-03-07 21:33 GMT+03:00 Nikolay Komashinskiy <span dir="ltr"><<a href="mailto:nikolay.komashinskiy@yandex.ru" target="_blank">nikolay.komashinskiy@yandex.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello, I am a student from Russia and I want to improve RTEMS BeagleBone BSP (ethernet, probably)</div><div>during the GSoC.</div><div> </div><div>But as for now, I have some difficulties - I can't build rtems or rtems samples.</div><div>I've already built tools.</div><div>I followed these guidelines:</div><div><a href="https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start" target="_blank">https://devel.rtems.org/wiki/<wbr>TBR/UserManual/Quick_Start</a></div><div><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></div><div><a href="http://embeddedden.blogspot.ru/2017/02/building-rtems-and-first-example.html" target="_blank">http://embeddedden.blogspot.<wbr>ru/2017/02/building-rtems-and-<wbr>first-example.html</a></div><div> </div><div>This is my configure command:</div><div><div>$RTEMS_DEV/rtems/kernel/rtems/<wbr>configure --enable-tests=samples --prefix=$RTEMS_DEV/rtems/4.12 \</div><div>--target=arm-rtems4.12 --enable-rtemsbsp=<wbr>beagleboneblack --enable-posix</div><div> </div><div>and during make process I have the following error:</div><div> </div><div><div>=== configuring in beagle (/home/nikolay/Projects/<wbr>development/rtems/kernel/<wbr>beagleboneblack/arm-rtems4.12/<wbr>c/beagleboneblack/lib/libbsp/<wbr>arm/beagle)</div><div>configure: running /bin/bash /home/nikolay/Projects/<wbr>development/rtems/kernel/<wbr>rtems/c/src/lib/libbsp/arm/<wbr>beagle/configure --disable-option-checking '--prefix=/home/nikolay/<wbr>Projects/development/rtems/4.<wbr>12' '--host=arm-rtems4.12' '--build=x86_64-pc-linux-gnu' '--target=arm-rtems4.12' '--enable-tests=samples' '--enable-posix' '--with-target-subdir=arm-<wbr>rtems4.12' '--exec-prefix=/home/nikolay/<wbr>Projects/development/rtems/4.<wbr>12/arm-rtems4.12' '--includedir=/home/nikolay/<wbr>Projects/development/rtems/4.<wbr>12/arm-rtems4.12/include' 'build_alias=x86_64-pc-linux-<wbr>gnu' 'host_alias=arm-rtems4.12' 'target_alias=arm-rtems4.12' '--with-project-root=../../' '--with-project-top=../../' 'RTEMS_BSP=beagleboneblack' 'RTEMS_BSP_FAMILY=beagle' 'CFLAGS=-mcpu=cortex-a8 -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-<wbr>declaration -Wstrict-prototypes -Wnested-externs' --cache-file=/dev/null --srcdir=/home/nikolay/<wbr>Projects/development/rtems/<wbr>kernel/rtems/c/src/lib/libbsp/<wbr>arm/beagle</div><div>checking for gmake... no</div><div>checking for make... make</div><div>checking build system type... x86_64-pc-linux-gnu</div><div>checking host system type... arm-unknown-rtems4.12</div><div>checking rtems target cpu... arm</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for arm-rtems4.12-strip... arm-rtems4.12-strip</div><div>checking for a thread-safe mkdir -p... /bin/mkdir -p</div><div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>configure: error: source directory already configured; run "make distclean" there first</div><div>configure: error: /home/nikolay/Projects/<wbr>development/rtems/kernel/<wbr>rtems/c/src/lib/libbsp/arm/<wbr>beagle/configure failed for beagle</div><div>configure: error: /home/nikolay/Projects/<wbr>development/rtems/kernel/<wbr>rtems/c/src/lib/libbsp/arm/<wbr>configure failed for lib/libbsp/arm</div><div> </div></div></div><br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div>