Ok finally figured this out.

If you are using BASH then you must do this...

> unset CDPATH

This will stop the path being echoed and screwing up the make scripts.

On Jan 8, 9:28 am, Mahesh <nagarajan.mah...@gmail.com> wrote:
> Thanks for your response David.
> I am still getting the same error.
> I figured out a common issue in the following files and made changes:
> build/core/base_rules.mk
> build/core/definitions.mk
> dalvik/libcore/Android.mk
>
> The issue is the output of 'cd' getting into the output of functions
> like the following:
> define all-core-java-files
> $(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find */src/$(1)/java -
> name "*.java"))
> endef
>
> I changed the defintion to (and similar changes in other places also):
> define all-core-java-files
> $(patsubst ./%,%,$(shell cd $(LOCAL_PATH) > /dev/null && find */src/
> $(1)/java -name "*.java"))
> endef
>
> Then the build went through fine.
>
> It looks like an issue with my environment. But haven't figured out
> yet.
>
> --mahesh n
>
> On Jan 8, 3:35 am, "David Turner" <di...@android.com> wrote:
>
> > try configuring your environment before invoking make, e.g.:
>
> > . build/envsetup.sh
> > choosecombo
>
> > On Thu, Jan 8, 2009 at 4:38 AM, Mahesh <nagarajan.mah...@gmail.com> wrote:
>
> > > hi,
> > > I am trying to build android release 1.0 on a MacBook Pro running Mac
> > > OS X 10.5.6
>
> > > I downloaded android with the following commands:
> > > repo init -u git://android.git.kernel.org/platform/manifest.git -b
> > > release-1.0
> > > repo sync
>
> > > I am getting the following error when doing 'make':
>
> > > $ make
> > > build/core/product_config.mk:229: WARNING: adding test OTA key
> > > /bin/bash: line 0: cd: dalvik/libcore//Volumes/android/release_1_0/
> > > dalvik/libcore: No such file or directory
> > > /bin/bash: line 0: cd: dalvik/libcore//Volumes/android/release_1_0/
> > > dalvik/libcore: No such file or directory
> > > dalvik/libcore/Android.mk:107: dalvik/libcore//Volumes/android/
> > > release_1_0/dalvik/libcore/sub.mk: No such file or directory
> > > build/core/copy_headers.mk:15: warning: overriding commands for target
> > > `out/target/product/generic/obj/include/JavaScriptCore/JavaScriptCore'
> > > build/core/copy_headers.mk:15: warning: ignoring old commands for
> > > target `out/target/product/generic/obj/include/JavaScriptCore/
> > > JavaScriptCore'
> > > build/core/copy_headers.mk:15: warning: overriding commands for target
> > > `out/target/product/generic/obj/include/JavaScriptCore/JavaScriptCore'
> > > build/core/copy_headers.mk:15: warning: ignoring old commands for
> > > target `out/target/product/generic/obj/include/JavaScriptCore/
> > > JavaScriptCore'
> > > build/core/copy_headers.mk:15: warning: overriding commands for target
> > > `out/target/product/generic/obj/include/JavaScriptCore/JavaScriptCore'
> > > build/core/copy_headers.mk:15: warning: ignoring old commands for
> > > target `out/target/product/generic/obj/include/JavaScriptCore/
> > > JavaScriptCore'
> > > make: *** No rule to make target `dalvik/libcore//Volumes/android/
> > > release_1_0/dalvik/libcore/sub.mk'.  Stop.
> > > $
>
> > > Please let me know if I am missing anything.
>
> > > thanks
> > > --mahesh n
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to