<?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>example lte_ble_gate failed on nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109523/example-lte_ble_gate-failed-on-nrf9160</link><description>Hello, 
 I am trying to build the lte_ble_gate example from &amp;quot;ncs\v2.5.2\nrf\samples\cellular\lte_ble_gateway&amp;quot; for nRF9160. 
 I haven&amp;#39;t made any changes but the example failed to build. 
 This is the error that I get: 
 [343/350] Linking C executable zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Mar 2024 08:39:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109523/example-lte_ble_gate-failed-on-nrf9160" /><item><title>RE: example lte_ble_gate failed on nRF9160</title><link>https://devzone.nordicsemi.com/thread/475319?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 08:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b7cc33c-0ec4-4e8b-bf22-3dc70ce15ca1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user="Surya09"]/hci_uart/src/main.c:403: more undefined references to `__device_dts_ord_107&amp;#39; follow[/quote]
&lt;p&gt;See this guide on how to debug these kinds of erros:&amp;nbsp;&lt;a href="https://blog.golioth.io/zephyr-devicetree-troubleshooting-generated-files/"&gt;https://blog.golioth.io/zephyr-devicetree-troubleshooting-generated-files/&lt;/a&gt;&lt;/p&gt;
[quote user="Surya09"]Also, the same happens with many other example such as hci_lpuart. The error is also related to device tree.&amp;nbsp;[/quote]
&lt;p&gt;Maybe you have made some changes the nRF9160-DK boards files, that is now affecting these samples.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example lte_ble_gate failed on nRF9160</title><link>https://devzone.nordicsemi.com/thread/475196?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 15:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57045bdf-5c6e-44ab-a0aa-f9b4818d43dc</guid><dc:creator>Surya09</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Adding the revision filed gives different error but it is also related to device tree:&lt;/p&gt;
&lt;p&gt;-- west build: building application&lt;br /&gt;[2/172] Generating include/generated/version.h&lt;br /&gt;-- Zephyr version: 3.4.99 (C:/ncs_new/v2.5.0/zephyr), build: 2e2523efe52a&lt;br /&gt;[167/172] Linking C executable zephyr\zephyr_pre0.elf&lt;br /&gt;FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map &lt;br /&gt;cmd.exe /C &amp;quot;cd . &amp;amp;&amp;amp; C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf &amp;amp;&amp;amp; cmd.exe /C &amp;quot;cd /D C:\ncs_new\v2.5.0\nrf\samples\bluetooth\hci_lpuart\build\zephyr &amp;amp;&amp;amp; C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe -E true&amp;quot;&amp;quot;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `uart_irq_tx_ready&amp;#39;:&lt;br /&gt;C:/ncs_new/v2.5.0/zephyr/include/zephyr/drivers/uart.h:939: undefined reference to `__device_dts_ord_107&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `z_impl_uart_irq_tx_disable&amp;#39;:&lt;br /&gt;C:/ncs_new/v2.5.0/zephyr/include/zephyr/drivers/uart.h:904: undefined reference to `__device_dts_ord_107&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `uart_fifo_read&amp;#39;:&lt;br /&gt;C:/ncs_new/v2.5.0/zephyr/include/zephyr/drivers/uart.h:820: undefined reference to `__device_dts_ord_107&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `hci_uart_init&amp;#39;:&lt;br /&gt;C:/ncs_new/v2.5.0/zephyr/samples/bluetooth/hci_uart/src/main.c:342: undefined reference to `__device_dts_ord_107&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `rx_isr&amp;#39;:&lt;br /&gt;C:/ncs_new/v2.5.0/zephyr/samples/bluetooth/hci_uart/src/main.c:193: undefined reference to `__device_dts_ord_107&amp;#39;&lt;br /&gt;c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj):C:/ncs_new/v2.5.0/zephyr/samples/bluetooth/hci_uart/src/main.c:403: more undefined references to `__device_dts_ord_107&amp;#39; follow&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncs_new\v2.5.0\nrf\samples\bluetooth\hci_lpuart\build&amp;#39;&lt;/p&gt;
&lt;p&gt;Also, the same happens with many other example such as hci_lpuart. The error is also related to device tree.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I looked&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/build/dts/troubleshooting.html"&gt;zephyr&amp;nbsp;&lt;/a&gt;&amp;nbsp;and followed the approach but didn&amp;#39;t find any issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I compiled with other SDK and toolchain it work of some example but other failed.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example lte_ble_gate failed on nRF9160</title><link>https://devzone.nordicsemi.com/thread/475190?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 15:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9034457-e9c0-41c3-b003-edbfee1b884f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try adding the r&lt;span&gt;evision&amp;nbsp;&lt;/span&gt;of the DK you have in the Revision field. example:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1711033444133v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example lte_ble_gate failed on nRF9160</title><link>https://devzone.nordicsemi.com/thread/475178?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 14:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e3db12f-1315-4409-b9b2-2fee4006ae6c</guid><dc:creator>Surya09</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;span style="background-color:#eeeeee;"&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks for reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I build it for&amp;nbsp;&lt;span&gt;nrf9160dk_nrf9160_ns as I will be using it for nRF9160 dk board.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: example lte_ble_gate failed on nRF9160</title><link>https://devzone.nordicsemi.com/thread/475173?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 14:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d853dad-db6b-48e5-9f51-4c1db93815fa</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;What board target did you build for?&amp;nbsp;&lt;span&gt;nrf9160dk_nrf9160_ns or something else?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/samples/cellular/lte_ble_gateway/README.html#requirements"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/samples/cellular/lte_ble_gateway/README.html#requirements&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>