Hey guys I am new to compiling from source. I am not looking to build a fully working version of CM13 i am trying to broadan my knowledge. I have got previose experiance in linux but not in source building. I know that I should have probably started with a version of CM that is already supported but I thought I would jump in the deap end.
I am trying to compile CM13 but keep getting this error. can anyone shed some light of where I am going wrong and what I can possibly do to fix it?
I used this tree
https://github.com/CyanogenMod/android_device_samsung_serrano3gxx/tree/cm-13.0
@k2wl
@F4k
@F4uzan
@aidasaidas75
@GeekyDroid
@freeusername
@Asce1062
@bkr32
@AngSanley
@-CALIBAN666-
Code:
target thumb C++: gralloc.msm8960 <= hardware/qcom/display-caf/msm8960/libgralloc/gpu.cpp
hardware/qcom/display-caf/msm8960/libgralloc/gpu.cpp: In constructor 'gralloc::gpu_context_t::gpu_context_t(const private_module_t*, gralloc::IAllocController*)':
hardware/qcom/display-caf/msm8960/libgralloc/gpu.cpp:49:5: error: 'allocSize' was not declared in this scope
allocSize = gralloc_alloc_size;
^
hardware/qcom/display-caf/msm8960/libgralloc/gpu.cpp: At global scope:
hardware/qcom/display-caf/msm8960/libgralloc/gpu.cpp:172:60: warning: unused parameter 'size' [-Wunused-parameter]
int gpu_context_t::gralloc_alloc_framebuffer_locked(size_t size, int usage,
^
make: *** [/home/andre/CM13/out/target/product/serrano3gxx/obj/SHARED_LIBRARIES/gralloc.msm8960_intermediates/gpu.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/andre/CM13'
ok I think I fixed it by cherry picking
http://review.cyanogenmod.org/#/c/113774/
Interesting. Have you got it to boot yet?
Related
I am trying to compile the Android L preview branch from AOSP for the Nexus 7 (flo), I get this error:
hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c:65: error: undefined reference to 'os_strncpy'
collect2: error: ld returned 1 exit status
make: *** [out/target/product/flo/obj/EXECUTABLES/hostapd_intermediates/LINKED/hostapd] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I have the preview binaries installed from the official page. I can confirm I have sub-folders in vendor named flo and it contains the binaries.
I have executed make clobber as well before building it again.
Are the preview binaries only for the master branch and not for the l-preview branch?
Hello,
When compile the rom occurs such error(sorry for my bad launguage, i'm from Poland)
Code:
deprecated-register]
register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
^~~~~~~~~
/root/CM13/out/host/linux-x86/obj/EXECUTABLES/rsg-generator_support_intermediates/spec.cpp:1462:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
register char *source =
^~~~~~~~~
19 warnings generated.
Import includes file: /root/CM13/out/target/product/w55n/obj/SHARED_LIBRARIES/libblasV8_intermediates/import_includes
target thumb C++: libF77blasV8 <= external/eigen/blas/single.cpp
target thumb C++: libF77blasV8 <= external/eigen/blas/double.cpp
make: *** [/root/CM13/out/target/product/w55n/obj/STATIC_LIBRARIES/libF77blasV8_intermediates/single.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [/root/CM13/out/target/product/w55n/obj/STATIC_LIBRARIES/libF77blasV8_intermediates/double.o] Killed
make: Leaving directory `/root/CM13'
I make device tree for w55n from device tree w5
Don't know if this is the right place to post this. But I'm trying to build cm12.1 for my tmobile note 4. I'm using a imac running os x 10.11 (el capitan). I'm getting the following error about the macosx-version-min. Has anyone seen this? I've got updates that include 10.10 and 10.11 version is the build/core/combo/HOST_darwin_x86*.mk files. I've also add 10.10 and 10.11 to mac_sdk_versions_supported in build/core/combo/mac_version.mk. Not sure where else to look.
$brunch trltetmo
....
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256_ec.o] Error 1
This was output running 'brunch trltetmo'.
Solved this issue by switching to 10.9 mac osx sdk. I also had to add this link:
ln -s /usr/lib/crt1.10.6.o /Developer/SDKs/MacOSX10.9.sdk/usr/lib/crt1.10.6.o.
Finally got my first cm12.1 build completed for tmobile note 4 on a new iMac. It boots and am running it now. Guess I can try again to build cm13 soon. cm13 gave me more problems.
I know there is already a working build posted on some of the russian forums, but.... I really wanted to try a build out myself
can anyone help with his error
Import includes file: /home/x/out/target/product/crackling/obj/EXECUTABLES/wpa_cli_intermediates/import_includes
make: *** No rule to make target '/home/x/out/target/product/crackling/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', needed by '/home/x/out/target/product/crackling/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/wpa_supplicant_8/wpa_supplicant/eap_proxy_qmi.mk -- /home/x/out/target/product/crackling/obj/EXECUTABLES/wpa_cli_intermediates/export_includes
make: Leaving directory '/home/x'
and yeah a build noob so pls be a little gntle :good:
ok ignore... past that error and onto the next
The some error when i try compile Nextbit ether
ake: *** Brak reguł do zrobienia obiektu `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', wymaganego przez `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
poncz3k said:
The some error when i try compile Nextbit ether
ake: *** Brak reguł do zrobienia obiektu `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', wymaganego przez `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
Click to expand...
Click to collapse
for me it was the proprietary files..... I was literally being a 'Muppet' by not setting up
I am compiling cm 14 for core prime ve 3g (sm-g361h).
i am getting these error after executing mka bacon command (i have skipped all log above errors). I am building rom from source first time so i ain't got any clue what this error says (maybe a little bit but that ain't helping).
Code:
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:276: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:314: error: method processSolicited in class RIL cannot be applied to given types;
return super.processSolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:366: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:422: error: method processUnsolicited in class RIL cannot be applied to given types;
super.processUnsolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
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.
4 errors
[ 3% 1018/28725] host C++: libLLVMCor...2 <= external/llvm/lib/IR/Function.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/hamza/cm14'
#### make failed to build some targets (27:37 (mm:ss)) ####
bump