[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. [Q] Kernel for cm7 topic
  2. OC Kernel for I9195 CM12 topic
  3. {Q}Why Dont Update Kernel Version By Samsung? topic
  4. Is root required to roll back to KitKat? topic
  5. [REQ] Multi DPI Stock Camera topic
  6. May be this is it for Xperia J topic
  7. [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
  8. [Q] New to phone - on 24A rooted - where to go from here? topic
  9. Htc desire 816 official lollipop update video review topic
  10. [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
  11. How to roll back to KK topic
  12. What is this in Greenify settings topic
  13. [Q] How to update? topic
  14. Where are the ADB driver at?! topic
  15. [Q] Android devices without USB driver topic
  16. How you can install android USB driver video tutorial topic
  17. [Q] Driver error while compiling kernel topic
  18. 3 years and the stable daily driver you use? topic
  19. Help me , I need Rom and driver YEUPHONE N8 topic
  20. Android 4.4.2 Keyboard Driver for Bluetooth keyboard topic

0 commentaires:

Enregistrer un commentaire