<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
	>
<channel>
	<title>Comments on: Compiling Android Source on Mac OS X 10.6 Snow Leopard</title>
	<atom:link href="http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/</link>
	<description>Taking over the world with every line of code</description>
	<lastBuildDate>Thu, 05 Jan 2012 07:08:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: PaulB</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-209</link>
		<dc:creator>PaulB</dc:creator>
		<pubDate>Sat, 09 Oct 2010 00:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-209</guid>
		<description>It&#039;s gotten simpler.  See http://groups.google.com/group/android-building/msg/d4730b36e861569d</description>
		<content:encoded><![CDATA[<p>It&#8217;s gotten simpler.  See <a href="http://groups.google.com/group/android-building/msg/d4730b36e861569d" rel="nofollow">http://groups.google.com/group/android-building/msg/d4730b36e861569d</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-208</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Fri, 08 Oct 2010 18:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-208</guid>
		<description>Hi,

The link to the android source setup changed:
http://source.android.com/source/download.html

cheers,
Vincent</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The link to the android source setup changed:<br />
<a href="http://source.android.com/source/download.html" rel="nofollow">http://source.android.com/source/download.html</a></p>
<p>cheers,<br />
Vincent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eleonora</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-207</link>
		<dc:creator>Eleonora</dc:creator>
		<pubDate>Thu, 19 Aug 2010 21:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-207</guid>
		<description>Hi! I got to the make part, but then I got this:
MacBook-de-Eleonora:mydroid Eleonora$ make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
build/core/config.mk:200: *** faltando o separador. Pare.
Which separator is it? Can anyone tell me how to put it there in the file so it’ll work?</description>
		<content:encoded><![CDATA[<p>Hi! I got to the make part, but then I got this:<br />
MacBook-de-Eleonora:mydroid Eleonora$ make<br />
============================================<br />
PLATFORM_VERSION_CODENAME=AOSP<br />
PLATFORM_VERSION=AOSP<br />
TARGET_PRODUCT=generic<br />
TARGET_BUILD_VARIANT=eng<br />
TARGET_SIMULATOR=<br />
TARGET_BUILD_TYPE=release<br />
TARGET_BUILD_APPS=<br />
TARGET_ARCH=arm<br />
HOST_ARCH=x86<br />
HOST_OS=darwin<br />
HOST_BUILD_TYPE=release<br />
BUILD_ID=OPENMASTER<br />
============================================<br />
build/core/config.mk:200: *** faltando o separador. Pare.<br />
Which separator is it? Can anyone tell me how to put it there in the file so it’ll work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Building Eclair on Snow Leopard &#171; Vishvesh&#039;s Blog</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-206</link>
		<dc:creator>Building Eclair on Snow Leopard &#171; Vishvesh&#039;s Blog</dc:creator>
		<pubDate>Sun, 18 Apr 2010 05:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-206</guid>
		<description>[...] PDRTJS_settings_1532554_post_695 = { &quot;id&quot; : &quot;1532554&quot;, &quot;unique_id&quot; : &quot;wp-post-695&quot;, &quot;title&quot; : &quot;Building+Eclair+on+Snow+Leopard&quot;, &quot;item_id&quot; : &quot;_post_695&quot;, &quot;permalink&quot; : &quot;http%3A%2F%2Fwisevishvesh.wordpress.com%2F2010%2F04%2F12%2Fbuilding-eclair-on-snow-leopard%2F&quot; }  This is a step wise guide on building Eclair on Snow Leopard. The intention of writing this post is to have a single information source for building Eclair on Snow Leopard. In the procedure that I have listed down I am not using the patch which allows android to use Java 1.6. If you want to use Java 1.6 please refer to this link. [...] </description>
		<content:encoded><![CDATA[<p>[...] PDRTJS_settings_1532554_post_695 = { &quot;id&quot; : &quot;1532554&quot;, &quot;unique_id&quot; : &quot;wp-post-695&quot;, &quot;title&quot; : &quot;Building+Eclair+on+Snow+Leopard&quot;, &quot;item_id&quot; : &quot;_post_695&quot;, &quot;permalink&quot; : &quot;http%3A%2F%2Fwisevishvesh.wordpress.com%2F2010%2F04%2F12%2Fbuilding-eclair-on-snow-leopard%2F&quot; }  This is a step wise guide on building Eclair on Snow Leopard. The intention of writing this post is to have a single information source for building Eclair on Snow Leopard. In the procedure that I have listed down I am not using the patch which allows android to use Java 1.6. If you want to use Java 1.6 please refer to this link. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Building Eclair on Snow Leopard &#171; Vishvesh&#039;s Blog</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-757</link>
		<dc:creator>Building Eclair on Snow Leopard &#171; Vishvesh&#039;s Blog</dc:creator>
		<pubDate>Sun, 18 Apr 2010 05:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-757</guid>
		<description>[...] PDRTJS_settings_1532554_post_695 = { &quot;id&quot; : &quot;1532554&quot;, &quot;unique_id&quot; : &quot;wp-post-695&quot;, &quot;title&quot; : &quot;Building+Eclair+on+Snow+Leopard&quot;, &quot;item_id&quot; : &quot;_post_695&quot;, &quot;permalink&quot; : &quot;http%3A%2F%2Fwisevishvesh.wordpress.com%2F2010%2F04%2F12%2Fbuilding-eclair-on-snow-leopard%2F&quot; }  This is a step wise guide on building Eclair on Snow Leopard. The intention of writing this post is to have a single information source for building Eclair on Snow Leopard. In the procedure that I have listed down I am not using the patch which allows android to use Java 1.6. If you want to use Java 1.6 please refer to this link. [...] </description>
		<content:encoded><![CDATA[<p>[...] PDRTJS_settings_1532554_post_695 = { &quot;id&quot; : &quot;1532554&quot;, &quot;unique_id&quot; : &quot;wp-post-695&quot;, &quot;title&quot; : &quot;Building+Eclair+on+Snow+Leopard&quot;, &quot;item_id&quot; : &quot;_post_695&quot;, &quot;permalink&quot; : &quot;http%3A%2F%2Fwisevishvesh.wordpress.com%2F2010%2F04%2F12%2Fbuilding-eclair-on-snow-leopard%2F&quot; }  This is a step wise guide on building Eclair on Snow Leopard. The intention of writing this post is to have a single information source for building Eclair on Snow Leopard. In the procedure that I have listed down I am not using the patch which allows android to use Java 1.6. If you want to use Java 1.6 please refer to this link. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishvesh</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-205</link>
		<dc:creator>Vishvesh</dc:creator>
		<pubDate>Mon, 29 Mar 2010 08:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-205</guid>
		<description>I am having a different problem, I get few warnings like these

ld: warning: in out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/distrib/libpng-1.2.19/pngerror.o, file is not of required architecture
ld: warning: in out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/distrib/libpng-1.2.19/pngget.o, file is not of required architecture

And then the following error is throw.

Undefined symbols:
  &quot;_main&quot;, referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/emulator] Error 1


Any ideas on how to resolve this errors.</description>
		<content:encoded><![CDATA[<p>I am having a different problem, I get few warnings like these</p>
<p>ld: warning: in out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/distrib/libpng-1.2.19/pngerror.o, file is not of required architecture<br />
ld: warning: in out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/distrib/libpng-1.2.19/pngget.o, file is not of required architecture</p>
<p>And then the following error is throw.</p>
<p>Undefined symbols:<br />
  &#8220;_main&#8221;, referenced from:<br />
      start in crt1.10.6.o<br />
ld: symbol(s) not found<br />
collect2: ld returned 1 exit status<br />
make: *** [out/host/darwin-x86/obj/EXECUTABLES/emulator_intermediates/emulator] Error 1</p>
<p>Any ideas on how to resolve this errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-204</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Sun, 21 Feb 2010 20:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-204</guid>
		<description>Thanks Justin, was looking for something like this! 
Thanks to Jeremy as well, your tips were right on.</description>
		<content:encoded><![CDATA[<p>Thanks Justin, was looking for something like this!<br />
Thanks to Jeremy as well, your tips were right on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Lee</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-203</link>
		<dc:creator>Justin Lee</dc:creator>
		<pubDate>Sun, 24 Jan 2010 11:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-203</guid>
		<description>Thanks Jeremy for your additional insights to get it to work. You&#039;re welcome. :)</description>
		<content:encoded><![CDATA[<p>Thanks Jeremy for your additional insights to get it to work. You&#8217;re welcome. <img src='http://justinlee.sg/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-202</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Sun, 24 Jan 2010 03:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-202</guid>
		<description>well - I solved my own problem: I don&#039;t know how it ended up there, but my copy of &quot;stddef.h&quot; in /usr/local seems superfluous. I removed it (renamed it) and the compile completed just fine.

Thanks for this quick HOWTO!</description>
		<content:encoded><![CDATA[<p>well &#8211; I solved my own problem: I don&#8217;t know how it ended up there, but my copy of &#8220;stddef.h&#8221; in /usr/local seems superfluous. I removed it (renamed it) and the compile completed just fine.</p>
<p>Thanks for this quick HOWTO!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://justinlee.sg/2010/01/08/compiling-android-source-on-mac-os-x-10-6-snow-leopard/#comment-201</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Sun, 24 Jan 2010 02:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.justinlee.sg/?p=7319#comment-201</guid>
		<description>In order to get this to work, I had to install the MacOSX10.4.sdk into /Developer/SDKs. Since I had a fresh install of Snow Leopard I had only installed XCode 3.2.x which does &lt;em&gt;not&lt;/em&gt; come with the 10.4 SDK. I downloaded XCode 3.1.4 from Apple&#039;s developer website, navigated through the Packages directory and installed the &quot;MacOSX10.4.Universal.pkg&quot; file into /Developer. 

I also had problems compiling qemu (which is forced to use gcc-4.0 in the makefile). I don&#039;t know if my installation of gcc-4.0 was broken to begin with, but it had trouble finding some default include files (stdarg.h in particular). I solved this problem by changing the following lines in 
        # We are on Snow Leopard or above
        	            MY_CC := gcc-4.0
with these lines:
        # We are on Snow Leopard or above
        	            MY_CC := gcc-4.0 -I/Developer/usr/lib/gcc/i686-apple-darwin10/4.0.1/include/

All of the host code seems to compile OK, but I am still having issues compiling the ARM target code. I get ridiculous errors about lines of code in stddef.h - specifically: 

/usr/include/stddef.h:74: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;ptrdiff_t&#039;
/usr/include/stddef.h:83: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;size_t&#039;

anyone else run into this issue?</description>
		<content:encoded><![CDATA[<p>In order to get this to work, I had to install the MacOSX10.4.sdk into /Developer/SDKs. Since I had a fresh install of Snow Leopard I had only installed XCode 3.2.x which does <em>not</em> come with the 10.4 SDK. I downloaded XCode 3.1.4 from Apple&#8217;s developer website, navigated through the Packages directory and installed the &#8220;MacOSX10.4.Universal.pkg&#8221; file into /Developer. </p>
<p>I also had problems compiling qemu (which is forced to use gcc-4.0 in the makefile). I don&#8217;t know if my installation of gcc-4.0 was broken to begin with, but it had trouble finding some default include files (stdarg.h in particular). I solved this problem by changing the following lines in<br />
        # We are on Snow Leopard or above<br />
        	            MY_CC := gcc-4.0<br />
with these lines:<br />
        # We are on Snow Leopard or above<br />
        	            MY_CC := gcc-4.0 -I/Developer/usr/lib/gcc/i686-apple-darwin10/4.0.1/include/</p>
<p>All of the host code seems to compile OK, but I am still having issues compiling the ARM target code. I get ridiculous errors about lines of code in stddef.h &#8211; specifically: </p>
<p>/usr/include/stddef.h:74: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8216;ptrdiff_t&#8217;<br />
/usr/include/stddef.h:83: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8216;size_t&#8217;</p>
<p>anyone else run into this issue?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.401 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-01-07 09:42:49 -->
<!-- Compression = gzip -->
