<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Got build error when built &amp;#39;zephyr/zephyr.elf&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44902/got-build-error-when-built-zephyr-zephyr-elf</link><description>Hi, 
 I just pulled the source code of &amp;#39;nrf&amp;#39; from the git server (SHA1 ID: 383da27cc232bd7baa353e965b7fe8fa08b56d77). 
 After performed &amp;#39;west update&amp;#39; to sync other repos, I built &amp;#39;zephyr/zephyr.elf&amp;#39; on SES. 
 I got build error: 
 [Errno 2] No such file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Mar 2019 12:48:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44902/got-build-error-when-built-zephyr-zephyr-elf" /><item><title>RE: Got build error when built 'zephyr/zephyr.elf'</title><link>https://devzone.nordicsemi.com/thread/177334?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 12:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9d61b7f-1685-4762-8e6c-3c064bb9aa51</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;HI Terry,&lt;br /&gt;I have a suspicion that there may be some instability when it comes to the different versions of the repositories?&lt;/p&gt;
&lt;p&gt;Please make sure that everything is in master:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;cd &amp;lt;sourcecode_root&amp;gt;\ncs\zephyr ; &lt;/code&gt;git checkout master ; git pull&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;cd &amp;lt;sourcecode_root&amp;gt;\ncs\mcuboot ; &lt;/code&gt;git checkout master ; git pull&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;cd &amp;lt;sourcecode_root&amp;gt;\ncs\nrf ; &lt;/code&gt;git checkout master ; git pull&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;cd &amp;lt;sourcecode_root&amp;gt;\ncs\nrfxlib ; &lt;/code&gt;git checkout master ; git pull&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;Or you can get &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_ins_windows.html#installing-west"&gt;West&lt;/a&gt;&amp;nbsp;which is a tool that helps you out with the correct version as well making it easier (in my opinion) to build and flash samples.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got build error when built 'zephyr/zephyr.elf'</title><link>https://devzone.nordicsemi.com/thread/177192?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 01:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f99333-7f0b-49df-8562-d2c17653a764</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;After referencing your suggested link, I still got error when I tried to complie.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;export GNUARMEMB_TOOLCHAIN_PATH=/home/terrychan/gcc-arm/eabi-7-2018-q2-update/&lt;br /&gt;export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;cd zephyr&lt;br /&gt;source zephyr-env.sh&lt;br /&gt;cd ..&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;cd $NCS_BASE/nrf/applications/asset_tracker/&lt;br /&gt;mkdir build &amp;amp;&amp;amp; cd build&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;cmake -GNinja -DBOARD=nrf9160_pca10090ns ..&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;ninja&lt;/p&gt;
&lt;p&gt;The error I got as below:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;zephyr/misc/generated/configs.c: In function &amp;#39;_ConfigAbsSyms&amp;#39;:&lt;br /&gt;zephyr/misc/generated/configs.c:18:136: error: expected expression before &amp;#39;)&amp;#39; token&lt;br /&gt; GEN_ABSOLUTE_SYM(CONFIG_FLIP_INPUT, );&lt;br /&gt; ^&lt;br /&gt;zephyr/misc/generated/configs.c:25:151: error: expected expression before &amp;#39;)&amp;#39; token&lt;br /&gt; GEN_ABSOLUTE_SYM(CONFIG_TEMP_SIM_BUTTON, );&lt;br /&gt; ^&lt;br /&gt;[28/162] Building C object CMakeFiles/app.dir/src/main.c.obj&lt;br /&gt;../src/main.c: In function &amp;#39;button_handler&amp;#39;:&lt;br /&gt;../src/main.c:809:61: warning: left shift count is negative [-Wshift-count-negative]&lt;br /&gt; if (IS_ENABLED(CONFIG_ACCEL_USE_SIM) &amp;amp;&amp;amp; (has_changed &amp;amp; FLIP_INPUT)) {&lt;br /&gt; ^~&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;/p&gt;
&lt;p&gt;Do you have any suggestion? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Got build error when built 'zephyr/zephyr.elf'</title><link>https://devzone.nordicsemi.com/thread/176449?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 14:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdcd6980-6b8c-43bc-8da1-8413a92d2cd4</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Terry,&lt;br /&gt;Unfortunately, there is an issue when building with the master branch and SES.&amp;nbsp;&lt;br /&gt;&lt;strong&gt;We are working on it and a fixed version will come very soon.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As for now I can only recommend you to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44879/build-nrf-connect-sdk-project-via-command-line"&gt;build the projects via the Command Line.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>