OnePlus 2 Kernel Build Error(s)!!! HELP Please - OnePlus 2 Q&A, Help & Troubleshooting

Hello guys while compiling kernel for OpT (MM), I am getting this error.. how to solve this?
Error 1
[email protected]:~/android/kernel/oneplus2$ make -j4
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
...
scripts/asn1_compiler.c: In function ‘render_out_of_line_list’:
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘NOT_COMPOUND’ not handled in switch [-Wswitch]
switch (e->compound) {
^
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘CHOICE’ not handled in switch [-Wswitch]
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘ANY’ not handled in switch [-Wswitch]
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘TYPE_REF’ not handled in switch [-Wswitch]
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘TAG_OVERRIDE’ not handled in switch [-Wswitch]
...
In file included from drivers/media/platform/msm/camera_v2/sensor/vl6180/src/vl6180x_i2c.c:42:0:
drivers/media/platform/msm/camera_v2/sensor/vl6180/inc/vl6180x_i2c.h:16:23: fatal error: stmvl6180.h: No such file or directory
#include "stmvl6180.h"
^
compilation terminated.
scripts/Makefile.build:308: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/vl6180/src/vl6180x_i2c.o' failed
make[7]: *** [drivers/media/platform/msm/camera_v2/sensor/vl6180/src/vl6180x_i2c.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/vl6180' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/sensor/vl6180] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/sensor] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm' failed
make[3]: *** [drivers/media/platform/msm] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform' failed
make[2]: *** [drivers/media/platform] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media' failed
make[1]: *** [drivers/media] Error 2
make[1]: *** Waiting for unfinished jobs....
...
Makefile:824: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Please tell guys how to fix this error
Error 2
[email protected]:~/android/kernel/oneplus2$ make clean
CLEAN .
CLEAN arch/arm64/kernel/vdso
CLEAN arch/arm64/kernel
CLEAN crypto/asymmetric_keys
CLEAN kernel
CLEAN lib
CLEAN net/wireless
CLEAN security/selinux
CLEAN usr
scripts/Makefile.clean:17: /home/rohan/android/kernel/oneplus2/arch/arm64/boot/qcom/Makefile: No such file or directory
make[2]: *** No rule to make target '/home/rohan/android/kernel/oneplus2/arch/arm64/boot/qcom/Makefile'. Stop.
scripts/Makefile.clean:94: recipe for target 'arch/arm64/boot/qcom' failed
make[1]: *** [arch/arm64/boot/qcom] Error 2
/home/rohan/android/kernel/oneplus2/arch/arm64/Makefile:92: recipe for target 'archclean' failed
make: *** [archclean] Error 2
[email protected]:~/android/kernel/oneplus2$
Error 3(FIXED)
FIXED:
HTML:
[CODE][email protected]:~/android/kernel/oneplus2$ make msm8994-OnePlus2_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2503:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:567:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump->offset = r->len - 1;
^
scripts/kconfig/menu.c:528:19: note: ‘jump’ was declared here
struct jump_key *jump;
^
HOSTLD scripts/kconfig/conf
arch/arm64/configs/msm8994-OnePlus2_defconfig:685:warning: unexpected data
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
#
# configuration written to .config
#
[email protected]:~/android/kernel/oneplus2$ make -j4
Makefile:609: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
Makefile:800: *** multiple target patterns. Stop.[/CODE]
please help this noob ;_; I am using this kernel source : [url]https://github.com/OnePlusOSS/android_kernel_oneplus_msm8994/tree/oneplus/6.0.1[/url] and wanna build a kernel for ParanoidAndroid ROM.. if it's wrong one then pls do guide me the right kernel.. :)
EDIT: Fixed with this command :
[B]export SUBARCH=arm64[/B]
[B]export CROSS_COMPILE=/home/rohan/android/kernel/toolchain1/bin/aarch64-linux-android-[/B]

Added some others errors.. I built them using msm8994-OnePlus2_defconfig, msm8994_defconfig and msm8994-perf_defconfig.. all of them resulting in error.. THANKS!!

Related

S3 neo kernel configuration

Can I enable all options in multifunction device drivers,voltage and current regulator support,power supply class support,hardware monitoring support and gpio support in kernel configuration????
Yeah, why not
But @sev3n1985 tried voltage control and it was buggy and unstable. I really encourage you to try it and test. Good luck.
When I run command make -j3 I get error:
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
*** Error during update of the configuration.
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/Makefile:496: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
I have fixed problem by putting source inside home folder.

S3 neo error during update of configuration

When I run command make -j3 I get error:
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
*** Error during update of the configuration.
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/Makefile:496: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
I have fixed problem by putting source inside home folder.

Building a ROM for A5H.

Hello All.
I am building a new Cyanogenmod 13.0 for Galaxy A5H and I make a lot progress but, Im havng building error mostly on the kernel.
Here is the error log:
Building Kernel
make -C kernel/samsung/msm8916-caf O=/media/storage/android/cm-13.0/out/target/product/a53g/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/media/storage/android/cm-13.0/prebuilts/misc/linux-x86/ccache/ccache /home/ahmed/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-/arm-eabi-" zImage
make[1]: Entering directory '/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf'
/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf/Makefile:603: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
GEN /media/storage/android/cm-13.0/out/target/product/a53g/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/misc/Kconfig:421:warning: type of 'TIMA_LOG' redefined from 'boolean' to 'tristate'
drivers/misc/Kconfig:752:warning: choice value used outside its choice group
drivers/misc/Kconfig:754:warning: choice value used outside its choice group
drivers/misc/Kconfig:762:warning: choice value used outside its choice group
drivers/misc/Kconfig:765:warning: choice value used outside its choice group
drivers/misc/Kconfig:767:warning: choice value used outside its choice group
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
GEN /media/storage/android/cm-13.0/out/target/product/a53g/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /media/storage/android/cm-13.0/kernel/samsung/msm8916-caf as source for kernel
/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf is not clean, please run 'make mrproper'
in the '/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf' directory.
/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf/Makefile:843: recipe for target 'prepare3' failed
make[2]: *** [prepare3] Error 1
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf'
build/core/tasks/kernel.mk:286: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (02:30:51 (hh:mm:ss)) ####
Please I need your help.
hi, which version of java you use?
and since you compile source ?, I also tried to compile a kernel from 0, and gave me errors
You can ignore everything after Cannot use CONFIG_CC_STACKPROTECTOR regular as those are just warnings.
It's saying your compiler doesn't support CONFIG_CC_STACKPROTECTOR regular set in the defconfig.
Are you sure you've got your environment correctly setup and paths correct.
I always set my path and platform variables in the MAKE file
Then just do MAKE to build.
If you still get the error try commenting out CONFIG_CC_STACKPROTECTOR regular in the defconfig.
Also run make mrproper and make clean before building.
Also which distro are you building on?
I'm building with Java 1.7 and Ubuntu 16.04 64-Bit I'll try it and PM you.

HTC M9 nougat kernel building

I tried to build kernel image using the toolchain the kernel , which I downloaded from htcdev, had in the README file :
defconfig file: msm8994_defconfig
Download:
========
Download the corresponding official android toolchain:
linux-x86:
git clone //android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9( I downloaded this one)
darwin-x86:
git clone //android.googlesource.com/platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9
Build the kernel:
=================
set the following environment variables:
$ mkdir -p out
$ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out msm8994_defconfig
$ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out -j16
Output binary files:
====================
After the build process finishes, the kernel image will be located at out/arch/arm64/boot/Image.gz-dtb
For additional information:
===========================
I modified the the kernel using the command : make menuconfig
After I modified it as the nethunter modifying the kernel section said.
I could not modify the SDR section because I did not have those options in the menuconfig
After that, I tried to compile, but this happened:
# make ARCH=arm64 CROSS_COMPILE=/root/nethunter/toolchain/bin/aarch64-linux-android- -j16
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
CALL scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
make[1]: Nothing to be done for 'dtbs'.
make[1]: Nothing to be done for 'dtbs'.
LD drivers/media/platform/msm/dvb/built-in.o
CC drivers/media/media-device.o
LD drivers/media/platform/msm/built-in.o
CC drivers/media/media-devnode.o
CC drivers/media/media-entity.o
LD drivers/media/platform/built-in.o
LD drivers/media/media.o
LD drivers/media/built-in.o
LD drivers/built-in.o
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `btusb_probe':
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1391: undefined reference to `get_rome_version'
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1391.text+0x5e9e58): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `get_rome_version'
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1400: undefined reference to `rome_download'
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1400.text+0x5e9ea4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rome_download'
Makefile:814: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
I do not know what to do now. Can you please help me?
UPDATE
GhostCop1 said:
I tried to build kernel image using the toolchain the kernel , which I downloaded from htcdev, had in the README file :
defconfig file: msm8994_defconfig
Download:
========
Download the corresponding official android toolchain:
linux-x86:
git clone //android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9( I downloaded this one)
darwin-x86:
git clone //android.googlesource.com/platform/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9
Build the kernel:
=================
set the following environment variables:
$ mkdir -p out
$ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out msm8994_defconfig
$ make ARCH=arm64 CROSS_COMPILE=<path-to-toolchain>/bin/aarch64-linux-android- O=out -j16
Output binary files:
====================
After the build process finishes, the kernel image will be located at out/arch/arm64/boot/Image.gz-dtb
For additional information:
===========================
I modified the the kernel using the command : make menuconfig
After I modified it as the nethunter modifying the kernel section said.
I could not modify the SDR section because I did not have those options in the menuconfig
After that, I tried to compile, but this happened:
# make ARCH=arm64 CROSS_COMPILE=/root/nethunter/toolchain/bin/aarch64-linux-android- -j16
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
CALL scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
make[1]: Nothing to be done for 'dtbs'.
make[1]: Nothing to be done for 'dtbs'.
LD drivers/media/platform/msm/dvb/built-in.o
CC drivers/media/media-device.o
LD drivers/media/platform/msm/built-in.o
CC drivers/media/media-devnode.o
CC drivers/media/media-entity.o
LD drivers/media/platform/built-in.o
LD drivers/media/media.o
LD drivers/media/built-in.o
LD drivers/built-in.o
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
drivers/built-in.o: In function `btusb_probe':
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1391: undefined reference to `get_rome_version'
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1391.text+0x5e9e58): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `get_rome_version'
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1400: undefined reference to `rome_download'
/root/nethunter/kernel/drivers/bluetooth/btusb.c:1400.text+0x5e9ea4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rome_download'
Makefile:814: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
I do not know what to do now. Can you please help me?
Click to expand...
Click to collapse
I've searched the web and I found this : (https//bugzilla.redhat.com/show_bug.cgi?id=124355
I think that it is a bug from the toolchain or binutils.
Good,but this forum is focused on M9+ shipped with MTK chipset (MT6795t).
Maybe you should go to the exact forum to get nice advice.
yvtc75 said:
Good,but this forum is focused on M9+ shipped with MTK chipset (MT6795t).
Maybe you should go to the exact forum to get nice advice.
Click to expand...
Click to collapse
Hi. Can you give me a link to the M9 forums, because I can not find them.
yvtc75 said:
Good,but this forum is focused on M9+ shipped with MTK chipset (MT6795t).
Maybe you should go to the exact forum to get nice advice.
Click to expand...
Click to collapse
Nevermind, found it. Thanks though.
Been a while ago, but for all who need it: also enable CONFIG_BT_ATH3K in kernel. "Atheros firmware download driver" in
-> Networking support (NET [=y])
-> Bluetooth subsystem support (BT [=y])
-> Bluetooth device drivers

Compiling STOCK ROM Sources

after Lenovo added the Sources of its STOCK Firmware public, i wanted to set-up my Lenovo Tab 4 10 Plus TB-X704L to stock firmware by myself to compile it.
How can I read out dependencies from the sources to get any error while compiling?
here is the stock firmware from lenovo: pcsupport.lenovo.com/de/de/products/tablets/a-series/tab4-10-plus/downloads
i did follow this tut for building a GCC Cross Compiler but still get errors while following the TUT by myself: preshing.com/20141119/how-to-build-a-gcc-cross-compiler/
Can someone please tell me how to solve such problems - maybe in summoning general ways like. reading header files to follow dependencies, too?
Thanks.
Code:
[email protected]:/media/kick/jdownloads/kernel# sudo ./build_kernel.sh
make[1]: Verzeichnis „/media/kick/jdownloads/kernel/kernel/msm-3.18/out“ wird betreten
GEN ./Makefile
drivers/soc/qcom/Kconfig:368:warning: choice value used outside its choice group
drivers/soc/qcom/Kconfig:373:warning: choice value used outside its choice group
arch/arm64/configs/hq_msm8953_a6090-perf_defconfig:64:warning: override: reassigning to symbol ARCH_MMAP_RND_COMPAT_BITS
arch/arm64/configs/hq_msm8953_a6090-perf_defconfig:657:warning: unexpected data
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
#
# configuration written to .config
#
make[1]: Verzeichnis „/media/kick/jdownloads/kernel/kernel/msm-3.18/out“ wird verlassen
make[1]: Verzeichnis „/media/kick/jdownloads/kernel/kernel/msm-3.18/out“ wird betreten
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/soc/qcom/Kconfig:368:warning: choice value used outside its choice group
drivers/soc/qcom/Kconfig:373:warning: choice value used outside its choice group
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h

Categories

Resources