[Q] Driver error while compiling kernel topic

SOCIALIZE IT ⇨

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

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"


When running

Code:


make ARCH=arm CROSS_COMPILE=arm-cortex_a7-linux-gnueabihf-

It starts compiling and everything seems fine, when it gets to this last part

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


It seems to run into a problem with the drivers, tried searching up on the

Code:


drivers/mmc/core/mmc.c:1869:12: warning: initialization from incompatible pointer type
error


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?

xda-developers


  1. Error when building Android topic
  2. cwm recovery compile error topic
  3. Private Mode Error topic
  4. Xperia L Camera Error ( 2015 ) topic
  5. [Q] error in flashing cm 12.1 on galaxy grand 2(sm- g7102) topic
  6. CM12 Camera error topic
  7. [Q] Samsung sm-G901f plus error auto answer topic
  8. [Q] Play Games and Google Now sign in Error topic
  9. [VS980] Security Error on Boot topic
  10. [Q] kernel build error topic
  11. Where can I get kernel sources? topic
  12. [Q] Help with kitkat kernel topic
  13. [Q] different kernel in different phone topic
  14. [Q] Custom Kernel topic
  15. [Q] F2FS on CM12.1 nightlies + AK kernel topic
  16. [Q] can anyone compile a kernel with otg support topic
  17. [KERNEL] 5.1 modified kernel (Alpha) topic
  18. [Q] Kernel for cm7 topic
  19. OC Kernel for I9195 CM12 topic
  20. {Q}Why Dont Update Kernel Version By Samsung? topic

0 commentaires:

Enregistrer un commentaire