Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Compilation errors with qemu in android-1.5 recent release
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Elvis Dowson  
View profile  
 More options Apr 25, 7:14 am
From: Elvis Dowson <elvis.dow...@gmail.com>
Date: Sat, 25 Apr 2009 04:14:03 -0700 (PDT)
Local: Sat, Apr 25 2009 7:14 am
Subject: Compilation errors with qemu in android-1.5 recent release
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.

Best regards,

Elvis


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Teck Choon Giam  
View profile  
 More options Apr 25, 1:20 pm
From: Teck Choon Giam <giamteckch...@gmail.com>
Date: Sun, 26 Apr 2009 01:20:47 +0800
Local: Sat, Apr 25 2009 1:20 pm
Subject: Re: [android-porting] Compilation errors with qemu in android-1.5 recent release

On Sat, Apr 25, 2009 at 7:14 PM, Elvis Dowson <elvis.dow...@gmail.com> 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
paraeco  
View profile  
(1 user)  More options Apr 26, 10:13 pm
From: paraeco <szuming...@gmail.com>
Date: Sun, 26 Apr 2009 19:13:02 -0700 (PDT)
Local: Sun, Apr 26 2009 10:13 pm
Subject: Re: Compilation errors with qemu in android-1.5 recent release
Hi,

I faced the same problem while compiling Android on Ubuntu 9.04 .
But I fixed it in the make file instead.

--- ./myandroid-org/external/qemu/Makefile.android      2009-04-27
09:34:36.000000000 +0800
+++ ./myandroid/external/qemu/Makefile.android  2009-04-27
09:03:12.000000000 +0800
@@ -18,7 +18,7 @@

 # this is needed to build the emulator on 64-bit Linux systems
 ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
-  MY_CFLAGS += -Wa,--32
+  MY_CFLAGS += -Wa,--32 -D_GNU_SOURCE
 endif

 ifeq ($(HOST_OS),freebsd)

Regards,
Paraeco

On Apr 26, 1:20 am, Teck Choon Giam <giamteckch...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google