On Wed, Sep 28, 2011 at 12:53 PM, John Floren <j...@jfloren.net> wrote:
> On Wed, Sep 28, 2011 at 7:43 AM, 252608386 <252608...@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

Reply via email to