Is it possible to build librt (AIO support) for Android...? I am a bit
new to this and I did try, writing up a an Android.mk and simply
attempting to "mm". But, I get a bunch of errors as follows:


external/librt/aio.h:49: error: expected specifier-qualifier-list
before '__ssize_t'
external/librt/aio.h: In function 'aio_read':
external/librt/aio.h:145: error: expected declaration specifiers
before '__THROW'
external/librt/aio.h:147: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__THROW'
external/librt/aio.h:151: error: '__restrict_arr' undeclared (first
use in this function)
external/librt/aio.h:151: error: (Each undeclared identifier is
reported only once
external/librt/aio.h:151: error: for each function it appears in.)
external/librt/aio.h:153: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__THROW'
external/librt/aio.h:156: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__THROW'
external/librt/aio.h:158: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'aio_return'
external/librt/aio.h:162: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__THROW'
external/librt/aio.h:171: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__nonnull'
external/librt/aio.h:176: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__THROW'
In file included from external/librt/aio_cancel.c:31:
bionic/libc/include/errno.h:45: error: storage class specified for
parameter '__set_errno'
bionic/libc/include/errno.h:48: error: storage class specified for
parameter '__errno'
external/librt/aio_cancel.c:35: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '{' token
external/librt/aio_cancel.c:40: error: expected declaration specifiers
before 'weak_alias'
make: Leaving directory `/home/dixit/projects/eclair'
external/librt/aio_cancel.c:44:22: error: stub-tag.h: No such file or
directory


Any help/pointers would be useful. I know I am messing this up, but
being a newbie, Iam not able to relate what the error amounts to.


Thanks,
Vijay

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to