[Q] Driver error while compiling kernel topic
So guys, I've tried to build my own kernel from johns github sources based on his kool-aid kernel. This happens both with the msm8226_defconfig and g2m_global_com_defconfig based makefiles
So I got my sources synced set up this linaro toolchain https://github.com/Christopher83/arm...ihf-linaro_4.9, got the path set up in bashrc
When running
It starts compiling and everything seems fine, when it gets to this last part
It seems to run into a problem with the drivers, tried searching up on the
part, and only thing actually coming up has been some pastebins etc with the same error log as I got (almost), hoped someone could help out with this?
So I got my sources synced set up this linaro toolchain https://github.com/Christopher83/arm...ihf-linaro_4.9, got the path set up in bashrc
Code:
#Android Toolchain PATH
export ARCH=arm
export CCOMPILE=$CROSS_COMPILE
export CROSS_COMPILE=arm-cortex_a7-linux-gnueabihf
export PATH=$PATH:/home/steffen/toolchain/bin"
Code:
make ARCH=arm CROSS_COMPILE=arm-cortex_a7-linux-gnueabihf-
Code:
CC [M] drivers/mmc/card/mmc_block_test.o
CC drivers/mmc/core/core.o
CC drivers/mmc/core/bus.o
CC drivers/mmc/core/host.o
CC drivers/mmc/core/mmc.o
drivers/mmc/core/mmc.c:1869:12: warning: initialization from incompatible pointer type
error, forbidden warning: mmc.c:1869
make[3]: *** [drivers/mmc/core/mmc.o] Error 1
make[2]: *** [drivers/mmc/core] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
Code:
drivers/mmc/core/mmc.c:1869:12: warning: initialization from incompatible pointer type
error
xda-developers
0 commentaires:
Enregistrer un commentaire