<?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>SES linker error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49811/ses-linker-error</link><description>Hello, 
 
 I&amp;#39;ve modified(added custom libraries) an existing example project from the SDK(v 15.3), and I&amp;#39;m trying to build and flash it. 
 The project compiles fine, but throws a bunch of linker errors as shown below: 
 
 
 
 
 
 Can someone help with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2019 18:23:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49811/ses-linker-error" /><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/207749?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 18:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac710f0c-cb9d-4900-be0c-f8bd11783356</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;It&amp;#39;s funny that I always assumed that &amp;quot;uint32_t ipn_messages_timeout&amp;quot; is a declaration and not a definition.&lt;/p&gt;
&lt;p&gt;So can I use &amp;#39;extern&amp;#39; to declare the variable in the header file, and then include the definition in every c file with #include data.h ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/206723?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 19:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc4e39c6-08ff-4fdf-9351-ef50ae1a5671</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So, taking one at random,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Output/ble_bse_pca10056_s140 Debug/Obj/ipn.o:
  C:\nRF\Project\ble_bse/data.h:131: multiple definition of `ipn_messages_timeout&amp;#39;; 
  
Output/ble_bse_pca10056_s140 Debug/Obj/main.o:
  C:\nRF\Project\ble_bse/data.h:131: first defined here&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You have&amp;nbsp;&lt;strong&gt;ipn_messages_timeout&lt;/strong&gt; from &lt;strong&gt;data.h&lt;/strong&gt; being duplicated into &lt;strong&gt;ipn.o&lt;/strong&gt; and &lt;strong&gt;main.o&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;data.h&lt;/strong&gt; you have:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t ipn_messages_timeout;
uint32_t pro_remote_timeout;
uint32_t ucm_timeout;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/gdpl"&gt;gdpl&lt;/a&gt; guessed early on, these are &lt;em&gt;&lt;strong&gt;definitions&lt;/strong&gt; &lt;/em&gt;- therefore, any &lt;strong&gt;.c&lt;/strong&gt; file which #includes data.h will get those &lt;em&gt;&lt;strong&gt;definitions&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Thus if &lt;em&gt;multiple&amp;nbsp;&lt;/em&gt;&lt;span&gt;&lt;strong&gt;.c&lt;/strong&gt; files #include data.h, you will get &lt;strong&gt;&lt;em&gt;multiple&lt;/em&gt; definitions&lt;/strong&gt; - which is exactly what is happening.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;They need to be declarations - not definitions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And you will need to add a definition somewhere ...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Again, see:&amp;nbsp;&lt;a href="http://c-faq.com/decl/decldef.html"&gt;c-faq.com/.../decldef.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/206722?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 18:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b41a4aa9-0692-4567-8d07-fb802d3dd7ee</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;This is the build log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Building ‘ble_bse_pca10056_s140’ from solution ‘ble_bse_pca10056_s140’ in configuration ‘Debug’
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/thumb_crt0.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_button.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_error.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_error_weak.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_scheduler.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_timer.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_util_platform.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/crc16.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/fds.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/hardfault_implementation.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_assert.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_atfifo.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_balloc.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_fprintf.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_fprintf_format.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_fstorage.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_fstorage_sd.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_memobj.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_pwr_mgmt.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_section_iter.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_strerror.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/sdk_mapped_flags.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/sensorsim.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_queue.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_serial.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_block_dev_sdc.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/app_sdcard.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_drv_spi.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/boards.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_drv_clock.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_drv_common.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_drv_gpiote.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_drv_uart.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/bsp.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/bsp_btn_ble.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/bsp_nfc.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/main.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/SEGGER_RTT.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/SEGGER_RTT_Syscalls_SES.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/SEGGER_RTT_printf.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ble_advdata.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ble_advertising.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ble_conn_params.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ble_conn_state.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ble_srv_common.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/gatt_cache_manager.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/gatts_cache_manager.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/id_manager.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_ble_gatt.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/peer_data_storage.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/peer_database.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/peer_id.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/peer_manager.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/pm_buffer.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/pm_mutex.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/security_dispatcher.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/security_manager.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_ble_qwr.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ses_nRF_Startup.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ses_nrf52840_Vectors.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/system_nrf52840.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_sdh.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_sdh_ble.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/nrf_sdh_soc.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ble_ipn_monitor_service.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/char_enc_dec.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ipn.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ipnmonitor.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/logic.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/rs485.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/sdcard.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/ff.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/diskio_blkdev.o&amp;#39; is up to date
  &amp;#39;Output/ble_bse_pca10056_s140 Debug/Obj/unicode.o&amp;#39; is up to date
  Allow Multiple Symbol Definition property has changed.
  Linking ble_bse_pca10056_s140.elf
    Output/ble_bse_pca10056_s140 Debug/Obj/ipn.o:C:\nRF\Project\ble_bse/data.h:131: multiple definition of `ipn_messages_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:131: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/ipn.o:C:\nRF\Project\ble_bse/data.h:132: multiple definition of `pro_remote_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:132: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/ipn.o:C:\nRF\Project\ble_bse/data.h:133: multiple definition of `ucm_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:133: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/ipn.o:C:\nRF\Project\ble_bse/ipn.h:238: multiple definition of `ipn_state&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/ipn.h:238: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/data.h:131: multiple definition of `ipn_messages_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:131: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/data.h:132: multiple definition of `pro_remote_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:132: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/data.h:133: multiple definition of `ucm_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:133: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/ipn.h:238: multiple definition of `ipn_state&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/ipn.h:238: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdcard.h:39: multiple definition of `sdc_card_inserted&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:39: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdcard.h:40: multiple definition of `sdc_status&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:40: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdcard.h:41: multiple definition of `sdc_msg&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:41: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdclog.h:18: multiple definition of `one_min_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:18: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdclog.h:19: multiple definition of `six_min_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:19: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdclog.h:20: multiple definition of `logging_period&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:20: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdclog.h:21: multiple definition of `log_period_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:21: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/logic.o:C:\nRF\Project\ble_bse/sdclog.h:22: multiple definition of `log_records_written&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:22: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/rs485.o:C:\nRF\Project\ble_bse/data.h:131: multiple definition of `ipn_messages_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:131: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/rs485.o:C:\nRF\Project\ble_bse/data.h:132: multiple definition of `pro_remote_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:132: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/rs485.o:C:\nRF\Project\ble_bse/data.h:133: multiple definition of `ucm_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:133: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/rs485.o:C:\nRF\Project\ble_bse/ipn.h:238: multiple definition of `ipn_state&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/ipn.h:238: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdcard.o:C:\nRF\Project\ble_bse/sdcard.h:39: multiple definition of `sdc_card_inserted&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:39: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdcard.o:C:\nRF\Project\ble_bse/sdcard.h:40: multiple definition of `sdc_status&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:40: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdcard.o:C:\nRF\Project\ble_bse/sdcard.h:41: multiple definition of `sdc_msg&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:41: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdcard.h:39: multiple definition of `sdc_card_inserted&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:39: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdcard.h:40: multiple definition of `sdc_status&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:40: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdcard.h:41: multiple definition of `sdc_msg&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:41: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/data.h:131: multiple definition of `ipn_messages_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:131: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/data.h:132: multiple definition of `pro_remote_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:132: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/data.h:133: multiple definition of `ucm_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:133: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdclog.h:18: multiple definition of `one_min_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:18: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdclog.h:19: multiple definition of `six_min_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:19: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdclog.h:20: multiple definition of `logging_period&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:20: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdclog.h:21: multiple definition of `log_period_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:21: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/sdclog.o:C:\nRF\Project\ble_bse/sdclog.h:22: multiple definition of `log_records_written&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:22: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/data.h:131: multiple definition of `ipn_messages_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:131: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/data.h:132: multiple definition of `pro_remote_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:132: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/data.h:133: multiple definition of `ucm_timeout&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/data.h:133: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/ipn.h:238: multiple definition of `ipn_state&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/ipn.h:238: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdcard.h:39: multiple definition of `sdc_card_inserted&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:39: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdcard.h:40: multiple definition of `sdc_status&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:40: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdcard.h:41: multiple definition of `sdc_msg&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdcard.h:41: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdclog.h:18: multiple definition of `one_min_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:18: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdclog.h:19: multiple definition of `six_min_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:19: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdclog.h:20: multiple definition of `logging_period&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:20: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdclog.h:21: multiple definition of `log_period_ctr&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:21: first defined here
    Output/ble_bse_pca10056_s140 Debug/Obj/service_if.o:C:\nRF\Project\ble_bse/sdclog.h:22: multiple definition of `log_records_written&amp;#39;; Output/ble_bse_pca10056_s140 Debug/Obj/main.o:C:\nRF\Project\ble_bse/sdclog.h:22: first defined here
Build failed&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just referring to the first linker error, I&amp;#39;m posting the &amp;#39;data.h&amp;#39; file so that you can see the variable declaration/definition of &amp;#39;ipn_messages_timeout&amp;#39;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/data.h"&gt;devzone.nordicsemi.com/.../data.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/206706?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 17:00:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ab141b6-17d5-48ad-947d-c6b504f3c12f</guid><dc:creator>awneil</dc:creator><description>[quote userid="25505" url="~/f/nordic-q-a/49811/ses-linker-error/206705"]Any other source of the&amp;#39;multiple definition&amp;#39; linker error?&lt;br /&gt;&lt;br /&gt;[/quote]
&lt;p&gt;The error messages tell you where all of the multiple definitions are being found.&lt;/p&gt;
&lt;p&gt;Post an up-to-date build log.&lt;/p&gt;
&lt;p&gt;(post it as for source code, but omit step 3).&lt;/p&gt;
[quote userid="25505" url="~/f/nordic-q-a/49811/ses-linker-error/206705"]will this approach work[/quote]
&lt;p&gt;You should not have multiple definitions - so this approach would only be hiding what really are errors in your code.&lt;/p&gt;
&lt;p&gt;So, even if it did &lt;em&gt;appear&lt;/em&gt; to work under certain circumstances, it would be on very shaky foundations!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/206705?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 16:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b86ce8bc-7a62-47f3-b19f-d66d59baab28</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;Back on this again,&lt;br /&gt;&lt;br /&gt;I inspected the header files, I really could not see variable definitions, I only found variable declarations.&lt;br /&gt;Any other source of the&amp;#39;multiple definition&amp;#39; linker error?&lt;br /&gt;&lt;br /&gt;I also tried enabling &amp;#39;allow multiple definition&amp;#39; in the project Linker options. The project builds successfully now, but will this approach work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/204149?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 16:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:324e6303-562f-4a7d-8a2b-b9b8677cb71a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/gdpl"&gt;gdpl&lt;/a&gt; said earlier,&amp;nbsp;it looks like you may have variable definitions in your headers.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://c-faq.com/decl/decldef.html"&gt;http://c-faq.com/decl/decldef.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/204146?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 15:51:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02123f2a-c3c3-48fa-8012-68d1de1b15cd</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;sorry I was trying to edit the post, and I think it got deleted (intermittent connectivity), yes I&amp;#39;m looking at how to resolve &amp;#39;multiple definition&amp;#39; errors, thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/204145?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 15:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0b53eee-1612-4f2f-85d4-f58f4e1344ce</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Hmmm - I received an email notification that &lt;a href="https://devzone.nordicsemi.com/members/ro269"&gt;RO&lt;/a&gt; posted a reply, but the reply is not here in the forum!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyhow, the reply shows a whole load of &amp;#39;&lt;strong&gt;multiple definition&lt;/strong&gt;&amp;#39;&amp;nbsp; Linker errors - so that&amp;#39;ll be why the build is failing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/204133?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 14:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39a2f047-c28c-4424-8705-48e4aea2dd4a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;What you&amp;#39;ve highlighted isn&amp;#39;t an error.&lt;/p&gt;
&lt;p&gt;Copy &amp;amp; paste the full output.&lt;/p&gt;
&lt;p&gt;Post as for source code, but omit step 3:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6735._5F00_Insert-Code-_2D00_-Nordic-2.png" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/204125?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 14:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:594908cb-55bb-425b-9b68-0c71c3449257</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;After a lot of rework, I&amp;#39;ve managed to eliminate compiler and linker errors, but the Build still fails.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x720/__key/communityserver-discussions-components-files/4/linker3.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Can someone explain what I might need to do?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/199495?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 10:49:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1cc0e08-923d-4171-86dc-bb13593d5a79</guid><dc:creator>awneil</dc:creator><description>[quote userid="25505" url="~/f/nordic-q-a/49811/ses-linker-error/199362"]was developed by someone who was working this earlier[/quote]
&lt;p&gt;How far had they got?&lt;/p&gt;
&lt;p&gt;Are they still available to help you?&lt;/p&gt;
&lt;p&gt;Trying to fix someone else&amp;#39;s mess&amp;nbsp;is often&amp;nbsp; harder than just starting again from scratch ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/199494?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2019 10:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a5cf13-4c0c-49a4-9ae9-61b6b13d1a6c</guid><dc:creator>awneil</dc:creator><description>[quote userid="25505" url="~/f/nordic-q-a/49811/ses-linker-error/199363"]The Nordic environment seems very complicated and seems to have a steep learning curve.[/quote]
&lt;p&gt;But what it does &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt;&lt;/em&gt; very complicated!&lt;/p&gt;
&lt;p&gt;Not only do you have all the usual complications of a high-performance 32-bit ARM Cortex-M4 Microcontroller with FPU - but on top of that you are adding a complete 2.4GHz radio system capable of very complex protocols like BLE, Zigbee, Mesh, etc, etc.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s really not for beginner projects.&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;See also:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50086/beginnner-ble-programming-guide-for-nrf52840-ble-client/199710#199710"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/50086/beginnner-ble-programming-guide-for-nrf52840-ble-client/199710#199710&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/199363?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 19:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5de397d-3233-4720-a9c4-a3958af18143</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;Just some basic simpler stuff. The Nordic environment seems very complicated and seems to have a steep learning curve.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/199362?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 19:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a529c14e-aac9-4174-be08-4fd5b576b30f</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;I&amp;#39;ve attached a project folder from github in the question, which was developed by someone who was working this earlier. The sdkconfig file seems very incomplete, can you confirm?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/199084?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 20:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:480f0674-d866-4df4-ab19-8860d7a568e1</guid><dc:creator>awneil</dc:creator><description>[quote userid="64258" url="~/f/nordic-q-a/49811/ses-linker-error/199082"]Maybe you have defined some variables in header .h file[/quote]
&lt;p&gt;Yes, that&amp;#39;s a common mistake.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://c-faq.com/decl/decldef.html"&gt;http://c-faq.com/decl/decldef.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/199082?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 19:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1adddd-6d26-4a0d-95a3-4009b5c56183</guid><dc:creator>gdpl</dc:creator><description>&lt;p&gt;Multiple definitions: Maybe you have defined some variables in header .h file.&amp;nbsp; Move them to .c file of library .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/198927?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 10:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9deb13e-4065-4457-8c78-f85182b86504</guid><dc:creator>awneil</dc:creator><description>[quote userid="20690" url="~/f/nordic-q-a/49811/ses-linker-error/198919"]Make sure that you have added all your header files, libraries etc[/quote]
&lt;p&gt;And, for Nordic stuff, also enabled them in the &lt;strong&gt;sdk_config.h&lt;/strong&gt; ...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39503/undefined-reference-on-the-linker-level/153004#153004"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/39503/undefined-reference-on-the-linker-level/153004#153004&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43204/how-to-include-existing-header-files-to-main-c/168999#168999"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/43204/how-to-include-existing-header-files-to-main-c/168999#168999&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/198926?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 10:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cfdf155-dccf-40be-91f5-074203b5e64d</guid><dc:creator>awneil</dc:creator><description>[quote userid="25505" url="~/f/nordic-q-a/49811/ses-linker-error"]I&amp;#39;m new to firmware development[/quote]
&lt;p&gt;Do you have experience with software development in any other context?&lt;/p&gt;
&lt;p&gt;Particularly, development in &amp;#39;C&amp;#39; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES linker error</title><link>https://devzone.nordicsemi.com/thread/198919?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 10:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb6e2f4e-a59b-4b79-a541-bc196ef6975d</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m afraid I don&amp;#39;t have any idea to what your code looks like, which modifications you have made or which custom libraries you have added to your project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, most of the errors seem to be quite straight forward to track down as they are mostly undefined reference to functions etc.&amp;nbsp;&lt;br /&gt;If you don&amp;#39;t know what the errors means, I suggest that you do a quick google search on how to solve them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Make sure that you have added all your header files, libraries etc. correctly so that you can reference your functions in your application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim Jakobsen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>