omegamoon / Rockchip-GPL-Kernel

Generic Rockchip GPL Linux Kernel
Other
56 stars 57 forks source link

mk908II compile errors? #16

Open scottfree1 opened 9 years ago

scottfree1 commented 9 years ago

Trying to compile this on a mk908II (compatible??) running picubntu 4.5 out of my depth here, any ideas would be appreciated..

root@g8picuntu:/tmp/Rockchip-GPL-Kernel# make mrproper Building with KERNELRELEASE = 3.0.101+ CLEAN .tmp_versions CLEAN scripts/basic CLEAN scripts/kconfig CLEAN scripts CLEAN include/config include/generated arch/arm/include/generated CLEAN .config include/linux/version.h root@g8picuntu:/tmp/Rockchip-GPL-Kernel# ./build_omegamoon_mk908

Configuring kernel for rk3188_mk908_defconfig

HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf

configuration written to .config

Building kernel for rk3188_mk908_defconfig with 6 thread(s)

./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: 1: ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: Syntax error: "(" unexpected scripts/kconfig/conf --silentoldconfig Kconfig ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: 1: ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: Syntax error: "(" unexpected CHK include/linux/version.h UPD include/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: 1: ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: Syntax error: "(" unexpected make[2]: * [scripts/mod/empty.o] Error 2 make[2]: * Waiting for unfinished jobs.... HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/bmptologo scripts/pnmtologo.c: In function ‘write_footer’: scripts/pnmtologo.c:281:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘unsigned int’ [-Wformat] scripts/pnmtologo.c:282:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘unsigned int’ [-Wformat] scripts/bmptologo.c: In function ‘write_footer’: scripts/bmptologo.c:247:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘unsigned int’ [-Wformat] make[1]: * [scripts/mod] Error 2 make[1]: * Waiting for unfinished jobs.... Generating include/generated/mach-types.h CC kernel/bounds.s ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: 1: ./omegamoon/toolchain/linaro/bin/arm-linux-gnueabihf-gcc: Syntax error: "(" unexpected make[1]: * [kernel/bounds.s] Error 2 make: * [prepare0] Error 2 make: * Waiting for unfinished jobs.... make: * [scripts] Error 2 ./build_omegamoon_base: line 40: ./omegamoon/rkcrc: cannot execute binary file root@g8picuntu:/tmp/Rockchip-GPL-Kernel#

ildar commented 9 years ago

Seems something's wrong with your toolchain as the error is raised while building build tools. Why do you need native build anyway? Cross build should produce good kernel for you.

Ildar Mulyukov, child of God

email: ildar.mulyukov@gmail.com GoogleTalk: ildar.mulyukov@gmail.com blog: http://johan-notes.blogspot.com/

scottfree1 commented 9 years ago

Trying to end up with full time plex server that can handle xbmc if needed. With xbmc best case I've got in linux choppy video playback but in picbutu & linuxium now I'm just getting a black screen. I was trying to kill 2 birds by getting a kernel with the best case video drivers, which this seems to be? If their is an sd card version somewhere that I'm overlooking that would be a big help. I'd like to find/create an sd card distro with best case video hw accel drivers installed and with xbmc as the frontend and plex as the backendnow if that exists. life would be easy,, well less hard at least,..