U need to Download "GNU make" older version (3.81) for example, unzip it to 
some folder and:



*$cd /path_to_folder$./configure $make *
Move to your AOSP folder 
$/path_to_make_folder/make  -jn 

If not help try more older version 

воскресенье , 10 января 2016 г., 12:49:23 UTC-5 пользователь Mike 
Somerville написал:
>
> I am having the same issue except my issue appears to be line 134.
>
> Enter code here...root@Karen:~/android/aosp-2.3.x# make -j6
> ============================================
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=2.3.7
> TARGET_PRODUCT=full
> TARGET_BUILD_VARIANT=eng
> TARGET_SIMULATOR=false
> TARGET_BUILD_TYPE=release
> TARGET_BUILD_APPS=
> TARGET_ARCH=arm
> TARGET_ARCH_VARIANT=armv7-a
> HOST_ARCH=x86
> HOST_OS=linux
> HOST_BUILD_TYPE=release
> BUILD_ID=GINGERBREAD
> ============================================
> build/core/prebuilt.mk:134: *** recipe commences before first target. 
>  Stop.
> root@Karen:~/android/aosp-2.3.x# 
>
>
> my version of make is as follows.
> Enter code here...root@Karen:~/android/aosp-2.3.x# make --version
> GNU Make 4.0
> Built for x86_64-pc-linux-gnu
> Copyright (C) 1988-2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> root@Karen:~/android/aosp-2.3.x# 
>
>
> have you made any progress?  The only answer I have found so far is to 
> install Ubuntu 12.04 and use that to compile.  I really don't want to do 
> this in a virtual machine as setting up an entire virtual machine to prove 
> my build environment seems rather pointless.
>
> Mike
>
> On Sunday, January 3, 2016 at 5:04:46 AM UTC-5, Biking Wong wrote:
>>
>> I just freshly downloaded the source code of android_2.3.1_r1 branch on 
>> my 64 bit ubuntu 15.10. I run:
>>
>> source build/envsetup.sh
>> lunch generic-eng
>> make -j4
>>
>> Then I saw the makefile error in the console:
>>
>>
>> ============================================
>> PLATFORM_VERSION_CODENAME=REL
>> PLATFORM_VERSION=2.3.1
>> TARGET_PRODUCT=generic
>> TARGET_BUILD_VARIANT=eng
>> 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=GRH78
>> ============================================
>> build/core/prebuilt.mk:91: *** recipe commences before first target. 
>>  Stop.
>>
>>
>> The corresponding line in prebuilt.mk (The third line is line 91):
>>
>> ifneq ($(prebuilt_module_is_a_library),)
>>   ifneq ($(LOCAL_IS_HOST_MODULE),)
>>         $(transform-host-ranlib-copy-hack)
>>   else
>>         $(transform-ranlib-copy-hack)
>>   endif
>> endif
>>
>> So is it caused by make version? The make version I am using is:
>>
>> GNU Make 4.0
>> Built for x86_64-pc-linux-gnu
>> Copyright (C) 1988-2013 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <
>> http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> The gcc version I am using is:
>> gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010
>> Copyright (C) 2015 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
>> PURPOSE.
>>
>> Thanks
>>
>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to