<?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>build mesh example failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65714/build-mesh-example-failed</link><description>Hello 
 I meet a build problem, could any one help me solve this? 
 Mesh build enviorment: ubuntu + cmake 
 build command: cmake --build /home/yuguorong/work/nordicMesh/build --config Debug --target light_switch_client_nrf52832_xxAA_s132_7.0.1 -- -j 4</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 10:36:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65714/build-mesh-example-failed" /><item><title>RE: build mesh example failed</title><link>https://devzone.nordicsemi.com/thread/268922?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 10:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85aa30c1-e4a0-410a-92d1-1f0cfae0bcf6</guid><dc:creator>atrons</dc:creator><description>&lt;p&gt;My gcc version is: gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2&lt;/p&gt;
&lt;p&gt;My building is strictly following&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.2.0%2Fmd_doc_getting_started_how_to_build.html&amp;amp;anchor=how_to_build_cmake_generating"&gt;Generating Ninja or make build files&lt;/a&gt;&lt;span&gt;&amp;nbsp;section steps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;source ~/work/tools/virtualenvs/mesh/bin/activate&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;~/work/mesh/build$ cmake -G Ninja -DGENERATE_SES_PROJECTS=ON -DTOOLCHAIN=gccarmemb -DPLATFORM=nrf52840_xxAA -DSOFTDEVICE=s140_7.0.1 ..&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build mesh example failed</title><link>https://devzone.nordicsemi.com/thread/268917?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 10:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9814639-d089-4d54-a72b-f1d22771c9ac</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What version of the &lt;a href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads"&gt;GNU ARM Embedded Toolchain&lt;/a&gt; are you using? nRF5 SDK for Mesh v4.2.0 is tested with 9-2019-q4-major (9.2.1).&lt;/p&gt;
&lt;p&gt;Have you followed the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.2.0%2Fmd_doc_getting_started_how_to_build.html&amp;amp;anchor=how_to_build_cmake_generating"&gt;Generating Ninja or make build files&lt;/a&gt; section of the &amp;quot;Building the mesh stack and examples&amp;quot; documentation? What is the log output you get from that?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build mesh example failed</title><link>https://devzone.nordicsemi.com/thread/268655?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 07:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fb2b903-70a0-42b6-89bc-bba337460d28</guid><dc:creator>atrons</dc:creator><description>&lt;p&gt;Test passed with sgs embed studio at local host.&amp;nbsp;but&amp;nbsp;we need a remote shell tools for build project. what&amp;#39;s wrong????&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build mesh example failed</title><link>https://devzone.nordicsemi.com/thread/268649?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 07:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c4b458-d7da-48b4-9041-9efeacc571d8</guid><dc:creator>atrons</dc:creator><description>&lt;p&gt;build with nijia also meet same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;~/work/mesh/build$ ninja light_switch_server_nrf52840_xxAA_s140_7.0.1&lt;br /&gt;[37/124] Building C object examples/light_switch/server/CMakeFiles/light_switch_server_nrf52840_xxAA_s140_7.0.1.dir/__/__/common/src/app_error_weak.c.obj&lt;br /&gt;FAILED: /usr/local/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc -DBOARD_PCA10056 -DCONFIG_APP_IN_CORE -DCONFIG_GPIO_AS_PINRESET -DNRF52840 -DNRF52840_XXAA -DNRF52_SERIES -DNRF_SD_BLE_API_VERSION=7 -DS140 -DSOFTDEVICE_PRESENT -DUSE_APP_CONFIG -I../examples/light_switch/server/include -I../examples/light_switch/server/../include -I../examples/common/include -I../external/rtt/include -I../../nRF5_SDK_16.0.0_98a08e2/components/ble/common -I../../nRF5_SDK_16.0.0_98a08e2/components/softdevice/common -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/strerror -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/atomic -I../models/foundation/config/include -I../models/foundation/health/include -I../models/model_spec/generic_onoff/include -I../models/model_spec/common/include -I../mesh/friend/api -I../mesh/friend/include -I../mesh/bearer/api -I../mesh/bearer/include -I../mesh/stack/api -I../mesh/core/api -I../mesh/core/include -I../mesh/access/api -I../mesh/access/include -I../mesh/dfu/api -I../mesh/dfu/include -I../mesh/prov/api -I../mesh/prov/include -I../mesh/gatt/api -I../mesh/gatt/include -I../../nRF5_SDK_16.0.0_98a08e2/components/softdevice/s140/headers -I../../nRF5_SDK_16.0.0_98a08e2/components/softdevice/s140/headers/nrf52 -I../../nRF5_SDK_16.0.0_98a08e2/modules/nrfx -I../../nRF5_SDK_16.0.0_98a08e2/modules/nrfx/mdk -I../../nRF5_SDK_16.0.0_98a08e2/modules/nrfx/hal -I../../nRF5_SDK_16.0.0_98a08e2/components/toolchain/cmsis/include -I../../nRF5_SDK_16.0.0_98a08e2/components/toolchain/gcc -I../../nRF5_SDK_16.0.0_98a08e2/components/toolchain/cmsis/dsp/GCC -I../../nRF5_SDK_16.0.0_98a08e2/components/boards -I../../nRF5_SDK_16.0.0_98a08e2/integration/nrfx -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/util -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/timer -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/log -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/log/src -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/experimental_section_vars -I../../nRF5_SDK_16.0.0_98a08e2/components/libraries/delay -I../external/micro-ecc -I../external/micro-ecc/../../mesh/core/include --std=gnu99 -Wall -Wno-attributes -Wno-format -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -Og -g3 -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MD -MT examples/light_switch/server/CMakeFiles/light_switch_server_nrf52840_xxAA_s140_7.0.1.dir/__/__/common/src/app_error_weak.c.obj -MF examples/light_switch/server/CMakeFiles/light_switch_server_nrf52840_xxAA_s140_7.0.1.dir/__/__/common/src/app_error_weak.c.obj.d -o examples/light_switch/server/CMakeFiles/light_switch_server_nrf52840_xxAA_s140_7.0.1.dir/__/__/common/src/app_error_weak.c.obj -c ../examples/common/src/app_error_weak.c&lt;br /&gt;/tmp/ccjiKHUR.s: Assembler messages:&lt;br /&gt;/tmp/ccjiKHUR.s:400: Error: invalid constant (dead) after fixup&lt;br /&gt;[37/124] Building C object examples/light_switch/server/CMakeFiles/light_switch_server_nrf52840_xxAA_s140_7.0.1.dir/__/__/__/mesh/core/src/aes.c.obj&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>