AnsweredAssumed Answered

problem with imx6slevk 3.14 kernel while cross_compiling driver

Question asked by susangrace rapaka on Aug 24, 2015
Latest reply on Aug 26, 2015 by Yuri Muhin

hello,

i have build an image of imx6slevk for 3.14 kernel.while compiling with  driver i got this error.how to fix it

 

make -C/fsl-release-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-imx/3.14.28-r0/git SUBDIRS=/home/susan/driver/host/common_hal modules

make[2]: Entering directory `/fsl-release-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-imx/3.14.28-r0/git'

 

  ERROR: Kernel configuration is invalid.

         include/generated/autoconf.h or include/config/auto.conf are missing.

         Run 'make oldconfig && make prepare' on kernel src to fix it.

 

 

  WARNING: Symbol version dump /fsl-release-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-imx/3.14.28-r0/git/Module.symvers

           is missing; modules will have no dependencies and modversions.

 

  CC [M]  /home/susan/driver/host/common_hal/intfdep/usb/osd_usb/linux/onebox_usb_main_osd.o

In file included from <command-line>:0:0:

/fsl-release-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-imx/3.14.28-r0/git/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory

#include <generated/autoconf.h>

                                ^

compilation terminated.

make[3]: *** [/home/susan/driver/host/common_hal/intfdep/usb/osd_usb/linux/onebox_usb_main_osd.o] Error 1

make[2]: *** [_module_/home/susan/driver/host/common_hal] Error 2

make[2]: Leaving directory `/fsl-release-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-imx/3.14.28-r0/git'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/susan/driver/host/common_hal'

make: *** [obx_common_hal] Error 2

Outcomes