Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Użytkownik

Próbuję sobie skompilować kernel Androida dla Xiaomi Redmi 3. Próbowałem na różnych źródłach:
https://github.com/yantz74/Ido_Redmi3_Kernel
https://github.com/Redmi3/xiaomi_kernel_Redmi3
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/ido-l-oss
Zgodnie z tym tutorialem:
http://en.miui.com/thread-293285-1-1.html
I oczywiście błąd przy wykonywaniu make:
ghost25@ghost25linux:~/nethunter/yantz$ make -j4 scripts/kconfig/conf --silentoldconfig Kconfig 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) 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) 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/empty.o as: nieznana opcja '-EL' scripts/Makefile.build:308: polecenia dla obiektu 'scripts/mod/empty.o' nie powiodły się make[2]: *** [scripts/mod/empty.o] Błąd 1 scripts/Makefile.build:455: polecenia dla obiektu 'scripts/mod' nie powiodły się make[1]: *** [scripts/mod] Błąd 2 Makefile:517: polecenia dla obiektu 'scripts' nie powiodły się make: *** [scripts] Błąd 2 make: *** Oczekiwanie na niezakończone zadania....
Zgaduję że pewnie trzeba coś doinstalować. Tylko nie wiem co. System to Kali Linux.
Offline




Psuj





as: nieznana opcja '-EL'
google twoim przyjacielem.
zaraz ilin pewnie wywali ten post, ale trzeba nauczyć w końcu myśleć niektórych na tym forum

Offline



Łowca lamerów




Strzelam, że brakuje crossdev, lub innego kompilatora produkującego kod dla dolecowej maszyny.
Offline
Użytkownik

Coś pomogło, bo teraz inny błąd wywala. Przykładowo na źródłach Mansi kernela:
ghost25@ghost25linux:~/kernel-workspace/Mansi$ make -j4
scripts/kconfig/conf --silentoldconfig Kconfig
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) 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) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/checksum.h
WRAP arch/arm64/include/generated/asm/clkdev.h
WRAP arch/arm64/include/generated/asm/cputime.h
WRAP arch/arm64/include/generated/asm/current.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/early_ioremap.h
WRAP arch/arm64/include/generated/asm/errno.h
WRAP arch/arm64/include/generated/asm/ftrace.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/ioctl.h
WRAP arch/arm64/include/generated/asm/ioctls.h
WRAP arch/arm64/include/generated/asm/ipcbuf.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_types.h
WRAP arch/arm64/include/generated/asm/kvm_para.h
WRAP arch/arm64/include/generated/asm/local64.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
WRAP arch/arm64/include/generated/asm/msgbuf.h
WRAP arch/arm64/include/generated/asm/mutex.h
WRAP arch/arm64/include/generated/asm/mman.h
WRAP arch/arm64/include/generated/asm/pci.h
WRAP arch/arm64/include/generated/asm/resource.h
WRAP arch/arm64/include/generated/asm/poll.h
WRAP arch/arm64/include/generated/asm/rwsem.h
WRAP arch/arm64/include/generated/asm/scatterlist.h
WRAP arch/arm64/include/generated/asm/segment.h
WRAP arch/arm64/include/generated/asm/sembuf.h
WRAP arch/arm64/include/generated/asm/sections.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/shmbuf.h
WRAP arch/arm64/include/generated/asm/simd.h
WRAP arch/arm64/include/generated/asm/sizes.h
WRAP arch/arm64/include/generated/asm/socket.h
WRAP arch/arm64/include/generated/asm/sockios.h
WRAP arch/arm64/include/generated/asm/swab.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/termbits.h
WRAP arch/arm64/include/generated/asm/termios.h
WRAP arch/arm64/include/generated/asm/topology.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/vga.h
WRAP arch/arm64/include/generated/asm/xor.h
WRAP arch/arm64/include/generated/asm/types.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/dtc/data.o
SHIPPED scripts/genksyms/lex.lex.c
SHIPPED scripts/genksyms/keywords.hash.c
SHIPPED scripts/genksyms/parse.tab.h
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/lex.lex.o
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/dtc/livetree.o
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/devicetable-offsets.s
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/kallsyms
MKELF scripts/mod/elfconfig.h
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/bin2c
HOSTCC scripts/sortextable
HOSTCC scripts/dtc/util.o
scripts/sortextable.c:68:1: warning: ‘succeed_file’ defined but not used [-Wunused-function]
succeed_file(void)
^~~~~~~~~~~~
HOSTCC scripts/dtc/dtc-lexer.lex.o
In file included from scripts/sortextable.c:166:0:
scripts/sortextable.c: In function ‘main’:
scripts/sortextable.h:158:3: warning: ‘relocs_size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
memset(relocs, 0, relocs_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/sortextable.h:104:6: note: ‘relocs_size’ was declared here
int relocs_size;
^~~~~~~~~~~
In file included from scripts/sortextable.c:164:0:
scripts/sortextable.h:158:3: warning: ‘relocs_size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
memset(relocs, 0, relocs_size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/sortextable.h:104:6: note: ‘relocs_size’ was declared here
int relocs_size;
^~~~~~~~~~~
HOSTCC scripts/dtc/dtc-parser.tab.o
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/dtc/dtc
HOSTCC scripts/mod/file2alias.o
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
make[1]: Nie ma nic do zrobienia w 'dtbs'.
DTC arch/arm64/boot/dts/qcom/../msm8916-qrd-wt88511_64.dtb
DTC arch/arm64/boot/dts/qcom/../msm8916-qrd-wt88047.dtb
DTC arch/arm64/boot/dts/qcom/../msm8939-qrd-wt88509_64.dtb
In file included from arch/arm64/boot/dts/qcom/msm8939-qrd-wt88509_64.dts:17:0:
In file included from arch/arm64/boot/dts/qcom/msm8916-qrd.dtsi:14:0,
arch/arm64/boot/dts/qcom/msm8939-v3.0.dtsi:15:27: fatal error: skeleton64.dtsi: No such file or directory
#include "skeleton64.dtsi"
from arch/arm64/boot/dts/qcom/msm8916-qrd-wt88047.dtsi:14,
^
from arch/arm64/boot/dts/qcom/msm8916-qrd-wt88047.dts:16:
compilation terminated.
arch/arm64/boot/dts/qcom/msm8916.dtsi:13:27: fatal error: skeleton64.dtsi: No such file or directory
#include "skeleton64.dtsi"
^
compilation terminated.
/home/ghost25/kernel-workspace/Mansi/arch/arm64/boot/dts/qcom/Makefile:213: polecenia dla obiektu 'arch/arm64/boot/dts/qcom/../msm8939-qrd-wt88509_64.dtb' nie powiodły się
make[1]: *** [arch/arm64/boot/dts/qcom/../msm8939-qrd-wt88509_64.dtb] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
/home/ghost25/kernel-workspace/Mansi/arch/arm64/boot/dts/qcom/Makefile:213: polecenia dla obiektu 'arch/arm64/boot/dts/qcom/../msm8916-qrd-wt88047.dtb' nie powiodły się
make[1]: *** [arch/arm64/boot/dts/qcom/../msm8916-qrd-wt88047.dtb] Błąd 1
In file included from arch/arm64/boot/dts/qcom/msm8916-qrd.dtsi:14:0,
from arch/arm64/boot/dts/qcom/msm8916-qrd-wt88511_64.dtsi:14,
from arch/arm64/boot/dts/qcom/msm8916-qrd-wt88511_64.dts:16:
arch/arm64/boot/dts/qcom/msm8916.dtsi:13:27: fatal error: skeleton64.dtsi: No such file or directory
#include "skeleton64.dtsi"
^
compilation terminated.
/home/ghost25/kernel-workspace/Mansi/arch/arm64/boot/dts/qcom/Makefile:213: polecenia dla obiektu 'arch/arm64/boot/dts/qcom/../msm8916-qrd-wt88511_64.dtb' nie powiodły się
make[1]: *** [arch/arm64/boot/dts/qcom/../msm8916-qrd-wt88511_64.dtb] Błąd 1
/home/ghost25/kernel-workspace/Mansi/arch/arm64/Makefile:75: polecenia dla obiektu 'dtbs' nie powiodły się
make: *** [dtbs] Błąd 2
make: *** Oczekiwanie na niezakończone zadania....Offline




Psuj





Na prawdę tak trudno google użyć? http://lists.infradead.org/pipermail/barebox/2015-October/025044.html

Offline