This is my first attempt at building AOSP. I went though all the steps
to build Gingerbread and after some trial and error I am at a point
that I don't understand. When getting to the build I get this.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.1
TARGET_PRODUCT=generic_inc
TARGET_BUILD_VARIANT=userdebug
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
Documents/Android.mk:63: Documents/minui/Android.mk: No such file or
directory
Documents/Android.mk:64: Documents/minzip/Android.mk: No such file or
directory
Documents/Android.mk:65: Documents/mtdutils/Android.mk: No such file
or directory
Documents/Android.mk:66: Documents/tools/Android.mk: No such file or
directory
Documents/Android.mk:67: Documents/edify/Android.mk: No such file or
directory
Documents/Android.mk:68: Documents/updater/Android.mk: No such file or
directory
Documents/Android.mk:69: Documents/applypatch/Android.mk: No such file
or directory
build/core/base_rules.mk:158: *** bootable/recovery:
MODULE.TARGET.EXECUTABLES.recovery already defined by Documents.
Stop.
My best guess is that you ran your original repo init in a directory that wasn't empty, and the build system found some Android.mk file in there and incorporated it into the build, in a way that caused conflicts.
I suggest that you create a new clean empty directory, run repo init there, copy .repo/projects from your existing client, and repo sync it. That should take care of things.
On Thu, Dec 30, 2010 at 9:55 AM, trock <trock79...@gmail.com> wrote: > This is my first attempt at building AOSP. I went though all the steps > to build Gingerbread and after some trial and error I am at a point > that I don't understand. When getting to the build I get this.
> ============================================ > PLATFORM_VERSION_CODENAME=REL > PLATFORM_VERSION=2.3.1 > TARGET_PRODUCT=generic_inc > TARGET_BUILD_VARIANT=userdebug > TARGET_SIMULATOR=false > TARGET_BUILD_TYPE=release > TARGET_BUILD_APPS= > TARGET_ARCH=arm > HOST_ARCH=x86 > HOST_OS=linux > HOST_BUILD_TYPE=release > BUILD_ID=GINGERBREAD > ============================================ > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > Documents/Android.mk:63: Documents/minui/Android.mk: No such file or > directory > Documents/Android.mk:64: Documents/minzip/Android.mk: No such file or > directory > Documents/Android.mk:65: Documents/mtdutils/Android.mk: No such file > or directory > Documents/Android.mk:66: Documents/tools/Android.mk: No such file or > directory > Documents/Android.mk:67: Documents/edify/Android.mk: No such file or > directory > Documents/Android.mk:68: Documents/updater/Android.mk: No such file or > directory > Documents/Android.mk:69: Documents/applypatch/Android.mk: No such file > or directory > build/core/base_rules.mk:158: *** bootable/recovery: > MODULE.TARGET.EXECUTABLES.recovery already defined by Documents. > Stop.
> Can someone please explain?
> -- > 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
On Thu, Dec 30, 2010 at 12:55 PM, trock <trock79...@gmail.com> wrote: > This is my first attempt at building AOSP. I went though all the steps > to build Gingerbread and after some trial and error I am at a point > that I don't understand. When getting to the build I get this.
> ============================================ > PLATFORM_VERSION_CODENAME=REL > PLATFORM_VERSION=2.3.1 > TARGET_PRODUCT=generic_inc > TARGET_BUILD_VARIANT=userdebug > TARGET_SIMULATOR=false > TARGET_BUILD_TYPE=release > TARGET_BUILD_APPS= > TARGET_ARCH=arm > HOST_ARCH=x86 > HOST_OS=linux > HOST_BUILD_TYPE=release > BUILD_ID=GINGERBREAD > ============================================ > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > find: `frameworks/base/frameworks/base/docs/html': No such file or > directory > find: `out/target/common/docs/gen': No such file or directory > Documents/Android.mk:63: Documents/minui/Android.mk: No such file or > directory > Documents/Android.mk:64: Documents/minzip/Android.mk: No such file or > directory > Documents/Android.mk:65: Documents/mtdutils/Android.mk: No such file > or directory > Documents/Android.mk:66: Documents/tools/Android.mk: No such file or > directory > Documents/Android.mk:67: Documents/edify/Android.mk: No such file or > directory > Documents/Android.mk:68: Documents/updater/Android.mk: No such file or > directory > Documents/Android.mk:69: Documents/applypatch/Android.mk: No such file > or directory > build/core/base_rules.mk:158: *** bootable/recovery: > MODULE.TARGET.EXECUTABLES.recovery already defined by Documents. > Stop.
> Can someone please explain?
> -- > 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<android-building%2Bunsubscrib e@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en
No private recovery resources for TARGET_DEVICE inc
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/rsa.c
In file included from /usr/include/features.h:378,
from /usr/include/stdio.h:28,
from system/core/mkbootimg/mkbootimg.c:18:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory
In file included from /usr/include/features.h:378,
from /usr/include/inttypes.h:26,
from system/core/include/mincrypt/rsa.h:31,
from system/core/libmincrypt/rsa.c:28:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory
system/core/mkbootimg/mkbootimg.c: In function ‘write_padding’:
system/core/mkbootimg/mkbootimg.c:88: warning: comparison between
signed and unsigned integer expressions
system/core/mkbootimg/mkbootimg.c: In function ‘main’:
system/core/mkbootimg/mkbootimg.c:183: warning: pointer targets in
passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:127: note: expected ‘char * __restrict__’ but
argument is of type ‘unsigned char *’
system/core/mkbootimg/mkbootimg.c:228: warning: assignment discards
qualifiers from pointer target type
system/core/mkbootimg/mkbootimg.c:241: warning: comparison between
signed and unsigned integer expressions
system/core/mkbootimg/mkbootimg.c:244: warning: comparison between
signed and unsigned integer expressions
system/core/mkbootimg/mkbootimg.c:248: warning: comparison between
signed and unsigned integer expressions
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/
libmincrypt_intermediates/rsa.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/
mkbootimg.o] Error 1
> I am just beginning and saw a similar error building rowboat
> My Rules.make was not actually pointing to the kernel
> On Thu, Dec 30, 2010 at 12:55 PM, trock <trock79...@gmail.com> wrote:
> > This is my first attempt at building AOSP. I went though all the steps
> > to build Gingerbread and after some trial and error I am at a point
> > that I don't understand. When getting to the build I get this.
> > ============================================
> > PLATFORM_VERSION_CODENAME=REL
> > PLATFORM_VERSION=2.3.1
> > TARGET_PRODUCT=generic_inc
> > TARGET_BUILD_VARIANT=userdebug
> > TARGET_SIMULATOR=false
> > TARGET_BUILD_TYPE=release
> > TARGET_BUILD_APPS=
> > TARGET_ARCH=arm
> > HOST_ARCH=x86
> > HOST_OS=linux
> > HOST_BUILD_TYPE=release
> > BUILD_ID=GINGERBREAD
> > ============================================
> > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > directory
> > find: `out/target/common/docs/gen': No such file or directory
> > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > directory
> > find: `out/target/common/docs/gen': No such file or directory
> > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > directory
> > find: `out/target/common/docs/gen': No such file or directory
> > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > directory
> > find: `out/target/common/docs/gen': No such file or directory
> > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > directory
> > find: `out/target/common/docs/gen': No such file or directory
> > Documents/Android.mk:63: Documents/minui/Android.mk: No such file or
> > directory
> > Documents/Android.mk:64: Documents/minzip/Android.mk: No such file or
> > directory
> > Documents/Android.mk:65: Documents/mtdutils/Android.mk: No such file
> > or directory
> > Documents/Android.mk:66: Documents/tools/Android.mk: No such file or
> > directory
> > Documents/Android.mk:67: Documents/edify/Android.mk: No such file or
> > directory
> > Documents/Android.mk:68: Documents/updater/Android.mk: No such file or
> > directory
> > Documents/Android.mk:69: Documents/applypatch/Android.mk: No such file
> > or directory
> > build/core/base_rules.mk:158: *** bootable/recovery:
> > MODULE.TARGET.EXECUTABLES.recovery already defined by Documents.
> > Stop.
> > Can someone please explain?
> > --
> > 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<android-building%2Bunsubscrib e@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-building?hl=en
Creating a symbolic link frameworks kludge under frameworks/base fixes
some of the errors. Looks like the base directory
for frameworks base is not set right somewhere and it is adding an
additional "frameworks/base" which is fixed by adding
the additional symbolic link
On Jan 13, 1:15 pm, tl <terence.l...@gmail.com> wrote:
> Can someone please explain what the issue is with Rules.make and how
> to fix it.
> Thanks
> On Jan 4, 5:07 pm, modyrater <mark.lazarew...@gmail.com> wrote:
> > I am just beginning and saw a similar error building rowboat
> > My Rules.make was not actually pointing to the kernel
> > On Thu, Dec 30, 2010 at 12:55 PM, trock <trock79...@gmail.com> wrote:
> > > This is my first attempt at building AOSP. I went though all the steps
> > > to build Gingerbread and after some trial and error I am at a point
> > > that I don't understand. When getting to the build I get this.
> > > ============================================
> > > PLATFORM_VERSION_CODENAME=REL
> > > PLATFORM_VERSION=2.3.1
> > > TARGET_PRODUCT=generic_inc
> > > TARGET_BUILD_VARIANT=userdebug
> > > TARGET_SIMULATOR=false
> > > TARGET_BUILD_TYPE=release
> > > TARGET_BUILD_APPS=
> > > TARGET_ARCH=arm
> > > HOST_ARCH=x86
> > > HOST_OS=linux
> > > HOST_BUILD_TYPE=release
> > > BUILD_ID=GINGERBREAD
> > > ============================================
> > > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > > directory
> > > find: `out/target/common/docs/gen': No such file or directory
> > > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > > directory
> > > find: `out/target/common/docs/gen': No such file or directory
> > > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > > directory
> > > find: `out/target/common/docs/gen': No such file or directory
> > > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > > directory
> > > find: `out/target/common/docs/gen': No such file or directory
> > > find: `frameworks/base/frameworks/base/docs/html': No such file or
> > > directory
> > > find: `out/target/common/docs/gen': No such file or directory
> > > Documents/Android.mk:63: Documents/minui/Android.mk: No such file or
> > > directory
> > > Documents/Android.mk:64: Documents/minzip/Android.mk: No such file or
> > > directory
> > > Documents/Android.mk:65: Documents/mtdutils/Android.mk: No such file
> > > or directory
> > > Documents/Android.mk:66: Documents/tools/Android.mk: No such file or
> > > directory
> > > Documents/Android.mk:67: Documents/edify/Android.mk: No such file or
> > > directory
> > > Documents/Android.mk:68: Documents/updater/Android.mk: No such file or
> > > directory
> > > Documents/Android.mk:69: Documents/applypatch/Android.mk: No such file
> > > or directory
> > > build/core/base_rules.mk:158: *** bootable/recovery:
> > > MODULE.TARGET.EXECUTABLES.recovery already defined by Documents.
> > > Stop.
> > > Can someone please explain?
> > > --
> > > 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<android-building%2Bunsubscrib e@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-building?hl=en
On Thu, Jan 13, 2011 at 11:14 AM, tl <terence.l...@gmail.com> wrote: > Creating a symbolic link frameworks kludge under frameworks/base fixes > some of the errors. Looks like the base directory > for frameworks base is not set right somewhere and it is adding an > additional "frameworks/base" which is fixed by adding > the additional symbolic link
> On Jan 13, 1:15 pm, tl <terence.l...@gmail.com> wrote: >> Can someone please explain what the issue is with Rules.make and how >> to fix it.
>> Thanks
>> On Jan 4, 5:07 pm, modyrater <mark.lazarew...@gmail.com> wrote:
>> > I am just beginning and saw a similar error building rowboat
>> > My Rules.make was not actually pointing to the kernel
>> > On Thu, Dec 30, 2010 at 12:55 PM, trock <trock79...@gmail.com> wrote: >> > > This is my first attempt at building AOSP. I went though all the steps >> > > to build Gingerbread and after some trial and error I am at a point >> > > that I don't understand. When getting to the build I get this.
>> > > ============================================ >> > > PLATFORM_VERSION_CODENAME=REL >> > > PLATFORM_VERSION=2.3.1 >> > > TARGET_PRODUCT=generic_inc >> > > TARGET_BUILD_VARIANT=userdebug >> > > TARGET_SIMULATOR=false >> > > TARGET_BUILD_TYPE=release >> > > TARGET_BUILD_APPS= >> > > TARGET_ARCH=arm >> > > HOST_ARCH=x86 >> > > HOST_OS=linux >> > > HOST_BUILD_TYPE=release >> > > BUILD_ID=GINGERBREAD >> > > ============================================ >> > > find: `frameworks/base/frameworks/base/docs/html': No such file or >> > > directory >> > > find: `out/target/common/docs/gen': No such file or directory >> > > find: `frameworks/base/frameworks/base/docs/html': No such file or >> > > directory >> > > find: `out/target/common/docs/gen': No such file or directory >> > > find: `frameworks/base/frameworks/base/docs/html': No such file or >> > > directory >> > > find: `out/target/common/docs/gen': No such file or directory >> > > find: `frameworks/base/frameworks/base/docs/html': No such file or >> > > directory >> > > find: `out/target/common/docs/gen': No such file or directory >> > > find: `frameworks/base/frameworks/base/docs/html': No such file or >> > > directory >> > > find: `out/target/common/docs/gen': No such file or directory >> > > Documents/Android.mk:63: Documents/minui/Android.mk: No such file or >> > > directory >> > > Documents/Android.mk:64: Documents/minzip/Android.mk: No such file or >> > > directory >> > > Documents/Android.mk:65: Documents/mtdutils/Android.mk: No such file >> > > or directory >> > > Documents/Android.mk:66: Documents/tools/Android.mk: No such file or >> > > directory >> > > Documents/Android.mk:67: Documents/edify/Android.mk: No such file or >> > > directory >> > > Documents/Android.mk:68: Documents/updater/Android.mk: No such file or >> > > directory >> > > Documents/Android.mk:69: Documents/applypatch/Android.mk: No such file >> > > or directory >> > > build/core/base_rules.mk:158: *** bootable/recovery: >> > > MODULE.TARGET.EXECUTABLES.recovery already defined by Documents. >> > > Stop.
>> > > Can someone please explain?
>> > > -- >> > > 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<android-building%2Bunsubscrib e@googlegroups.com> >> > > For more options, visit this group at >> > >http://groups.google.com/group/android-building?hl=en
> -- > 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