|
Hello Everybody,
I'm trying to build my own kernel and stuff. First reason is I want to understand how it works. Second reason I want to be able to build sometning like PiCoreplayer for mij OPI Zero.
I've git cloned "https://github.com/orangepi-xunlong/orangepi_h2_linux". When I build the uboot I get an ok. Then I run sudo ./build_linux_kernel.sh clean. It says "cleaning" after that "Ok"
Then I run "sudo ./build_linux_kernel.sh zero" I get
Building kernel for OPI-Zero ...
Configuring ...
Building kernel & modules ...
Error: KERNEL NOT BUILT.
The Kbuild_zero.log says:
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
scripts/kconfig/conf --silentoldconfig Kconfig
arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
CHK include/linux/version.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.lex.c
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
scripts/Makefile.build:307: recept voor doel 'scripts/mod/empty.o' is mislukt
make[2]: *** [scripts/mod/empty.o] Fout 127
make[2]: *** Wachten op onvoltooide taken...
SHIPPED scripts/genksyms/keywords.hash.c
SHIPPED scripts/genksyms/parse.tab.h
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/lex.lex.o
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
scripts/Makefile.build:443: recept voor doel 'scripts/mod' is mislukt
make[1]: *** [scripts/mod] Fout 2
make[1]: *** Wachten op onvoltooide taken...
Generating include/generated/mach-types.h
CC kernel/bounds.s
arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/home/wilbert/orangepi_h2_linux/OrangePi-Kernel/linux-3.4/./Kbuild:35: recept voor doel 'kernel/bounds.s' is mislukt
make[1]: *** [kernel/bounds.s] Fout 127
Makefile:985: recept voor doel 'prepare0' is mislukt
make: *** [prepare0] Fout 2
make: *** Wachten op onvoltooide taken...
HOSTLD scripts/genksyms/genksyms
Makefile:506: recept voor doel 'scripts' is mislukt
make: *** [scripts] Fout 2
Sorry I run a dutch Ubuntu 16.04 system
"Wachten op onvoltooide taken" means as much as "Waiting for unfinished tasks"
"Mislukt" means ¨failed"
"recept" means "recepy" so I guess "script"
"doel" means "target"
Don't know what I am dowing wrong. I hope someone can help me out.
Thanks
Wilbert
|
|