<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Error L6218E When Compiling TCP-IP in RTX Mode</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/43374/error-l6218e-when-compiling-tcp-ip-in-rtx-mode</link><description> 
Hi, 
Could any one help me. 

 
I got a lot of Errors L6216E (listed at the end of this post). 

 
I am using Sample code LEDSwitch from keil TCP/IP, and compile
with RTX Kernel. What I did as follow: 

 
In the Project Workspace: 
- Main C Program</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Error L6218E When Compiling TCP-IP in RTX Mode</title><link>https://community.arm.com/thread/133004?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2009 15:27:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c4dc45e2-c401-42f5-a34d-67174c6be844</guid><dc:creator>Rudy Moniaga</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi Franc,&lt;/p&gt;

&lt;p&gt;
Thank you for your help. Now it works. I copied from HTTP_Demo all
the configuration files (RTX_Config.c, LPC2300_RTX.s, LPC23_EMAC.c,
Net_Config.c).&lt;/p&gt;

&lt;p&gt;
Also I upgrade from MDK and RL Library from 3.11 into 3.40, and In
my program, I do small changes in all task caller from&lt;/p&gt;

&lt;p&gt;
void taskName (void) __task { ... }&lt;/p&gt;

&lt;p&gt;
To&lt;/p&gt;

&lt;p&gt;
__task void taskName (void) { ... }&lt;/p&gt;

&lt;p&gt;
Once I compile, have no complain at all, download to target device
and It works.&lt;/p&gt;

&lt;p&gt;
I don&amp;#39;t know what was the problem. Is it configuration files?
Previously in version 3.11, I did the same thing, copy from
LEDSwitch, but so many problems. Unfortunately, I can&amp;#39;t try previous
version, because I upgraded to version 3.40.&lt;/p&gt;

&lt;p&gt;
I will do some test by using configuration files from LEDSwitch,
and let you know the result.&lt;/p&gt;

&lt;p&gt;
Thank you very much for your help.&lt;/p&gt;

&lt;p&gt;
best regards,&lt;br /&gt;
Rudy&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error L6218E When Compiling TCP-IP in RTX Mode</title><link>https://community.arm.com/thread/132822?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2009 02:21:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:04272c19-c3ba-496f-bb28-da0f78d347f1</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Take a HTTP_Demo example as a reference. It has a several targets,
one is configured to be used with RTX. Check if you can compile RTX
HTTP_Demo.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error L6218E When Compiling TCP-IP in RTX Mode</title><link>https://community.arm.com/thread/132612?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2009 01:49:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0526d735-4a1c-4ca0-98ab-26ff7570a4ff</guid><dc:creator>Rudy Moniaga</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi Franc,&lt;/p&gt;

&lt;p&gt;
I removed all functions and just only TCP/IP (Copy keil&amp;#39;s sample
of SwitchLED project, then convert it to RTX OS), then I compile,
still have the same complain error.&lt;/p&gt;

&lt;p&gt;
At last I know in which part of code that generate this error, but
I don&amp;#39;t know why and how to fixed it.&lt;/p&gt;

&lt;p&gt;
The problem is in LPC2300.s&lt;/p&gt;

&lt;p&gt;
I comment out&lt;/p&gt;

&lt;p&gt;
;SWI_Handler B SWI_Handler&lt;/p&gt;

&lt;p&gt;
and added:&lt;/p&gt;

&lt;p&gt;
IMPORT SWI_Handler&lt;/p&gt;

&lt;p&gt;
As suggested in &lt;a href="http://www.keil.com/support/man/docs/rlarm/rlarm_ar_create_newapp.htm"&gt;
&lt;a href="http://www.keil.com/support/man/docs/rlarm/rlarm_ar_create_newapp.htm"&gt;www.keil.com/.../rlarm_ar_create_newapp.htm&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
If I remove Import SWI_Handler and put back SWI_Handler B
SWI_Handler, Keil will compiled with no complain.&lt;/p&gt;

&lt;p&gt;
Any idea? please let me know.&lt;/p&gt;

&lt;p&gt;
best regards,&lt;br /&gt;
Rudy&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error L6218E When Compiling TCP-IP in RTX Mode</title><link>https://community.arm.com/thread/132316?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2009 22:09:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cd485633-a132-458d-91fd-3f04507f1a86</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
Sorry, I was too fast. Most likely you are having a wrong
&lt;i&gt;retarget.c&lt;/i&gt; in your project. It refers to the file IO functions
&lt;i&gt;__fclose&lt;/i&gt;, &lt;i&gt;__getfsize&lt;/i&gt;, etc. Those functions are a part
of the FlashFS.&lt;/p&gt;

&lt;p&gt;
In fact you do not need a &lt;i&gt;retarget.c&lt;/i&gt; for a &lt;b&gt;microlib&lt;/b&gt;,
because the microlib does not support semihosting.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error L6218E When Compiling TCP-IP in RTX Mode</title><link>https://community.arm.com/thread/132312?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2009 21:59:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a23623ff-0eb3-4b81-ac6b-512cb61f52b2</guid><dc:creator>Franc  Urbanc</dc:creator><description>&lt;p&gt;&lt;p&gt;
The FlashFS &lt;b&gt;does not&lt;/b&gt; work with &lt;b&gt;microlib&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/rlarm/rlarm_fs_flashfs.htm"&gt;http://www.keil.com/support/man/docs/rlarm/rlarm_fs_flashfs.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>