On Sat, Apr 25, 2009 at 7:14 PM, Elvis Dowson <[email protected]> wrote:
>
> Hi,
>      I just checked out the android-1.5 sdk that was just released
> yesterday, and it fails during compilation because of qemu.
>
> I have to now revert back to the android-sdk-1.5-pre.

I am able to get it compiled by commenting out the EAI_NODATA line
found in sockets.c file.  I won't know but from the error it shown
EAI_NODATA no predefine or similar thus don't think will affect
current build images.  Patch as below:

--- external/qemu/sockets.c.orig        2009-04-26 01:15:24.000000000 +0800
+++ external/qemu/sockets.c     2009-04-26 01:15:44.000000000 +0800
@@ -634,7 +634,7 @@
             err = EHOSTDOWN;
             break;

-        case EAI_NODATA:
+        /* case EAI_NODATA: */
         case EAI_NONAME:
             err = ENOENT;
             break;

Kindest regards,
Giam Teck Choon

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

Reply via email to