<?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>LPC MicrocontrollersのトピックRe: undefined reference to `alarm' error</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777535#M55010</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Okay, I see.&lt;/P&gt;&lt;P&gt;I suppose that both the signal() and alarm() are not implemented.&lt;/P&gt;&lt;P&gt;You can use timer hardware module for example MRT, systick,sctimer...to implement a fixed period interrupt.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2023 02:42:21 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2023-12-20T02:42:21Z</dc:date>
    <item>
      <title>undefined reference to `alarm' error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1776596#M55001</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am trying to implement a software timer, as part of this, I have used&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;signal(SIGALRM, event_start_init_callback);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;alarm(10); // To invoke the call back handler after 10sec.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But I am getting&amp;nbsp;undefined reference to `alarm' error.&lt;/P&gt;&lt;P&gt;I have included unistd.h. But still linked is unable to find the alarm call.&lt;/P&gt;&lt;P&gt;I verified that, alarm is defined in sys/unistd.h&lt;/P&gt;&lt;P&gt;Can someone please let me know, what I am missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;San&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 22:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1776596#M55001</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-12-18T22:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `alarm' error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1776673#M55002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is LPC Micro-controller support forum, as far as I know that the signal() and alarm() functions are Linux function.&lt;/P&gt;
&lt;P&gt;Can you tell us the part number you are using? do you use Linux OS for your target board?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 02:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1776673#M55002</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-12-19T02:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `alarm' error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777245#M55007</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, I know this is LPC Micro-Controller support forum. I am using LPC1768 and Free RTOS is OS.&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;MCUXpresso IDE v11.8.0_1165&lt;/P&gt;&lt;P&gt;I even noticed, signal.h, and unistd.h are available in below mentioned path.&lt;/P&gt;&lt;P&gt;C:\nxp\MCUXpressoIDE_11.8.0_1165\ide\plugins\com.nxp.mcuxpresso.tools.win32_11.8.0.202306131047\tools\arm-none-eabi\include&lt;/P&gt;&lt;P&gt;Based on that I assumed signals are supported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;San&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 14:39:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777245#M55007</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-12-19T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `alarm' error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777535#M55010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Okay, I see.&lt;/P&gt;&lt;P&gt;I suppose that both the signal() and alarm() are not implemented.&lt;/P&gt;&lt;P&gt;You can use timer hardware module for example MRT, systick,sctimer...to implement a fixed period interrupt.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 02:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777535#M55010</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-12-20T02:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `alarm' error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777538#M55011</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to use software based time delay, not a hardware based.&lt;/P&gt;&lt;P&gt;As my code is working on event based mechanism, so I want to avoid dependency or any other issues with hardware based interrupts.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;San&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 02:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777538#M55011</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-12-20T02:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `alarm' error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777711#M55014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to add the library(*.a) and check if you can find out the binary implementation of the two functions.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1703055420240.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255241i5EB4F3E5634FA8BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1703055420240.png" alt="xiangjun_rong_0-1703055420240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 06:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/undefined-reference-to-alarm-error/m-p/1777711#M55014</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-12-20T06:57:33Z</dc:date>
    </item>
  </channel>
</rss>

