<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: undefined reference `_exit&#039; / `_kill&#039; / `_getpid&#039; - fix for search/posterity</title>
		<link>http://forums.leaflabs.com/topic.php?id=8487</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:20:01 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=8487" rel="self" type="application/rss+xml" />

		<item>
			<title>pico on "undefined reference `_exit&#039; / `_kill&#039; / `_getpid&#039; - fix for search/posterity"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8487#post-27631</link>
			<pubDate>Sun, 07 Jul 2013 13:00:57 +0000</pubDate>
			<dc:creator>pico</dc:creator>
			<guid isPermaLink="false">27631@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for this. I was banging my head for several hours trying to get to the bottom of this. &#60;/p&#62;
&#60;p&#62;I would suggest that the replacement util.c be distributed with the official release. Any reason why not?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>scott on "undefined reference `_exit&#039; / `_kill&#039; / `_getpid&#039; - fix for search/posterity"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8487#post-19512</link>
			<pubDate>Sun, 30 Sep 2012 18:40:43 +0000</pubDate>
			<dc:creator>scott</dc:creator>
			<guid isPermaLink="false">19512@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hopefully this thread won't be too useless. I was attempting to compile some code that was using dynamic memory allocation with IDE 0.0.12. I want to post up the error (more explicitly) and the fix in case others run into the same issue as it took some digging to find:&#60;/p&#62;
&#60;p&#62;Error:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Listing of all compiler output follows.
	Note: &#38;lt;BUILD&#38;gt; stands for the temporary build directory used to compile your sketch, which is:
		C:\Users\Scott\AppData\Local\Temp\build2561064226562165095.tmp

	Also note that because of preprocessing, line numbers won&#38;#39;t match up exactly.  We&#38;#39;re working on a fix.
In file included from &#38;lt;BUILD&#38;gt;\c23.cpp:31:
C:\Users\Scott\Documents\Development\maple-ide-0.0.12-windowsxp32\libraries\AudioCodec_Maple/AudioCodec_Maple.h:6: warning: multi-line comment
c:/users/scott/documents/development/maple-ide-0.0.12-windowsxp32/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-abort.o): In function&#60;/code&#62;&#60;/pre&#62;
abort':&#60;br /&#62;
abort.c:(.text+0xa): undefined reference to `_exit'&#60;br /&#62;
c:/users/scott/documents/development/maple-ide-0.0.12-windowsxp32/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-signalr.o): In function `_kill_r':&#60;br /&#62;
signalr.c:(.text+0x18): undefined reference to `_kill'&#60;br /&#62;
c:/users/scott/documents/development/maple-ide-0.0.12-windowsxp32/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-signalr.o): In function `_getpid_r':&#60;br /&#62;
signalr.c:(.text+0x0): undefined reference to `_getpid'&#60;br /&#62;
collect2: ld returned 1 exit status`&#60;/p&#62;
&#60;p&#62;Fix: Located in thread &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=161&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=161&#60;/a&#62; - replace 0.0.12 util.c (in hardware\leaflabs\cores\maple) with the following version: &#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/c4e08477202d31149510262a1fd52a09e3e71337/libmaple/util.c&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/c4e08477202d31149510262a1fd52a09e3e71337/libmaple/util.c&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
