'mm' failures caused by aidl

1,044 views
Skip to first unread message

brian

unread,
Jan 24, 2011, 6:04:45 PM1/24/11
to Android Building
Hi,

Prior to running this down I wanted to see if anyone is already
looking into
it or knows if this should NOT work for any reason.

I'm seeing problem with 'mm' failing to work properly due to what
appears
a problem with a missing dependency. The problem does not occur in
a built tree --only a clean one.

Error:

make: *** No rule to make target `out/host/linux-x86/bin/aidl', needed
by `out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/
core/java/android/accessibilityservice/
IAccessibilityServiceConnection.java'. Stop.

Test case

$ cd <src-root>
$ make clobber
$ cd frameworks/base/core/java/android/accessibilityservice
$ mm


thanks,
brian

Jean-Baptiste Queru

unread,
Jan 24, 2011, 6:16:41 PM1/24/11
to android-...@googlegroups.com
I think that mm assumes that you do have a fully built tree, since its
point is to not check dependencies.

From a clean state, I think that you're looking for "make framework",
which will build all the framework's dependencies. Once that's done,
mm should work.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@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.

ke tang

unread,
Feb 11, 2011, 10:44:10 PM2/11/11
to android-...@googlegroups.com
before you use mm commands ,you can use . build/envsetup.sh commands.

2011/1/25 Jean-Baptiste Queru <j...@android.com>

Dulan Dissanayake

unread,
Aug 18, 2015, 10:41:09 AM8/18/15
to Android Building, bdau...@codeaurora.org
Hi All,

I'm getting this error when im trying to build individual module Email in aosp 5.0

make: *** No rule to make target `out/host/linux-x86/bin/aidl', needed by `out/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_intermediates/src/src/com/android/emailcommon/service/IEmailService.java'.  Stop.


Is there a reason for this ?? How to fix this??

Thanks,
Dulan

Magnus Bäck

unread,
Aug 21, 2015, 2:36:32 AM8/21/15
to android-...@googlegroups.com
On Tuesday, August 18, 2015 at 05:56 CEST,
Dulan Dissanayake <dula...@gmail.com> wrote:

> I'm getting this error when im trying to build individual module Email
> in aosp 5.0
> make: *** No rule to make target `out/host/linux-x86/bin/aidl', needed
> by
> `out/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_intermediates/src/src/com/android/emailcommon/service/IEmailService.java'.
> Stop.
> Is there a reason for this ?? How to fix this??

The 'mm' shell function only builds the modules in the current
directory, not their depenencies. In other words, it's useful
for incremental builds but not clean builds. If you want to
build the email application and its dependencies but not the
whole platform you can run 'make Email'.

--
Magnus Bäck | Software Engineer, Development Tools
magnu...@sonymobile.com | Sony Mobile Communications
Reply all
Reply to author
Forward
0 new messages