ninja: error: missing 'out/target/product/cancro/obj/lib/libtime_genoff.so.toc' - General Questions and Answers

Hi, I am trying to build CM 14 for cancro (Mi3) on Ubuntu 16:10 but I am getting following error. Full logs are : http://pastebin.com/0k1i6N7v
Can someone please help me. Thanks in advance.
Code:
build/core/Makefile:34: warning: overriding commands for target `/home/kailash/android/system/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/kailash/android/system/out/target/product/cancro/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/kailash/android/system/out/target/product/cancro/obj/lib/libtime_genoff.so.toc', needed by '/home/kailash/android/system/out/target/product/cancro/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/kailash/android/system'
#### make failed to build some targets (37 seconds) ####
[email protected]:~/android/system$

same here

Did anyone find a solution to this?

Anyone have a solution for this?

frustrated, I have the same problem.

nousername12 said:
frustrated, I have the same problem.
Click to expand...
Click to collapse
Code:
include $(CLEAR_VARS)
LOCAL_MODULE := libtime_genoff
LOCAL_MODULE_OWNER := xiaomi
LOCAL_SRC_FILES := proprietary/vendor/lib/libtime_genoff.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
include $(BUILD_PREBUILT)
put this in vendor/xiaomi/cancro/Android.mk can solve the problem.
from https://forum.xda-developers.com/general/xda-assist/ninjawrapper-error-t3540887

Related

[Q] Build a native c helloworld with DynamicLinkLibrary?

Hi everyone, I want to make a native c program with a dynamic link library, so I put these files in Android/development/hello/: hello.c, myprint.h,myprint.c, the main() is in hello.c and include myprint.h, and the Android.mk is:
---------------------------------------------------------------------
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := myprint
LOCAL_SRC_FILES := myprint.c
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := helloworld
LOCAL_SRC_FILES := hello.c
LOCAL_SHARED_LIBRARIES := myprint
include $(BUILD_EXECUTABLE)
---------------------------------------------------------------------
Then I make helloworld, and the output info is that:
---------------------------------------------------------------------
target thumb C: helloworld <= development/hello/hello.c
target thumb C: myprint <= development/hello/myprint.c
target SharedLib: myprint (out/target/product/generic/obj/SHARED_LIBRARIES/myprint_intermediates/LINKED/myprint.so)
target Symbolic: myprint (out/target/product/generic/symbols/system/lib/myprint.so)
target Strip: myprint (out/target/product/generic/obj/lib/myprint.so)
target Executable: helloworld (out/target/product/generic/obj/EXECUTABLES/helloworld_intermediates/LINKED/helloworld)
/home/neil/dev/google_422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lmyprint.so
development/hello/hello.c:5: error: undefined reference to 'myprint'
collect2: error: ld returned 1 exit status
---------------------------------------------------------------------
Please help me...

[Q] Cannot find -lpthread

Hi all,
I am trying to build AOSP kitkat for Canvas Magnus. While building i get this error and compiling stops. "Cannot find -lpthred" in <path-to-toolchain>/bin/ld. I have tried using android toolchain 4.8, 4.7 came along with source. I tried it with Linaro 4.7, still the same.
I tried searching on XDA & google but not much help found.
Under frameworks/compile/libcc/Android.mk i found this:
ifndef USE_MINGW
LOCAL_LDLIBS := -ldl -lpthread
endif
Seems on non windows os (nix) its asking to use local LD Libs, I am using Mint 17, gcc version 4.8.2.
I need any help understanding why its failing. I don't need a fix, but if you can guide me in a direction i will be greatful.
Regards
AJ
Here's the few lines with the error: its happing while linking gsm0710 modem
Install: out/target/product/a117/system/lib/libext2fs.so
target Executable: bugreport (out/target/product/a117/obj/EXECUTABLES/bugreport_intermediates/LINKED/bugreport)
target Executable: toolbox (out/target/product/a117/obj/EXECUTABLES/toolbox_intermediates/LINKED/toolbox)
target Executable: clatd (out/target/product/a117/obj/EXECUTABLES/clatd_intermediates/LINKED/clatd)
target SharedLib: libbacktrace_libc++ (out/target/product/a117/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/LINKED/libbacktrace_libc++.so)
target Executable: dnsmasq (out/target/product/a117/obj/EXECUTABLES/dnsmasq_intermediates/LINKED/dnsmasq)
target Executable: dumpstate (out/target/product/a117/obj/EXECUTABLES/dumpstate_intermediates/LINKED/dumpstate)
target Executable: gsm0710muxd (out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd)
target Executable: installd (out/target/product/a117/obj/EXECUTABLES/installd_intermediates/LINKED/installd)
/home/xelion/droid-dev/asop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
make: *** [out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

[Q][WIP] Android 5 Lollipop for S2vep

OK mates i am building Android 5 from the stock AOSP until VanirAOSP Lollipop finish the download by the wat i got this error during compilation, that you show in the box code.
host SharedLib: libSR_Recognizer_32 (out/host/linux-x86/obj32/lib/libSR_Recognizer.so)
target R.java/Manifest.java: VpnDialogs (out/target/common/obj/APPS/VpnDialogs_intermediates/src/R.stamp)
warning: string 'accept' has no default translation.
target R.java/Manifest.java: WallpaperCropper (out/target/common/obj/APPS/WallpaperCropper_intermediates/src/R.stamp)
target StaticExecutable: add-property-tag (out/target/product/s2vep/obj/EXECUTABLES/add-property-tag_intermediates/LINKED/add-property-tag)
target StaticExecutable: check-lost+found (out/target/product/s2vep/obj/EXECUTABLES/check-lost+found_intermediates/LINKED/check-lost+found)
target Executable: cpustats (out/target/product/s2vep/obj/EXECUTABLES/cpustats_intermediates/LINKED/cpustats)
target Executable: dhdutil (out/target/product/s2vep/obj/EXECUTABLES/dhdutil_intermediates/LINKED/dhdutil)
target Executable: fio (out/target/product/s2vep/obj/EXECUTABLES/fio_intermediates/LINKED/fio)
target Executable: latencytop (out/target/product/s2vep/obj/EXECUTABLES/latencytop_intermediates/LINKED/latencytop)
target StaticExecutable: memtrack (out/target/product/s2vep/obj/EXECUTABLES/memtrack_intermediates/LINKED/memtrack)
target Executable: memtrack_share (out/target/product/s2vep/obj/EXECUTABLES/memtrack_share_intermediates/LINKED/memtrack_share)
target Executable: micro_bench (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_intermediates/LINKED/micro_bench)
target StaticExecutable: micro_bench_static (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_static_intermediates/LINKED/micro_bench_static)
target Executable: sane_schedstat (out/target/product/s2vep/obj/EXECUTABLES/sane_schedstat_intermediates/LINKED/sane_schedstat)
target Executable: showslab (out/target/product/s2vep/obj/EXECUTABLES/showslab_intermediates/LINKED/showslab)
target Executable: strace (out/target/product/s2vep/obj/EXECUTABLES/strace_intermediates/LINKED/strace)
target StaticExecutable: su (out/target/product/s2vep/obj/EXECUTABLES/su_intermediates/LINKED/su)
Target boot image: out/target/product/s2vep/boot.img
error: could not load kernel 'out/target/product/s2vep/kernel'
make: *** [out/target/product/s2vep/boot.img] Error 1
make: *** Waiting for unfinished jobs....
warning: no entries written for dimen/password_keyboard_height (0x010500a2)
warning: no entries written for drawable/ab_solid_shadow_mtrl (0x010800bb)
warning: no entries written for drawable/ab_transparent_mtrl_alpha (0x010800c4)
warning: no entries written for drawable/btn_check_off_mtrl_alpha (0x010800f8)
warning: no entries written for drawable/btn_check_on_mtrl_alpha (0x0108010e)
warning: no entries written for drawable/btn_radio_off_mtrl_alpha (0x010801b0)
warning: no entries written for drawable/btn_radio_off_pressed_mtrl_alpha (0x010801b4)
warning: no entries written for drawable/switch_off_mtrl_alpha (0x010806b1)
warning: no entries written for drawable/switch_on_mtrl_alpha (0x010806b2)
warning: no entries written for drawable/sym_keyboard_delete_holo (0x010806c5)
#### make failed to build some targets (01:16:17 (hh:mm:ss)) ####
to know I got about 6gb of s2vep out folder, so any help for this error???
It cannot find boot.img, obviously.
Is kernel compilled? Or does it use a prebuilt one?
haky 86 said:
OK mates i am building Android 5 from the stock AOSP until VanirAOSP Lollipop finish the download by the wat i got this error during compilation, that you show in the box code.
host SharedLib: libSR_Recognizer_32 (out/host/linux-x86/obj32/lib/libSR_Recognizer.so)
target R.java/Manifest.java: VpnDialogs (out/target/common/obj/APPS/VpnDialogs_intermediates/src/R.stamp)
warning: string 'accept' has no default translation.
target R.java/Manifest.java: WallpaperCropper (out/target/common/obj/APPS/WallpaperCropper_intermediates/src/R.stamp)
target StaticExecutable: add-property-tag (out/target/product/s2vep/obj/EXECUTABLES/add-property-tag_intermediates/LINKED/add-property-tag)
target StaticExecutable: check-lost+found (out/target/product/s2vep/obj/EXECUTABLES/check-lost+found_intermediates/LINKED/check-lost+found)
target Executable: cpustats (out/target/product/s2vep/obj/EXECUTABLES/cpustats_intermediates/LINKED/cpustats)
target Executable: dhdutil (out/target/product/s2vep/obj/EXECUTABLES/dhdutil_intermediates/LINKED/dhdutil)
target Executable: fio (out/target/product/s2vep/obj/EXECUTABLES/fio_intermediates/LINKED/fio)
target Executable: latencytop (out/target/product/s2vep/obj/EXECUTABLES/latencytop_intermediates/LINKED/latencytop)
target StaticExecutable: memtrack (out/target/product/s2vep/obj/EXECUTABLES/memtrack_intermediates/LINKED/memtrack)
target Executable: memtrack_share (out/target/product/s2vep/obj/EXECUTABLES/memtrack_share_intermediates/LINKED/memtrack_share)
target Executable: micro_bench (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_intermediates/LINKED/micro_bench)
target StaticExecutable: micro_bench_static (out/target/product/s2vep/obj/EXECUTABLES/micro_bench_static_intermediates/LINKED/micro_bench_static)
target Executable: sane_schedstat (out/target/product/s2vep/obj/EXECUTABLES/sane_schedstat_intermediates/LINKED/sane_schedstat)
target Executable: showslab (out/target/product/s2vep/obj/EXECUTABLES/showslab_intermediates/LINKED/showslab)
target Executable: strace (out/target/product/s2vep/obj/EXECUTABLES/strace_intermediates/LINKED/strace)
target StaticExecutable: su (out/target/product/s2vep/obj/EXECUTABLES/su_intermediates/LINKED/su)
Target boot image: out/target/product/s2vep/boot.img
error: could not load kernel 'out/target/product/s2vep/kernel'
make: *** [out/target/product/s2vep/boot.img] Error 1
make: *** Waiting for unfinished jobs....
warning: no entries written for dimen/password_keyboard_height (0x010500a2)
warning: no entries written for drawable/ab_solid_shadow_mtrl (0x010800bb)
warning: no entries written for drawable/ab_transparent_mtrl_alpha (0x010800c4)
warning: no entries written for drawable/btn_check_off_mtrl_alpha (0x010800f8)
warning: no entries written for drawable/btn_check_on_mtrl_alpha (0x0108010e)
warning: no entries written for drawable/btn_radio_off_mtrl_alpha (0x010801b0)
warning: no entries written for drawable/btn_radio_off_pressed_mtrl_alpha (0x010801b4)
warning: no entries written for drawable/switch_off_mtrl_alpha (0x010806b1)
warning: no entries written for drawable/switch_on_mtrl_alpha (0x010806b2)
warning: no entries written for drawable/sym_keyboard_delete_holo (0x010806c5)
#### make failed to build some targets (01:16:17 (hh:mm:ss)) ####
to know I got about 6gb of s2vep out folder, so any help for this error???
Click to expand...
Click to collapse
Where is located the kernel source?
LuK1337 said:
Where is located the kernel source?
Click to expand...
Click to collapse
The located kernel is in the following folder kernel/samsung/galaxys2plus-common
and also i build the zImage and use it as prebuilt kernel, but still give me same issue
actually i am using bcm28155_capri_ss_s2vep_rev05_defconfig as defconfig cause the default one is for cyanogen mod...
andrewww57 said:
It cannot find boot.img, obviously.
Is kernel compilled? Or does it use a prebuilt one?
Click to expand...
Click to collapse
I try it by make one, compilation is fine and use it as prebuilt one but that error still appear...
Sent from my GT-I9105P using XDA Free mobile app
You need to declare the prebuilt kernel as your prbuilt kernel in device_s2vep.mk , see other aosp trees as an example.
BTW, aosp does not support inline kernel building unless for some qcom kernels
@CoolDevelopment @andrewww57
Thank you guys, i fix boot.img by building one and insert it in device tree as well and also now i have more than 14gb and is finish to build chromium source so i guess will need another many hours...
See you next update...
haky 86 said:
@CoolDevelopment @andrewww57
Thank you guys, i fix boot.img by building one and insert it in device tree as well and also now i have more than 14gb and is finish to build chromium source so i guess will need another many hours...
See you next update...
Click to expand...
Click to collapse
take your time
Better do something like this:
put your prebuilt kernel into device/s2vep/kernel
add this
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
to the top of device_s2vep.mk
Android 5 *_*
Sent from my GT-I9105P using XDA Premium 4 mobile app
CoolDevelopment said:
Better do something like this:
put your prebuilt kernel into device/s2vep/kernel
add this
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
to the top of device_s2vep.mk
Click to expand...
Click to collapse
ok now is this and is generate about 17gb of out!! :/
including ./system/media/camera/tests/Android.mk ...
including ./system/netd/client/Android.mk ...
including ./system/netd/server/Android.mk ...
including ./system/security/keystore-engine/Android.mk ...
including ./system/security/keystore/Android.mk ...
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
No private recovery resources for TARGET_DEVICE s2vep
Notice file: external/chromium_org/NOTICE -- out/target/product/s2vep/obj/NOTICE_FILES/src//system/lib/android_webview_android_webview_common_gyp.a.txt
Notice file: external/chromium_org/NOTICE -- out/target/product/s2vep/obj/NOTICE_FILES/src//system/lib/libwebviewchromium.so.txt
Notice file: external/chromium_org/NOTICE -- out/target/product/s2vep/obj/NOTICE_FILES/src//system/lib/android_webview_native_webview_native_gyp.a.txt
target Strip: libwebviewchromium (out/target/product/s2vep/obj/lib/libwebviewchromium.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-striput/target/product/s2vep/symbols/system/lib/libwebviewchromium.so: File format not recognized
make: *** [out/target/product/s2vep/obj/lib/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
libwebviewchromium.so is not a prpritary file right?
CoolDevelopment said:
libwebviewchromium.so is not a prpritary file right?
Click to expand...
Click to collapse
I guess no, doing a google it's dependes from ram quantity coz i have 4gb, now i correct my device_s2vep.mk with your configuration, because boot.img still appear, i guess the compilation is at the end... :/
please try to update make to at least 4.0
CoolDevelopment said:
please try to update make to at least 4.0
Click to expand...
Click to collapse
That should be downloading from here? coz i use 3.82!!
http://ftp.gnu.org/gnu/make/
is stuck after creating userdata.img and have 18.2gb of out, i am going to kill my self!!!
Thank your so very mich for doing all this hard work for our S2+!!
Just a quick noob question:
Is the zip file allready compiled vor does compiling fail?
Thanks in advance
NW2000 said:
Thank your so very mich for doing all this hard work for our S2+!!
Just a quick noob question:
Is the zip file allready compiled vor does compiling fail?
Thanks in advance
Click to expand...
Click to collapse
Nop is still stuck at boot.img, i guess to wait cm12, it's easier to port
haky 86 said:
Nop is still stuck at boot.img, i guess to wait cm12, it's easier to port
Click to expand...
Click to collapse
Compile kernel to get the 'kernel' file and use it as prebuilt in config. It should work.
As @CoolDevelopment said add to device mk file this code
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
and put 'kernel' into the folder of device source. It should handle this kernel. Also it's better to delete 'TARGET_KERNEL_SOURCE' and 'TARGET_KERNEL_CONFIG' from BoardConfig.mk, I think.
andrewww57 said:
Compile kernel to get the 'kernel' file and use it as prebuilt in config. It should work.
As @CoolDevelopment said add to device mk file this code
Code:
TARGET_PREBUILT_KERNEL := kernel
PRODUCT_COPY_FILES += $(LOCAL_PATH)/$(TARGET_PREBUILT_KERNEL):kernel
and put 'kernel' into the folder of device source. It should handle this kernel. Also it's better to delete 'TARGET_KERNEL_SOURCE' and 'TARGET_KERNEL_CONFIG' from BoardConfig.mk, I think.
Click to expand...
Click to collapse
OK andrew I will follow that steps, by the way i am downloading it again with all prebuilts tools i guess missed some tools that generate boot.img, once got the zImage i need to rename it to kernel.
Something like this?
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/s2vep/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
So that's mean the # Kernel lines in boardconfig.mk should be removed in this case?
thanx again
haky 86 said:
OK andrew I will follow that steps, by the way i am downloading it again with all prebuilts tools i guess missed some tools that generate boot.img, once got the zImage i need to rename it to kernel.
Something like this?
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/s2vep/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
So that's mean the # Kernel lines in boardconfig.mk should be removed in this case?
thanx again
Click to expand...
Click to collapse
Try to add this to BoardConfig:
Code:
TARGET_PREBUILT_KERNEL := device/samsung/s2vep/kernel
and delete 'TARGET_KERNEL_SOURCE' and 'TARGET_KERNEL_CONFIG'
And add yours to device mk:
Code:
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/s2vep/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel

Maguro / Galaxy Nexus CM 12.1 build

Hi,
I've been playing a bit with CM's build as I expect to retire my Galaxy Nexus from its duty soon. The build went fine if not for the following build error:
Code:
target Executable: pvrsrvinit (/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
/home/user/Development/Cyanogenmod/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_init_SGX540_120
/home/user/Development/Cyanogenmod/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/user/Development/Cyanogenmod/android/system'
Other threads[0] reference the following fix, namely adding
Code:
<project name="DonkeyCoyote/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="android-5.0" />
in
Code:
.repo/local_manifests/roomservice.xml
Unfortunately this trick didn't work. Upon closer inspection, the required libraries are part of the `omap4-common` subdirectory which is *not* sourced during the build[1]. I was nevertheless able to fix the build with the following change
Code:
% repo diff hardware/ti/omap4/
project hardware/ti/omap4/
diff --git a/pvrsrvinit/Android.mk b/pvrsrvinit/Android.mk
index 97d27c4..cdc6441 100644
--- a/pvrsrvinit/Android.mk
+++ b/pvrsrvinit/Android.mk
@@ -9,9 +9,9 @@ LOCAL_LDLIBS := -lsrv_init_SGX544_112 -lsrv_um_SGX544_112
pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_init_SGX544_112.so
pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_um_SGX544_112.so
else
-LOCAL_LDLIBS := -lsrv_init_SGX540_120 -lsrv_um_SGX540_120
-pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_init_SGX540_120.so
-pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_um_SGX540_120.so
+LOCAL_LDLIBS := -lsrv_init -lsrv_um
+pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_init.so
+pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_um.so
endif
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
LOCAL_MODULE := pvrsrvinit
Which means that the libraries are definitively extracted by `cd device/samsung/maguro/ && ./extract-files.sh` however, the libraries are merely named differently.
Has anybody encountered such a failure ?
ps: on another side note. how are you suppose to extract all the files from the stock 4.2.1 upstream build ? `system/bin/fRom`, `system/vendor/lib/mediadrm/libwvdrmengine.so` and `system/vendor/lib/libfrsdk.so` are missing from the image...
[0]: http://forum.xda-developers.com/showpost.php?p=59115913&postcount=1372
[1]: confirmed by `inotifywait -m vendor/samsung/omap4-common/*mk`
Btw, I looked at the content of a CM11 nightly[0], there is no trace of `libsrv_init_SGX540_120.so` or `libsrv_um_SGX540_120.so` either...
[0]: cm-11-20151213-NIGHTLY-maguro.zip

Error when compile resurection remix 5.8.4

Hello guys here
I try to build rr 5.8.4 rom and when i type brunch grandppltedx i got this error:
Checking build tools versions...
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/lol/RR/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
cp: cannot stat '/home/lol/RR/ota_conf': No such file or directory
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/NexusLauncher/NexusLauncher.apk:system/app/NexusLauncher/NexusLauncher.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/Wallpaper/Wallpaper.apk:system/app/Wallpaper/Wallpaper.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/cm/prebuilt/DeskClock/DeskClock.apk:system/app/DeskClock/DeskClock.apk, use BUILD_PREBUILT instead!
build/core/java.mk:334: warning: overriding commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/lol/RR/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/lol/RR/out/target/product/grandppltedx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/lol/RR/out/target/product/grandppltedx/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/lol/RR/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by '/home/lol/RR/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/lol/RR'
#### make failed to build some targets (03:19 (mm:ss)) ####
No Jack server running. Try 'jack-admin start-server'
-Now I have no idea how to solve the build error please help me

Categories

Resources