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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2016-09-04 16:32:34

  ghost25 - Użytkownik

ghost25
Użytkownik
Zarejestrowany: 2015-04-13

Kompilacja kernela błąd

Próbuję sobie skompilować kernel Androida dla Xiaomi Redmi 3. Próbowałem na różnych źródłach:
[url]https://github.com/yantz74/Ido_Redmi3_Kernel[/url]
[url]https://github.com/Redmi3/xiaomi_kernel_Redmi3[/url]
[url]https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/ido-l-oss[/url]
Zgodnie z tym tutorialem:

Kod:

http://en.miui.com/thread-293285-1-1.html

I oczywiście błąd przy wykonywaniu make:

Kod:

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.


[url=http://userbars.name/][img]http://i.imgur.com/fyAZ9.gif[/img][/url]

Offline

 

#2  2016-09-04 18:59:17

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: Kompilacja kernela błąd

Kod:

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


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#3  2016-09-04 21:34:47

  lis6502 - Łowca lamerów

lis6502
Łowca lamerów
Skąd: Stalinogród
Zarejestrowany: 2008-12-04

Re: Kompilacja kernela błąd

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

Offline

 

#4  2016-09-07 20:13:53

  ghost25 - Użytkownik

ghost25
Użytkownik
Zarejestrowany: 2015-04-13

Re: Kompilacja kernela błąd

Coś pomogło, bo teraz inny błąd wywala. Przykładowo na źródłach Mansi kernela:

Kod:

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....

[url=http://userbars.name/][img]http://i.imgur.com/fyAZ9.gif[/img][/url]

Offline

 

#5  2016-09-07 20:31:08

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: Kompilacja kernela błąd

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


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#6  2016-09-08 17:58:07

  ghost25 - Użytkownik

ghost25
Użytkownik
Zarejestrowany: 2015-04-13

Re: Kompilacja kernela błąd

Tak właściwie to nie bardzo rozumiem co mam zrobić.


[url=http://userbars.name/][img]http://i.imgur.com/fyAZ9.gif[/img][/url]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.009 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00096 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.133.137.10' WHERE u.id=1
0.00079 UPDATE punbb_online SET logged=1733246852 WHERE ident='3.133.137.10'
0.00078 SELECT * FROM punbb_online WHERE logged<1733246552
0.00087 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=28930 AND t.moved_to IS NULL
0.00011 SELECT search_for, replace_with FROM punbb_censoring
0.00232 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=28930 ORDER BY p.id LIMIT 0,25
0.00089 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28930
Total query time: 0.00686 s