SM-T505
Samsung Galaxy Tab A7 10.4
I need toolchain and commands to compile the kernel I’m using ubuntu Linux
Also give which clang version and gcc version to use as of the tutorial present in opensource.zip I’m getting to many errors
Hello spacewear07,
Could you please specify which errors you are facing while building the Kernel?
Kernel source from Samsung open-source sm-t505
After following Kernel_Readme.txt
First upon kernel uses python2 not python3 so first is that error I have to use PYTHON=python2 in every command while compiling
Second is gcc version is not specified which to use
So I get these error
ols/dtc CONFIG_BUILD_ARM64_DT_OVERLAY=y CLANG_TRIPLE=aarch64-linux-gnu- gta4l_eur_open_defconfig PYTHON=python2 make: Entering directory ‘/home/userland’
make[1]: Entering directory ‘/home/userland/out’
GEN ./Makefile
…/scripts/gcc-version.sh: 30: printf: Is: expected numeric value
…/scripts/gcc-version.sh: 30: printf: your: expected numeric value
…/scripts/gcc-version.sh: 30: printf: PATH: expected numeric value
…/scripts/gcc-version.sh: 30: printf: set: expected numeric value
…/scripts/gcc-version.sh: 30: printf: correctly?: expected numeric value
…/scripts/gcc-version.sh: 30: printf: Is: expected numeric value
…/scripts/gcc-version.sh: 30: printf: your: expected numeric value
…/scripts/gcc-version.sh: 30: printf: PATH: expected numeric value
…/scripts/gcc-version.sh: 30: printf: set: expected numeric value
…/scripts/gcc-version.sh: 30: printf: correctly?: expected numeric value
…/scripts/gcc-version.sh: 30: printf: Is: expected numeric value
…/scripts/gcc-version.sh: 30: printf: your: expected numeric value
…/scripts/gcc-version.sh: 30: printf: PATH: expected numeric value
…/scripts/gcc-version.sh: 30: printf: set: expected numeric value
…/scripts/gcc-version.sh: 30: printf: correctly?: expected numeric value
…/scripts/gcc-version.sh: 30: printf: Is: expected numeric value
…/scripts/gcc-version.sh: 30: printf: your: expected numeric value …/scripts/gcc-version.sh: 30: printf: PATH: expected numeric value
…/scripts/gcc-version.sh: 30: printf: set: expected numeric value
…/scripts/gcc-version.sh: 30: printf: correctly?: expected numeric value
…/scripts/gcc-version.sh: 30: printf: Is: expected numeric value
…/scripts/gcc-version.sh: 30: printf: your: expected numeric value
…/scripts/gcc-version.sh: 30: printf: PATH: expected numeric value
…/scripts/gcc-version.sh: 30: printf: set: expected numeric value
…/scripts/gcc-version.sh: 30: printf: correctly?: expected numeric value
…/scripts/gcc-version.sh: 30: printf: Is: expected numeric value
…/scripts/gcc-version.sh: 30: printf: your: expected numeric value
…/scripts/gcc-version.sh: 30: printf: PATH: expected numeric value …/scripts/gcc-version.sh: 30: printf: set: expected numeric value
…/scripts/gcc-version.sh: 30: printf: correctly?: expected numeric value
init/Kconfig:17: syntax error
init/Kconfig:16: invalid option
drivers/samsung/debug/Kconfig:4:warning: ignoring type redefinition of ‘SEC_DEBUG’ from ‘tristate’ to ‘bool’ make[2]: *** […/scripts/kconfig/Makefile:104: gta4l_eur_open_defconfig] Error 1
make[1]: *** [/home/userland/Makefile:561: gta4l_eur_open_defconfig] Error 2make[1]: Leaving directory ‘/home/userland/out’
make: *** [Makefile:146: sub-make] Error 2
make: Leaving directory ‘/home/userland’
root@localhost:/home/userland#
Again tristate boolen error
And many more errors every time if possible please dm me on telegram t.me/spacewear it will be very helpful to me and please if possible you download kernel source from open-source and try to compile then you will see all errors and in previous email you shared toolchain with me I used that but same error