From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 28 Sep 2011 12:57:12 -0700 Message-ID: From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Announcing Inferno for Android phones Topicbox-Message-UUID: 2d3223a2-ead7-11e9-9d60-3106f5b1d025 On Wed, Sep 28, 2011 at 12:53 PM, John Floren wrote: > On Wed, Sep 28, 2011 at 7:43 AM, 252608386 <252608386@qq.com> wrote: >> i build the floren-inferno with cyanogen-mod source code(htc hero) >> and i got the error,why? >> agcc -c -O -I/media/sdb1/inferno/floren-inferno/Android/arm/include >> -I/media/sdb1/inferno/floren-inferno/include -DLINUX_ARM -DINFERNO >> -I/media/sdb1/inferno/floren-inferno/include/freetype -I. freetype.c >> ........ >> /media/sdb1/android/bionic/libc/include/stdlib.h:169: error: expected ')' >> before '*' token >> /media/sdb1/android/bionic/libc/include/stdlib.h:170: error: expected ')' >> before '*' token >> /media/sdb1/android/bionic/libc/include/stdlib.h:173: error: expected >> declaration specifiers or '...' before 'wchar_t' >> /media/sdb1/android/bionic/libc/include/stdlib.h:174: error: expected ';', >> ',' or ')' before '*' token >> In file included from >> /media/sdb1/inferno/floren-inferno/Android/arm/include/lib9.h:17, >> > > Please check out > https://bitbucket.org/floren/inferno/wiki/CompilingInferno, > specifically the bit about changing stdlib.h. It's not a pretty way to > do things, but it works. Once you make the change, if you intend to do > a "repo sync" later, you'll need to change to the bionic directory and > do a "git stash" to get rid of your changes, or else repo sync will > fail. You can then change it back later. > > > John > Anyone running Inferno on Android may also find this useful: https://bitbucket.org/floren/inferno/wiki/HellaphoneManual John