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.
Hey guys. I have a few questions about building AOSP. I have just started "ROM developing" if you want to call it, and need help. First off, how do I change the Device Name, Model Number, etc. in the AOSP source code? I am not using a kitchen to do this, as I am building 5.0. Also, how do I make a flashable zip instead if fastboot flashable .img's. And last question: how do I include pre-built apps (APKs) into a build? Thanks!
1st - iirc, this can be done with build prop overrides. 2nd - 'make otapackage'. 3rd, argh, can't remember.
Sent from my Nexus 5 using Tapatalk
More help...
The first time I ran make with otapackage, it made a zip file, that I'm assuming was flashable. I also downloaded a SlimRom zip to compare them. I noticed that in the SlimROM Zip, it has a system folder, not .img files. This allows for greater control of what is on the ROM I think, such as editing build.prop. How do I implement this into my flashable zip? So essentialy, I would like my flashable zip to have a /system folder, not system.img , patch, dat , etc. Thanks!
When I build slim, i use "make bacon" (or rather "mka bacon")
Have a look on their github at how their make files etc work.
I've rebuilt my system from scratch so I can't really figure it out for you. I need to get it back into a build environment first.
rootSU said:
When I build slim, i use "make bacon" (or rather "mka bacon")
Have a look on their github at how their make files etc work.
I've rebuilt my system from scratch so I can't really figure it out for you. I need to get it back into a build environment first.
Click to expand...
Click to collapse
Thanks for replying. I'll have a look.
Code:
including ./vendor/qcom/hammerhead/proprietary/Android.mk ...
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.
build/core/Makefile:33: warning: overriding commands for target `out/target/product/hammerhead/system/lib/hw/gps.msm8974.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `out/target/product/hammerhead/system/lib/hw/gps.msm8974.so'
build/core/Makefile:33: warning: overriding commands for target `out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/Makefile:33: warning: overriding commands for target `out/target/product/hammerhead/system/lib/libloc_core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `out/target/product/hammerhead/system/lib/libloc_core.so'
build/core/Makefile:33: warning: overriding commands for target `out/target/product/hammerhead/system/lib/libloc_eng.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `out/target/product/hammerhead/system/lib/libloc_eng.so'
find: `bootable/recovery/res': No such file or directory
No private recovery resources for TARGET_DEVICE hammerhead
----- Making recovery filesystem ------
build/tools/generate-notice-files.py out/target/product/hammerhead/obj/NOTICE.txt out/target/product/hammerhead/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" out/target/product/hammerhead/obj/NOTICE_FILES/src
make: *** No rule to make target `out/host/linux-x86/bin/unpackbootimg', needed by `out/target/product/hammerhead/aosp_hammerhead-ota-eng.austin.zip'. Stop.
make: *** Waiting for unfinished jobs....
Copying baseline ramdisk...
Modifying ramdisk contents...
cp: cannot stat ‘out/target/product/hammerhead/root/init.recovery.*.rc’: No such file or directory
make: [out/target/product/hammerhead/recovery/root.ts] Error 1 (ignored)
rm -f /init.*.rc
mkdir -p out/target/product/hammerhead/recovery/root/system/bin
cp: cannot stat ‘bootable/recovery/res’: No such file or directory
make: *** [out/target/product/hammerhead/recovery/root.ts] Error 1
Combining NOTICE files into HTML
Combining NOTICE files into text
#### make failed to build some targets (38 seconds) ####
This happened after using SlimRoms makefile instead of aosp. I still have AOSP's back uped though.
Yeah you won't be able to use it. You should be able to look at it and work out what it does though.
Thanks again for helping me, never had a bad experience on XDA. I am a big noob at this, but during a quick skimdown of the Slim Makefile, I found this:
Code:
bacon: otapackage
ifneq ($(TARGET_CUSTOM_RELEASETOOL),)
@echo -e ${CL_YLW}"Running custom releasetool..."${CL_RST}
$(hide) OTAPACKAGE=$(INTERNAL_OTA_PACKAGE_TARGET) APKCERTS=$(APKCERTS_FILE) $(TARGET_CUSTOM_RELEASETOOL)
else
@echo -e ${CL_YLW}"Running releasetool..."${CL_RST}
$(hide) OTAPACKAGE=$(INTERNAL_OTA_PACKAGE_TARGET) APKCERTS=$(APKCERTS_FILE) ./vendor/slim/tools/squisher
endif
Could this mean something? I'm not sure.
NOTE: This project is now discontinued - the source code is still up though...
Grarak and me have been working on a CM port for this device - I got it booting some weeks ago, but there are a lot of issues - as of today, this is far from being a daily driver! The purpose of this thread is for developers to contribute with bug fixes, ideas etc. If you are looking for builds, I'll have to disappoint you: I'm not going to link to any, this is just a development thread (as the [DEV] tag in the title suggests).
However, everyone is encouraged to make their own builds, debug, fix and send pull requests. To get a build, proceed as follows:
Code:
repo init -u git://github.com/lenovo-yt2-dev/android.git -b cm-12.1
repo sync
source build/envsetup.sh
lunch cm_YT2-userdebug
mka bacon
I also encourage interested devs and experienced users to join #cm-baytrail on freenode.
The device-specific code can be found on GitHub.
YES YES YES... I knew someone was working away on this tab.... Buzzing... I have my build environment set up and will have a go this week end.
So glad we have a dev
Sent from my SM-G901F using Tapatalk
Great to see development on these devices. Now that @surdu_petru worked hard to develop a boot-loader unlocker, TWRP and is working on CM13.1, maybe you guys can collaborate.
@Olivier thanks to you and @Grarak for your work
I know that the title says 830F but the 8" and 10.1" are basically the same, just different clock speeds and screen res.
Is the kernel the same?
I am leaving it to build while i go to work and will report back tonight
Cheers
Edit
Got this error
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/logcat
target SharedLib: libsysutils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsysutils_intermediates/LINKED/libsysutils.so)
target SharedLib: libext4_utils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libext4_utils_intermediates/LINKED/libext4_utils.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libsparse.so
target SharedLib: libaudioresampler (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libaudioresampler_intermediates/LINKED/libaudioresampler.so)
target SharedLib: libeffects (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libeffects_intermediates/LINKED/libeffects.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libvorbisidec.so
target SharedLib: libstagefright_yuv (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/mount.exfat
target Executable: mtpd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/mtpd_intermediates/LINKED/mtpd)
target Executable: ndc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ndc_intermediates/LINKED/ndc)
target SharedLib: liblogwrap (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/liblogwrap_intermediates/LINKED/liblogwrap.so)
target SharedLib: libmdnssd (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/ping6
target Symbolic: pngtest (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/bin/pngtest)
target Executable: pppd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)
target Executable: racoon (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)
target Executable: radiooptions (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/radiooptions_intermediates/LINKED/radiooptions)
target Executable: reboot (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)
target Executable: resize2fs (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)
target Symbolic: libssh (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/lib/libssh.so)
target Executable: run-as (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/run-as_intermediates/LINKED/run-as)
target Executable: sdcard (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: servicemanager (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/servicemanager_intermediates/LINKED/servicemanager)
target Executable: vdc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)
target SharedLib: libdiskconfig (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)
target SharedLib: libf2fs_sparseblock (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)
target Executable: wpa_cli (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/wpa_cli_intermediates/LINKED/wpa_cli)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.dex
target Executable: ip-up-vpn (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.dex
target SharedLib: audio.a2dp.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/LINKED/audio.a2dp.default.so)
target SharedLib: audio.primary.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/LINKED/audio.primary.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/lights.baytrail.so
target SharedLib: gralloc.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/power.default.so
target SharedLib: local_time.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/local_time.default_intermediates/LINKED/local_time.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/vibrator.default.so
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libbacktrace_test.so
target SharedLib: libsuspend (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsuspend_intermediates/LINKED/libsuspend.so)
target Strip: libswresample (/home/rob/cm/Tab/out/target/product/YT2/obj/lib/libswresample.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libswscale.so
target SharedLib: libnfc_ndef (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libnfc_ndef_intermediates/LINKED/libnfc_ndef.so)
target SharedLib: libsurfaceflinger_ddmconnection (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsurfaceflinger_ddmconnection_intermediates/LINKED/libsurfaceflinger_ddmconnection.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libwsbm.so
target SharedLib: libwebrtc_audio_preprocessing (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libwebrtc_audio_preprocessing_intermediates/LINKED/libwebrtc_audio_preprocessing.so)
target SharedLib: libbundlewrapper (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so' failed
make: *** [/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libdownmix (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdownmix_intermediates/LINKED/libdownmix.so)
target SharedLib: libldnhncr (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libldnhncr_intermediates/LINKED/libldnhncr.so)
make: Leaving directory '/home/rob/cm/Tab'
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
[email protected]:~/cm/Tab$
Can you help
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
Not looking good, You get past this?
Sent from my BLU ENERGY X PLUS using Tapatalk
vampirefo said:
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
Not looking good, You get past this?
Sent from my BLU ENERGY X PLUS using Tapatalk
Click to expand...
Click to collapse
Well, I got a little bit farther than you, but it still didn't compile.
Code:
target SharedLib: libvisualizer (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libvisualizer_intermediates/LINKED/libvisualizer.so)
target Executable: busybox (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
Install: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/system/xbin/bash
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libeffects/lvm/wrapper/Reverb/EffectReverb.cpp:1960: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/LINKED/libreverbwrapper.so] Error 1
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
Had to use google a lot, little cherry picking and got past this error, build is ongoing.
I don't have this device I have an Ares 8, So compiling this source as is, if I get a complete compile, I will then switch out Lenovo files for Ares.
vampirefo said:
Well, I got a little bit farther than you, but it still didn't compile.
Code:
target SharedLib: libvisualizer (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libvisualizer_intermediates/LINKED/libvisualizer.so)
target Executable: busybox (/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
Install: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/system/xbin/bash
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
frameworks/av/media/libeffects/lvm/wrapper/Reverb/EffectReverb.cpp:1960: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
make: *** [/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/obj/SHARED_LIBRARIES/libreverbwrapper_intermediates/LINKED/libreverbwrapper.so] Error 1
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
Had to use google a lot, little cherry picking and got past this error, build is ongoing.
I don't have this device I have an Ares 8, So compiling this source as is, if I get a complete compile, I will then switch out Lenovo files for Ares.
Click to expand...
Click to collapse
Could you share any links to cherrypicks?
pug1 said:
Could you share any links to cherrypicks?
Click to expand...
Click to collapse
Cherry Pick
http://review.cyanogenmod.org/#/c/135681/
@Olivier Source does compile, won't test for a few days, but it does build.
Code:
running: java -Xmx2048m -jar /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp2LCO3m /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/cm_YT2-ota-459972c4ed.zip
done.
Package Complete: /media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12/out/target/product/YT2/cm-12.1-20160318-UNOFFICIAL-YT2.zip
make: Leaving directory `/media/vampirefo/05f64de9-2a44-478e-a67a-8c2261d9e88b/cmw12'
@Olivier i've been working on cm-12.1 for a bit now, i have some build fixes for libmix, omx-components, and libva, i'll send you in the next few days because i already have a stable/cm-12.1-YOG7D base i'm using if you could provide a little detail on whats working / not working on your build so i can compare to the status of my build.
It's not up on git yet but i also have started a intel_base / baytrail_base device tree to hope make adding additional baytrail devices easier. look forward to contributing anything i can to bring cm builds to intel android baytrail devices.
andyroidking said:
Great to see development on these devices. Now that @surdu_petru worked hard to develop a boot-loader unlocker, TWRP and is working on CM13.1, maybe you guys can collaborate.
Click to expand...
Click to collapse
As stated in the OP; contributions are welcome.
pug1 said:
@Olivier thanks to you and @Grarak for your work
I know that the title says 830F but the 8" and 10.1" are basically the same, just different clock speeds and screen res.
Is the kernel the same?
I am leaving it to build while i go to work and will report back tonight
Cheers
Click to expand...
Click to collapse
I think the all 8" and 10.1" variants can share the same kernel image (except for the prc_lte variants). I'm pretty sure they share many blobs too, but for now I want to get the variant working I own (830F). You can still try to flash it and give feedback/contribute by adding support for your device.
pug1 said:
Got this error
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/logcat
target SharedLib: libsysutils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsysutils_intermediates/LINKED/libsysutils.so)
target SharedLib: libext4_utils (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libext4_utils_intermediates/LINKED/libext4_utils.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libsparse.so
target SharedLib: libaudioresampler (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libaudioresampler_intermediates/LINKED/libaudioresampler.so)
target SharedLib: libeffects (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libeffects_intermediates/LINKED/libeffects.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libvorbisidec.so
target SharedLib: libstagefright_yuv (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libstagefright_yuv_intermediates/LINKED/libstagefright_yuv.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/mount.exfat
target Executable: mtpd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/mtpd_intermediates/LINKED/mtpd)
target Executable: ndc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ndc_intermediates/LINKED/ndc)
target SharedLib: liblogwrap (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/liblogwrap_intermediates/LINKED/liblogwrap.so)
target SharedLib: libmdnssd (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libmdnssd_intermediates/LINKED/libmdnssd.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/bin/ping6
target Symbolic: pngtest (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/bin/pngtest)
target Executable: pppd (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/pppd_intermediates/LINKED/pppd)
target Executable: racoon (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/racoon_intermediates/LINKED/racoon)
target Executable: radiooptions (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/radiooptions_intermediates/LINKED/radiooptions)
target Executable: reboot (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/reboot_intermediates/LINKED/reboot)
target Executable: resize2fs (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/resize2fs_intermediates/LINKED/resize2fs)
target Symbolic: libssh (/home/rob/cm/Tab/out/target/product/YT2/symbols/system/lib/libssh.so)
target Executable: run-as (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/run-as_intermediates/LINKED/run-as)
target Executable: sdcard (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/sdcard_intermediates/LINKED/sdcard)
target Executable: servicemanager (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/servicemanager_intermediates/LINKED/servicemanager)
target Executable: vdc (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/vdc_intermediates/LINKED/vdc)
target SharedLib: libdiskconfig (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdiskconfig_intermediates/LINKED/libdiskconfig.so)
target SharedLib: libf2fs_sparseblock (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libf2fs_sparseblock_intermediates/LINKED/libf2fs_sparseblock.so)
target Executable: wpa_cli (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/wpa_cli_intermediates/LINKED/wpa_cli)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.dex
target Executable: ip-up-vpn (/home/rob/cm/Tab/out/target/product/YT2/obj/EXECUTABLES/ip-up-vpn_intermediates/LINKED/ip-up-vpn)
Copying: /home/rob/cm/Tab/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.dex
target SharedLib: audio.a2dp.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/LINKED/audio.a2dp.default.so)
target SharedLib: audio.primary.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/LINKED/audio.primary.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/lights.baytrail.so
target SharedLib: gralloc.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/gralloc.default_intermediates/LINKED/gralloc.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/power.default.so
target SharedLib: local_time.default (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/local_time.default_intermediates/LINKED/local_time.default.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/hw/vibrator.default.so
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libbacktrace_test.so
target SharedLib: libsuspend (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsuspend_intermediates/LINKED/libsuspend.so)
target Strip: libswresample (/home/rob/cm/Tab/out/target/product/YT2/obj/lib/libswresample.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libswscale.so
target SharedLib: libnfc_ndef (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libnfc_ndef_intermediates/LINKED/libnfc_ndef.so)
target SharedLib: libsurfaceflinger_ddmconnection (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libsurfaceflinger_ddmconnection_intermediates/LINKED/libsurfaceflinger_ddmconnection.so)
Install: /home/rob/cm/Tab/out/target/product/YT2/system/lib/libwsbm.so
target SharedLib: libwebrtc_audio_preprocessing (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libwebrtc_audio_preprocessing_intermediates/LINKED/libwebrtc_audio_preprocessing.so)
target SharedLib: libbundlewrapper (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so)
frameworks/av/media/libeffects/lvm/wrapper/Bundle/EffectBundle.cpp:3067: error: undefined reference to '__android_log_error_write'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so' failed
make: *** [/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libbundlewrapper_intermediates/LINKED/libbundlewrapper.so] Error 1
make: *** Waiting for unfinished jobs....
target SharedLib: libdownmix (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libdownmix_intermediates/LINKED/libdownmix.so)
target SharedLib: libldnhncr (/home/rob/cm/Tab/out/target/product/YT2/obj/SHARED_LIBRARIES/libldnhncr_intermediates/LINKED/libldnhncr.so)
make: Leaving directory '/home/rob/cm/Tab'
#### make failed to build some targets (02:48:48 (hh:mm:ss)) ####
[email protected]:~/cm/Tab$
Can you help
Click to expand...
Click to collapse
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.
social-design-concepts said:
@Olivier i've been working on cm-12.1 for a bit now, i have some build fixes for libmix, omx-components, and libva, i'll send you in the next few days because i already have a stable/cm-12.1-YOG7D base i'm using if you could provide a little detail on whats working / not working on your build so i can compare to the status of my build.
It's not up on git yet but i also have started a intel_base / baytrail_base device tree to hope make adding additional baytrail devices easier. look forward to contributing anything i can to bring cm builds to intel android baytrail devices.
Click to expand...
Click to collapse
As of now, pretty much everything (including audio etc.) is broken. A common baytrail device tree would be great - also feel free to send pull requests (and join us on Freenode).
Olivier said:
As of now, pretty much everything (including audio etc.) is broken. A common baytrail device tree would be great - also feel free to send pull requests (and join us on Freenode).
Click to expand...
Click to collapse
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Olivier said:
I think the all 8" and 10.1" variants can share the same kernel image (except for the prc_lte variants). I'm pretty sure they share many blobs too, but for now I want to get the variant working I own (830F). You can still try to flash it and give feedback/contribute by adding support for your device.
Please resync; some of our forked repos were out of sync with CM upstream. Should be fine now.
Click to expand...
Click to collapse
You are right, a rep sync has fixed it
build successfull waiting for me tab to charge :silly: :silly: :silly:
Edit - It boots just fine on 1050F. Need to change resolution for bigger screen.
Took around 5 mins to boot.
Screen freezes after 1 min and have to hold the power button to reboot.
Great start. Will pull a few logs over the weekend
pug1 said:
You are right, a rep sync has fixed it
build successfull waiting for me tab to charge :silly: :silly: :silly:
Edit - It boots just fine on 1050F. Need to change resolution for bigger screen.
Took around 5 mins to boot.
Screen freezes after 1 min and have to hold the power button to reboot.
Great start. Will pull a few logs over the weekend
Click to expand...
Click to collapse
Okay, can you please provide me with a full system dump of the latest 1050F stock ROM (you can leave the /system/app and priv-app out) or point me to a system image?
social-design-concepts said:
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Click to expand...
Click to collapse
AndChat looks decent. I haven't tried it though, I just use Xchat on my computer to connect to freenode.
social-design-concepts said:
yeah audio is killing me,
I can't use IRC at work but will be on the channel again this weekend. can you recommend a descent android client?
Click to expand...
Click to collapse
HoloIRC, definitely.
This source isn't compatible with my Ares 8, I will be using a different source.
Best of luck to you all.
Sent from my CM 12.1 Ares 8 via taptalk
vampirefo said:
This source isn't compatible with my Ares 8, I will be using a different source.
Best of luck to you all.
Sent from my CM 12.1 Ares 8 via taptalk
Click to expand...
Click to collapse
Well, that doesn't surprise me to be honest. As @social-design-concepts pointed out, a common baytrail device tree would be the best solution on the long run.
Olivier said:
Well, that doesn't surprise me to be honest. As @social-design-concepts pointed out, a common baytrail device tree would be the best solution on the long run.
Click to expand...
Click to collapse
i have finished cleaning up my intel_base / baytrail_base device tree, i still have to clean up the device tree for my Lenovo Spark TAB S8-50F and move the parts that are common into the baytrail_base device tree hope to have everything up on git before morning.
social-design-concepts said:
i have finished cleaning up my intel_base / baytrail_base device tree, i still have to clean up the device tree for my Lenovo Spark TAB S8-50F and move the parts that are common into the baytrail_base device tree hope to have everything up on git before morning.
Click to expand...
Click to collapse
Thanks for your continued work on Intel devices
Would I be able to overlay these changes over my the synced tree from OP.
May have a little time this week to work on my PC [emoji12] [emoji12]
Sent from my SM-G930F using Tapatalk
pug1 said:
Thanks for your continued work on Intel devices
Would I be able to overlay these changes over my the synced tree from OP.
May have a little time this week to work on my PC [emoji12] [emoji12]
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
i'm not trying to jack this thread so after i get it uploaded i'll post the links in the irc channel. but the idea is to make bringing up and maintaining devices easier so adapting an existing device tree shouldn't be two difficult essentially you just be removing the parts of the config files that are common across baytrail devices and replacing them with two lines.
i have one more build to do later this evening after i sync against cm-12.1 instead of my current stable/cm-12.1-YOG7D base and apply my build fixes to a couple of repos. The only real thing left todo device tree wise is actually establish a common proprietary-files.txt file.
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
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