<?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>LPCXpresso IDE中的主题 Re: Undefined reference error, basic ANOYING problem</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527296#M397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat May 19 12:05:48 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;And where's your gpio.c?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if it's in your source folder, are it's functions exluded with #ifdefs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:14:28 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:14:28Z</dc:date>
    <item>
      <title>Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527295#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zanak on Sat May 19 07:47:42 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to modify a project example included with the lpcxpresso IDE, when I try to include a header file (gpio.h) I get the undefined reference error to any function in this file (i.e GPIOInit, GPIOSetDir ...) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to deselect the Exclude from build for the driver directory but without success ! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any hint please !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527295#M396</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527296#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat May 19 12:05:48 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;And where's your gpio.c?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if it's in your source folder, are it's functions exluded with #ifdefs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527296#M397</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527297#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zanak on Sat May 19 12:46:31 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;actually I didnt make any change in the source location, all files still in the driver folder. and no there is no #ifdefs it's just the sample code from lpcxpresso. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's kind of bizarre , I used to work with eclipse a long time ago, never faced this kind of voodoo problem !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527297#M398</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527298#M399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat May 19 13:06:59 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, can't follow you. Don't know which mcu, which sample and which project settings you are running :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want more than a guess you should export and post your project :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527298#M399</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527299#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zanak on Sat May 19 13:25:19 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;=)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Okey sorry. I'll try to explain it better, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the LPC11C24. and trying to add some IO control to the canopen_onchip. all I did is adding &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "gpio.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then made a call to GPIOInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the compiler can locate the gpio.h but rises a error flag on the GPIOInit() .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can upload the project files and the .map if you'd like to .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your replies&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--- Edit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the project files are now uploaded&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527299#M400</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527300#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat May 19 13:48:38 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Folder 'driver' is excluded from build :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you include this folder again ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both files (gpio.h, gpio.c) are including&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#if CONFIG_ENABLE_DRIVER_GPIO==1
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;Did you change this to &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#if 1
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527300#M401</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527301#M402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zanak on Sat May 19 13:53:49 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;yes I included it again,&amp;nbsp; and&amp;nbsp; no i didnt chane any thing in any file. except the main.c- &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to build a new project from the new project wizard , and the errors are gone but the linker can't find the entry symbol to ResetISR. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"cannot find entry symbol to ResetISR; defaulting to 0000000"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the zip file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527301#M402</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527302#M403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat May 19 14:20:10 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: zanak&lt;/STRONG&gt;&lt;BR /&gt;yes I included it again,&amp;nbsp; and&amp;nbsp; no i didnt chane any thing in any file. except the main.c- &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your gpio files are still including:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if CONFIG_ENABLE_DRIVER_GPIO==1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Change that :mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You new project is a catastrophic mixture of old linker script file with own old CMSIS1.3 and new included CMSIS2.0. If you want to create a new project, throw this old stuff away :eek: You don't need linker scripts for LPC11C any more :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But don't mix different CMSIS versions if you are not familiar with this stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll not help you to create nonsense projects :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527302#M403</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Undefined reference error, basic ANOYING problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527303#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zanak on Sat May 19 14:47:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;well thank you the problem was in the #ifdef so the gpio.h wasnt included. now the project compiles with no errors. I'll debug it later and keep you updated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"But don't mix different CMSIS versions if you are not familiar with this stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll not help you to create nonsense projects :rolleyes:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://http://knowledgebase.nxp.com/newreply.php?do=newreply&amp;amp;p=16518"&gt;[IMG]http://knowledgebase.nxp.com/images/buttons/quote.gif[/IMG]&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you are right I was so frustrated I tried every possible option and didn't realized that I'm mixing stuff ! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank Mr Zero , it was really helpful&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Undefined-reference-error-basic-ANOYING-problem/m-p/527303#M404</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:33Z</dc:date>
    </item>
  </channel>
</rss>

