<?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>Error: L6218E: Undefined symbol pk (referred from dfu_req_handling.o)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20101/error-l6218e-undefined-symbol-pk-referred-from-dfu_req_handling-o</link><description>I&amp;#39;m trying build a file in Keil, and have received this error below. Please advise on how to fix it! Thanks!: 
 *** Using Compiler &amp;#39;V5.06 update 3 (build 300)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Build target &amp;#39;nrf52832_xxaa_s132&amp;#39;
linking...
._build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Mar 2017 20:25:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20101/error-l6218e-undefined-symbol-pk-referred-from-dfu_req_handling-o" /><item><title>RE: Error: L6218E: Undefined symbol pk (referred from dfu_req_handling.o)</title><link>https://devzone.nordicsemi.com/thread/78267?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 20:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a8a7a71-8208-47cc-b332-2804027aa304</guid><dc:creator>reasonislife</dc:creator><description>&lt;p&gt;Copied part of the file wrong - issue is fixed. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error: L6218E: Undefined symbol pk (referred from dfu_req_handling.o)</title><link>https://devzone.nordicsemi.com/thread/78266?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 19:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9fc0254-75a3-4b63-9f7a-28fffec644cd</guid><dc:creator>reasonislife</dc:creator><description>&lt;p&gt;SDK version 12, yes.&lt;/p&gt;
&lt;p&gt;I am simply trying to follow the steps listed in this post, except using SDK 12 example files: &lt;a href="http://blog.motsai.com/device-firmware-updates-dfu-on-the-nordic-nrf52-2/"&gt;blog.motsai.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I did generate my own private/public key pair, but perhaps it was not included correctly in the file...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error: L6218E: Undefined symbol pk (referred from dfu_req_handling.o)</title><link>https://devzone.nordicsemi.com/thread/78265?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 19:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd29ea1-2cb3-4b5b-8b2b-974581514ef6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using, and which example are you trying to compile? From the error message you get, I would guess you are trying to compile a DFU exampl from SDK 12.x.0.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pk&lt;/code&gt; is a variable defined in &lt;em&gt;dfu_public_key.c&lt;/em&gt; in secure bootloader. You need to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_crypto.html?cp=4_0_1_3_9_1#lib_crypto_key"&gt;generate your own private/public key pair&lt;/a&gt; and include it in this file, or you can use the debug projects if you just want to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_1_4_3_1_4#ble_sdk_app_dfu_bootloader_test"&gt;test the DFU&lt;/a&gt; with the presigned zip files in the SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>