<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Intel SGX application doesn't in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079975#M571</link>
    <description>&lt;P&gt;Intel SGX application doesn't support class objects. But we can create untrusted C++ application (without class) and call the edger&lt;BR /&gt;
	routine function(_u.h) written in 'C' without any issue. To resolve this 'C' linkage, automatically generated untrusted edger routine header (_u.h) file contains necessary macros.&lt;/P&gt;

&lt;P&gt;Here you are calling some wrapper functions implemented in "Static library" from the Intel SGX application source. This wrapper function&lt;BR /&gt;
	is responsible for creating enclave and also initiate E-Call . While building the Intel SGX application source along with static library&amp;nbsp;you got this linkage error&amp;nbsp;while linking&amp;nbsp;untrusted edger routines.&lt;/P&gt;

&lt;P&gt;Since it works with Intel SGX application&amp;nbsp;source written in C++, it should work with static libraries written in C++(without class).&lt;BR /&gt;
	Please make sure that linkage related project settings is fine&amp;nbsp;and required libraries&amp;nbsp;&amp;nbsp;are added&amp;nbsp;with your build environment.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 10:17:58 GMT</pubDate>
    <dc:creator>Prabu_R_Intel</dc:creator>
    <dc:date>2017-04-13T10:17:58Z</dc:date>
    <item>
      <title>Edge Functions in Static Library</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079972#M568</link>
      <description>&lt;P&gt;I have a static C++ library project that "imports" an enclave.&lt;/P&gt;

&lt;P&gt;The static library is being used in another C++ application.&lt;/P&gt;

&lt;P&gt;However, I get a "unresolved symbol" link error when building the app project. I suspect it has to do with the fact that the edge functions are C-linked. But I've already included the "..._u.h" header in every source file where the edges are called.&lt;/P&gt;

&lt;P&gt;What can be causing this and how can it be solved?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 14:21:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079972#M568</guid>
      <dc:creator>AArya2</dc:creator>
      <dc:date>2017-04-11T14:21:32Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079973#M569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;It seems that the enclave edl file is not properly imported to the application source.Please check the Application source files whether the edl file is imported or not.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 07:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079973#M569</guid>
      <dc:creator>Anusha_K_Intel</dc:creator>
      <dc:date>2017-04-12T07:38:00Z</dc:date>
    </item>
    <item>
      <title>Hi Anusha, thanks for your</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079974#M570</link>
      <description>&lt;P&gt;Hi Anusha, thanks for your reply.&lt;/P&gt;

&lt;P&gt;What dll are you talking about? The enclave dll cannot possibly be an issue since my issue is at build time.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 15:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079974#M570</guid>
      <dc:creator>AArya2</dc:creator>
      <dc:date>2017-04-12T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Intel SGX application doesn't</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079975#M571</link>
      <description>&lt;P&gt;Intel SGX application doesn't support class objects. But we can create untrusted C++ application (without class) and call the edger&lt;BR /&gt;
	routine function(_u.h) written in 'C' without any issue. To resolve this 'C' linkage, automatically generated untrusted edger routine header (_u.h) file contains necessary macros.&lt;/P&gt;

&lt;P&gt;Here you are calling some wrapper functions implemented in "Static library" from the Intel SGX application source. This wrapper function&lt;BR /&gt;
	is responsible for creating enclave and also initiate E-Call . While building the Intel SGX application source along with static library&amp;nbsp;you got this linkage error&amp;nbsp;while linking&amp;nbsp;untrusted edger routines.&lt;/P&gt;

&lt;P&gt;Since it works with Intel SGX application&amp;nbsp;source written in C++, it should work with static libraries written in C++(without class).&lt;BR /&gt;
	Please make sure that linkage related project settings is fine&amp;nbsp;and required libraries&amp;nbsp;&amp;nbsp;are added&amp;nbsp;with your build environment.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 10:17:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079975#M571</guid>
      <dc:creator>Prabu_R_Intel</dc:creator>
      <dc:date>2017-04-13T10:17:58Z</dc:date>
    </item>
    <item>
      <title>Arya,I think Anusha said the</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079976#M572</link>
      <description>&lt;P&gt;Arya,I think Anusha said the EDL not DLL&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 12:48:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079976#M572</guid>
      <dc:creator>Khoshnaw_S_</dc:creator>
      <dc:date>2017-04-13T12:48:18Z</dc:date>
    </item>
    <item>
      <title>Are you getting an error</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079977#M573</link>
      <description>&lt;P&gt;Are you getting an error building the untrusted project?&lt;/P&gt;

&lt;P&gt;What symbols are missing? Any edge-routine?&lt;/P&gt;

&lt;P&gt;Could you post your project here? I wonder if the _u.h file is included in the proper place(s).&lt;/P&gt;

&lt;P&gt;I agree with you that the C-linkage of the edge-routines may be the root-cause of this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 13:46:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Edge-Functions-in-Static-Library/m-p/1079977#M573</guid>
      <dc:creator>Juan_d_Intel</dc:creator>
      <dc:date>2017-04-13T13:46:56Z</dc:date>
    </item>
  </channel>
</rss>

