<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Error building Extension SDK Linux code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2970199410/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2970199410/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/2970199410/</id><updated>2024-04-02T21:14:33.910000Z</updated><subtitle>Recent posts to Error building Extension SDK Linux code</subtitle><entry><title>Error building Extension SDK Linux code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2970199410/?limit=25#f1a9" rel="alternate"/><published>2024-04-02T21:14:33.910000Z</published><updated>2024-04-02T21:14:33.910000Z</updated><author><name>schnepper</name><uri>https://forge.codesys.com/u/schnepper/</uri></author><id>https://forge.codesys.comed8d4ccd51256281e2f3f3bffcb188266e70cfb5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Solved: I started from a fresh project and everything worked. I had a Function Block in the project at one point and deleted it. I think Codesys doesn't fully clean up on deletes.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error building Extension SDK Linux code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2970199410/?limit=25#6955" rel="alternate"/><published>2024-04-02T04:30:42.370000Z</published><updated>2024-04-02T04:30:42.370000Z</updated><author><name>nano</name><uri>https://forge.codesys.com/u/nano/</uri></author><id>https://forge.codesys.com85dfe1e2a0f375c9dcb4c16b27ee55f25b056e22</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey schnepper,&lt;br/&gt;
when i log into your c-file, i would say that only the main-function is declard with cext-addendun in your codesys-library-project. all yöur funtions in library has to be the cext-addendum when tze extrrnal implementation is activ.&lt;/p&gt;
&lt;p&gt;if i remeber right, methods and other subelements dont need that, but every base-elements&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error building Extension SDK Linux code</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2970199410/?limit=25#8f7b" rel="alternate"/><published>2024-04-01T22:48:42.025000Z</published><updated>2024-04-01T22:48:42.025000Z</updated><author><name>schnepper</name><uri>https://forge.codesys.com/u/schnepper/</uri></author><id>https://forge.codesys.com24649369f12ac7eb7c2051f16d305e7bd750b542</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm installed the CODESYS Control for Linux SL package and am trying to use the Extension API to call a simple C function. When I get to the step to run "make all" on the Linux machine, I get the error: &lt;/p&gt;
&lt;p&gt;build interface header: out/CmpFirstTestItf.h from CmpFirstTestItf.m4&lt;br/&gt;
ERROR: This functionname does not contain _cext (this is mandatory, see help for details):&lt;br/&gt;
DEF_API(&lt;code&gt;void',&lt;/code&gt;CDECL',&lt;code&gt;external_struct__fb_init',&lt;/code&gt;(external_struct_fb_init_struct *p)',1,0x1F77E075,0x00000001)&lt;/p&gt;
&lt;p&gt;Why does "Generate Runtime System Files" create a function that does not have cext in the name?&lt;/p&gt;
&lt;p&gt;What am I missing?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>