Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Build Error during Make
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
  Messages 1 - 25 of 41 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
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 will appear after it is approved by moderators
 
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
 
Rudster816  
View profile  
 More options Jul 6 2010, 9:58 am
From: Rudster816 <rudster...@gmail.com>
Date: Tue, 6 Jul 2010 06:58:44 -0700 (PDT)
Local: Tues, Jul 6 2010 9:58 am
Subject: Build Error during Make
I just downloaded the Android source from the repo for the first time,
and now when I attempt to make it I get the following error. All the
tools I have are up to date as far as I know, and I followed the guide
here precisely.

http://source.android.com/source/download.html

It looks like im missing a header from somewhere, but I have no idea
on how to fix this.

riley@riley-desktop:~/androidbuild$ make
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
Install: out/host/linux-x86/framework/apicheck.jar
Install: out/host/linux-x86/framework/clearsilver.jar
Install: out/host/linux-x86/framework/droiddoc.jar
host C: libclearsilver-jni <= external/clearsilver/java-jni/
j_neo_util.c
In file included from /usr/include/features.h:378,
                 from /usr/include/string.h:26,
                 from external/clearsilver/java-jni/j_neo_util.c:1:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or
directory
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libclearsilver-
jni_intermediates/j_neo_util.o] Error 1


 
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.
frank.sposaro  
View profile  
 More options Jul 7 2010, 2:39 pm
From: "frank.sposaro" <frank.spos...@gmail.com>
Date: Wed, 7 Jul 2010 11:39:18 -0700 (PDT)
Local: Wed, Jul 7 2010 2:39 pm
Subject: Re: Build Error during Make
Hi. I have not seen this error for myself, but it looks java related
error along with gcc. Not being able to find the 64 bit stub file
probably means you need to double check how many bits your platform
is. I've read that the new build requires java 1.6 and 64 bit. I know
itusually cried if you have the wrong version of java, but idk if it
checks for 64  if you do have 64 make sure you have the correct
version of gcc

On Jul 6, 9:58 am, Rudster816 <rudster...@gmail.com> wrote:


 
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.
Ying Wang  
View profile  
 More options Jul 7 2010, 2:50 pm
From: Ying Wang <wangy...@android.com>
Date: Wed, 7 Jul 2010 11:50:09 -0700
Local: Wed, Jul 7 2010 2:50 pm
Subject: Re: [android-building] Re: Build Error during Make

Yes, the build system assumes you are building on a 64-bit host (maybe
mistakenly, does other parts enforce a 64-bit environment?).
I can make a fix, however, I can't verify it for I don't have a 32-bit host
available.

On Wed, Jul 7, 2010 at 11:39 AM, frank.sposaro <frank.spos...@gmail.com>wrote:


 
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.
Garret  
View profile  
 More options Jul 7 2010, 3:03 pm
From: Garret <pic...@pv.com>
Date: Wed, 7 Jul 2010 12:03:07 -0700 (PDT)
Local: Wed, Jul 7 2010 3:03 pm
Subject: Re: Build Error during Make
 
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.
David Lindquist  
View profile   Translate to Translated (View Original)
 More options Jul 7 2010, 3:14 pm
From: David Lindquist <lindqu...@pv.com>
Date: Wed, 7 Jul 2010 12:14:23 -0700 (PDT)
Local: Wed, Jul 7 2010 3:14 pm
Subject: Re: Build Error during Make
From what I can see, this was introduced with:
https://review.source.android.com/15611

Particularly, the diffs here:
https://review.source.android.com/#p...,cs/Android.mk

+# This forces a 64-bit build for Java6
+ifneq ($(filter 1.6%,$(java_version)),)
+ LOCAL_CFLAGS += -m64
+ LOCAL_LDFLAGS += -m64
+endif
+

(Logic: if Java 1.6 is installed, assume that the host is a 64-bit
machine)

Downgrading Java to 1.5 allows compilation to succeed for the generic-
eng / full-eng build.  So, I think I can safely say that nothing else
enforces a 64-bit environment.  If there was a 64-bit enforcement,
wouldn't it be enforced in build/core/main.mk?

Frank, where did you read that the new build requires a 64-bit host?

On Jul 7, 11:50 am, Ying Wang <wangy...@android.com> wrote:


 
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.
David Lindquist  
View profile  
 More options Jul 7 2010, 3:47 pm
From: David Lindquist <lindqu...@pv.com>
Date: Wed, 7 Jul 2010 12:47:44 -0700 (PDT)
Local: Wed, Jul 7 2010 3:47 pm
Subject: Re: Build Error during Make
On Jul 7, 11:50 am, Ying Wang <wangy...@android.com> wrote:

> Yes, the build system assumes you are building on a 64-bit host (maybe
> mistakenly, does other parts enforce a 64-bit environment?).
> I can make a fix, however, I can't verify it for I don't have a 32-bit host
> available.

I'd be happy to verify with a 32-bit host.

 
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.
Ying Wang  
View profile  
 More options Jul 7 2010, 6:07 pm
From: Ying Wang <wangy...@android.com>
Date: Wed, 7 Jul 2010 15:07:48 -0700 (PDT)
Local: Wed, Jul 7 2010 6:07 pm
Subject: Re: Build Error during Make
Joe said that the build now requires a 64 bit environment.
So maybe we have to stop supporting 32-bit build environment since
Java6?

On Jul 7, 12:14 pm, David Lindquist <lindqu...@pv.com> wrote:


 
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.
Manfred Moser  
View profile  
 More options Jul 7 2010, 6:31 pm
From: Manfred Moser <mosa...@gmail.com>
Date: Wed, 7 Jul 2010 15:31:09 -0700
Local: Wed, Jul 7 2010 6:31 pm
Subject: Re: [android-building] Re: Build Error during Make
Sorry to but in but Java6 is available for 32 and 64 bit. There is no
correlation between them that necessitates this. What would be the
reason to force 64 bit?


 
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.
Jean-Baptiste Queru  
View profile  
 More options Jul 7 2010, 6:36 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Wed, 7 Jul 2010 15:36:54 -0700
Local: Wed, Jul 7 2010 6:36 pm
Subject: Re: [android-building] Re: Build Error during Make
Java6 is not available in 32-bit on all platforms.

Given that all of Google's development and testing happens on builds
created on 64-bit machines, there's some level of risk in letting
device manufacturers use 32-bit environments as we don't know what
happens in those cases. Java6 allows us to standardize on 64-bit and
eliminate that risk.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
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.
Manfred Moser  
View profile  
 More options Jul 7 2010, 6:40 pm
From: Manfred Moser <mosa...@gmail.com>
Date: Wed, 7 Jul 2010 15:40:14 -0700
Local: Wed, Jul 7 2010 6:40 pm
Subject: Re: [android-building] Re: Build Error during Make
Fair enough. Thats a good reason. Thanks for clarifying.


 
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.
Garret  
View profile  
 More options Jul 7 2010, 6:46 pm
From: Garret <pic...@pv.com>
Date: Wed, 7 Jul 2010 15:46:31 -0700 (PDT)
Local: Wed, Jul 7 2010 6:46 pm
Subject: Re: Build Error during Make
This page

http://source.android.com/source/download.html

indicates that

"Ubuntu Linux (64-bit x86)
This has not been as well tested."

- Garret

On Jul 7, 12:36 pm, Jean-Baptiste Queru <j...@android.com> wrote:


 
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.
Ying Wang  
View profile  
 More options Jul 7 2010, 6:56 pm
From: Ying Wang <wangy...@android.com>
Date: Wed, 7 Jul 2010 15:56:02 -0700 (PDT)
Local: Wed, Jul 7 2010 6:56 pm
Subject: Re: Build Error during Make
So let's enforce a 64-bit build environment?
Just like what have enforced Java6, check if the host is 64-bit system
before doing any build.
I will be happy to make the change.. :-)

On Jul 7, 3:36 pm, Jean-Baptiste Queru <j...@android.com> wrote:


 
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.
Tiago Vieira  
View profile  
 More options Jul 8 2010, 8:34 am
From: Tiago Vieira <ti...@tvieira.com>
Date: Thu, 8 Jul 2010 13:34:22 +0100
Local: Thurs, Jul 8 2010 8:34 am
Subject: Re: [android-building] Re: Build Error during Make

On 7 Jul 2010, at 23:36, Jean-Baptiste Queru wrote:

> Java6 is not available in 32-bit on all platforms.

> Given that all of Google's development and testing happens on builds
> created on 64-bit machines, there's some level of risk in letting
> device manufacturers use 32-bit environments as we don't know what
> happens in those cases. Java6 allows us to standardize on 64-bit and
> eliminate that risk.

Ah! So, that explains the problem I'm getting with the libz.so as well. I'm trying to build on a 32bits Ubuntu.

Tiago


 
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.
Brian Austin  
View profile  
 More options Jul 8 2010, 2:49 pm
From: Brian Austin <heel...@gmail.com>
Date: Thu, 8 Jul 2010 11:49:56 -0700 (PDT)
Local: Thurs, Jul 8 2010 2:49 pm
Subject: Re: Build Error during Make
But for platforms that have 32-bit java6? Just let the compile fail?

A warning about untested 32-bit builds would be sufficient enough.
Forcing 32/64 compiles without any documentation or printouts of
warnings is not a very flexible way to code IMO.

There needs to be more data to suggest that it is mandatory

On Jul 8, 7:34 am, Tiago Vieira <ti...@tvieira.com> wrote:


 
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.
Robert.M.Manning@gmail.co m  
View profile  
 More options Jul 9 2010, 7:20 pm
From: "Robert.M.Mann...@gmail.com" <robert.m.mann...@gmail.com>
Date: Fri, 9 Jul 2010 16:20:51 -0700 (PDT)
Local: Fri, Jul 9 2010 7:20 pm
Subject: Re: Build Error during Make
Hmmm.... Did I miss something ?

manningr@dell-devpc:~/mydroid-2.2_r1.1$ uname -a
Linux dell-devpc 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 02:41:03
UTC 2010 x86_64 GNU/Linux
manningr@dell-devpc:~/mydroid-2.2_r1.1$  repo init -u
git://android.git.kernel.org/platform/manifest.git -b android-2.2_r1.1

<snip>

manningr@dell-devpc:~/mydroid-2.2_r1.1$ mm sdk
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=FRF91
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.

Your version is: java version "1.6.0_14".
The correct version is: 1.5.

Please follow the machine setup instructions at
    http://source.android.com/download
************************************************************
build/core/main.mk:117: *** stop.  Stop.

On Jul 7, 6:36 pm, Jean-Baptiste Queru <j...@android.com> wrote:


 
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.
Jean-Baptiste Queru  
View profile  
 More options Jul 9 2010, 7:41 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Fri, 9 Jul 2010 16:41:57 -0700
Local: Fri, Jul 9 2010 7:41 pm
Subject: Re: [android-building] Re: Build Error during Make
2.2_r1.1 is a variant of froyo, which needs to be built with JDK 1.5.

JBQ

On Fri, Jul 9, 2010 at 4:20 PM, Robert.M.Mann...@gmail.com

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
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.
Robert.M.Manning@gmail.co m  
View profile  
 More options Jul 9 2010, 9:56 pm
From: "Robert.M.Mann...@gmail.com" <robert.m.mann...@gmail.com>
Date: Fri, 9 Jul 2010 18:56:36 -0700 (PDT)
Local: Fri, Jul 9 2010 9:56 pm
Subject: Re: Build Error during Make

Oh, so the trunk requires 64-bit Java6, but the latest release version
(2.2_r1.1) still requires Java1.5 - correct ?

Rob

On Jul 9, 7:41 pm, Jean-Baptiste Queru <j...@android.com> wrote:


 
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.
Jean-Baptiste Queru  
View profile  
 More options Jul 9 2010, 11:20 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Fri, 9 Jul 2010 20:20:27 -0700
Local: Fri, Jul 9 2010 11:20 pm
Subject: Re: [android-building] Re: Build Error during Make
That's correct.

All the open-source codelines that mirror Google's internal froyo
branches (i.e. froyo and the various android-2.2) use 1.5 like
Google's matching internal codelines do, since that is the version
that Google developed and tested with through the entire froyo
development cycle.

We backported the changes to switch to version 1.6 (64-bit) from our
internal master branch to the open-source master just as we switched
our internal master branch to 1.6, since from that point there was no
requirement for contributions to the open-source master branch to
build under 1.5 any more.

JBQ

On Fri, Jul 9, 2010 at 6:56 PM, Robert.M.Mann...@gmail.com

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent ...

read more »


 
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.
mrieker@nii.net  
View profile  
 More options Jul 12 2010, 2:00 pm
From: "mrie...@nii.net" <mrie...@nii.net>
Date: Mon, 12 Jul 2010 11:00:55 -0700 (PDT)
Local: Mon, Jul 12 2010 2:00 pm
Subject: Re: Build Error during Make
So, I'm probably not getting what's going on here, but how does this
work out for building ARM code?  Seems compiling things like external/
clearsilver/java-jni/j_neo_cs.c, which uses jlongs for pointers, could
be rough.

 
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.
Jean-Baptiste Queru  
View profile  
 More options Jul 12 2010, 2:07 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Mon, 12 Jul 2010 11:07:51 -0700
Local: Mon, Jul 12 2010 2:07 pm
Subject: Re: [android-building] Re: Build Error during Make
The code in question is purely host-side (i.e. x86_64). Target-side
aspects are unchanged.

JBQ

On Mon, Jul 12, 2010 at 11:00 AM, mrie...@nii.net <mrie...@nii.net> wrote:
> So, I'm probably not getting what's going on here, but how does this
> work out for building ARM code?  Seems compiling things like external/
> clearsilver/java-jni/j_neo_cs.c, which uses jlongs for pointers, could
> be rough.

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
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.
mrieker@nii.net  
View profile  
 More options Jul 13 2010, 9:22 am
From: "mrie...@nii.net" <mrie...@nii.net>
Date: Tue, 13 Jul 2010 06:22:45 -0700 (PDT)
Local: Tues, Jul 13 2010 9:22 am
Subject: Re: Build Error during Make
If it is of interest to anyone, simply commenting out the many:

+# This forces a 64-bit build for Java6
+ifneq ($(filter 1.6%,$(java_version)),)
+ LOCAL_CFLAGS += -m64
+ LOCAL_LDFLAGS += -m64
+endif

blocks lets it build just fine on a 32-bit system (at least the
emulator seems to run ok).
Sun does have a Java 1.6 for 32-bit systems (jdk-6u21-linux-i586.bin).
Mike


 
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.
Austin, Brian  
View profile  
 More options Jul 13 2010, 1:08 pm
From: "Austin, Brian" <Brian.Aus...@cirrus.com>
Date: Tue, 13 Jul 2010 12:08:50 -0500
Local: Tues, Jul 13 2010 1:08 pm
Subject: RE: [android-building] Re: Build Error during Make
I have posted about this patch as well, but have not gotten any feedback
from the maintainers about it that much.  It seems very plausible to
allow a check for 32bit and issue a warning about "possible"
irregularities in doing a 32bit build.  This patch seems very
constrictive to me.

brian


 
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.
Chris C.  
View profile  
 More options Jul 29 2010, 5:55 pm
From: "Chris C." <ccfl...@gmail.com>
Date: Thu, 29 Jul 2010 14:55:50 -0700 (PDT)
Local: Thurs, Jul 29 2010 5:55 pm
Subject: Re: Build Error during Make
So, does this mean that development under Snow Leopard will now become
supported with the addition of Java 6?

Chris


 
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.
Jean-Baptiste Queru  
View profile  
 More options Jul 29 2010, 5:59 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Thu, 29 Jul 2010 14:59:33 -0700
Local: Thurs, Jul 29 2010 5:59 pm
Subject: Re: [android-building] Re: Build Error during Make
As far as I know there are still some issues (which may or may not be
related to the version of XCode used locally), but the switch to JDK
1.6 should remove one of the hurdles.

JBQ

On Thu, Jul 29, 2010 at 2:55 PM, Chris C. <ccfl...@gmail.com> wrote:
> So, does this mean that development under Snow Leopard will now become
> supported with the addition of Java 6?

> Chris

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
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.
Dirk Jäckel  
View profile  
 More options Jul 29 2010, 7:54 pm
From: Dirk Jäckel <dirk.jaec...@gmail.com>
Date: Thu, 29 Jul 2010 16:54:25 -0700 (PDT)
Local: Thurs, Jul 29 2010 7:54 pm
Subject: Re: Build Error during Make
Hi!

I know, its not supported to build with Snow Leopard. I just wanted to
let you know that I did successfully built master (as of some hours
ago) with my MacBook running Snow Leopard (64bit).

At first glance it looks the same as the Ubuntu (32bit) build. Wifi
and GSM are working

Dirk

On Jul 29, 11:59 pm, Jean-Baptiste Queru <j...@android.com> wrote:


 
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.
Messages 1 - 25 of 41   Newer >
« Back to Discussions « Newer topic     Older topic »