android - Undefined reference to `msm_nand_data' while compiling hammerhead kernel with ubifs support? -


i trying compile nexus 5 kernel(hammerhead) ubifs support. have used android-msm-hammerhead-3.4-kk-r1 build. have followed following steps :

  1. make hammerhead_defconfig
  2. make menuconfig , enabled..

     device drivers --->      memory technology device (mtd) support  --->          enable ubi - unsorted block images  --->  file systems  --->      miscellaneous filesystems  --->            ubifs file system support 

but getting following compilation error :

cc      init/version.o ld      init/built-in.o ld      .tmp_vmlinux1 drivers/built-in.o: in function `flash_onfi_probe': /home/usr/android/msm/drivers/mtd/devices/msm_nand.c:765: undefined reference 'msm_nand_data' make: *** [.tmp_vmlinux1] error 1 

what might causing error ?

edit : solve issue disabling self contained device drivers --> mtd_msm_nand


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -