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.
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?
I get following error when building on Ubuntu 14.04.1 64 bit I got my properity files from https://github.com/TheMuppets/proprietary_vendor_htc
make: *** No rule to make target `/home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libinit_m8_intermediates/libinit_m8.a', needed by `/home/cpatrick08/android/system/out/target/product/m8/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/import_includes
CM m12 Build error
cpatrick08 said:
I get following error when building on Ubuntu 14.04.1 64 bit I got my properity files from https://github.com/TheMuppets/proprietary_vendor_htc
make: *** No rule to make target `/home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libinit_m8_intermediates/libinit_m8.a', needed by `/home/cpatrick08/android/system/out/target/product/m8/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/import_includes
Click to expand...
Click to collapse
Now when I try to build CM 12 for my HTC One M8 Phone on Ubuntu 14.04.1LTS 64 bit I Get following error message. I got properity files from https://github.com/TheMuppets/proprietary_vendor_htc
make: *** No rule to make target `/home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libinit_m8_intermediates/export_includes', needed by `/home/cpatrick08/android/system/out/target/product/m8/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/compiler-rt/Android.mk -- /home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/export_includes
touch /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp
echo '#ifndef 'policy_parse_h > /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#define 'policy_parse_h >> /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
cat /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp >> /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#endif' >> /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
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
Hello guys,
this my first post and I want to share how to fix the error when compiling a kernel 3.10.x with the CONFIG_MODULES enabled
the error that comes up is something like
...
LD drivers/staging/qcacld-2.0/wlan.o
LD drivers/staging/qcacld-2.0/built-in.o
LD drivers/staging/built-in.o
Makefile:822: recipe for target 'drivers' failed
make: *** [drivers] Error 2
compiling twice without cleaning you got the entire error
drivers/usb/phy/class-dual-role.c:91:1: error: expected ',' or ';' before 'int'
int dual_role_get_property(struct dual_role_phy_instance *dual_role,
^
scripts/Makefile.build:308: recipe for target 'drivers/usb/phy/class-dual-role.o' failed
make[3]: *** [drivers/usb/phy/class-dual-role.o] Error 1
make[3]: *** Waiting for unfinished jobs....
scripts/Makefile.build:455: recipe for target 'drivers/usb/phy' failed
make[2]: *** [drivers/usb/phy] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:822: recipe for target 'drivers' failed
make: *** [drivers] Error 2
that is a syntax error, pretty easy to fix:
- open the file drivers/usb/phy/class-dual-role.c within a text editor
- go to line 90
this:
EXPORT_SYMBOL_GPL(dual_role_get_property)
should be
EXPORT_SYMBOL_GPL(dual_role_get_property);
the error was a missing ";" in the end of that line
I hope I have been helpful for the all the developers and compilers who want to enable "the loadable module support"
cheers
thank you
WOW!!! Thank you
I need a little help because a small mistake happened when I tried to compile the kernel 3.18 pro vibe k5 plus. I want to update to this version because it has the latest security fixes and optimizations. I do not know if the error has occurred because the processor of this cell phone is ARMV7 and the 3.18 devices are configured with ARMV8.
obs: I used the official settings of the device, which was picked up on the lenovo website
.CONFIG: https://raw.githubusercontent.com/n...020/arch/arm64/configs/wt82918-perf_defconfig (lenovo vibe k5 plus)
kernel msm 3.18: https://github.com/android-linux-stable/msm-3.18
LOG ERROR
Code:
CC drivers/platform/msm/qpnp-revid.o
../drivers/platform/msm/qpnp-revid.c: In function 'qpnp_read_byte':
../drivers/platform/msm/qpnp-revid.c:80:47: error: 'struct spmi_device' has no member named 'sid'
rc = spmi_ext_register_readl(spmi->ctrl, spmi->sid, addr, &val, 1);
^
../drivers/platform/msm/qpnp-revid.c:80:31: warning: passing argument 1 of 'spmi_ext_register_readl' from incompatible pointer type
error, forbidden warning: qpnp-revid.c:80
make[4]: *** [../scripts/Makefile.build:258: drivers/platform/msm/qpnp-revid.o] Error 1
make[3]: *** [../scripts/Makefile.build:402: drivers/platform/msm] Error 2
make[2]: *** [../scripts/Makefile.build:402: drivers/platform] Error 2
make[1]: *** [/home/nathan/Git/msm-3.18/Makefile:968: drivers] Error 2
make[1]: Leaving directory '/home/nathan/Git/msm-3.18/out'
make: *** [Makefile:145: sub-make] Error 2
FILE ERROR
https://github.com/android-linux-st....18.r34-rel/drivers/platform/msm/qpnp-revid.c