AnsweredAssumed Answered

imx-lib with buildroot

Question asked by kim suhak on Jan 27, 2015
Latest reply on Feb 2, 2015 by jimmychan

Im working with i.MX6Q sabreauto

 

Im trying to compile  imx-lib 3.10.7-4.0.0 on buildroot version 2014.8.

 

my kernel version is 3.0.35.

 

I set kernel on buildroot as Linux kernel, local directory.

 

compiling kernel was no problem but, imx-lib didn't find kernel header files, I think.

 

the error logs are below

----------------------------------------------

make[2]: Entering directory `/home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/build/imx-lib-3.0.35-4.0.0/ipu'

/home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/host/usr/bin/arm-none-linux-gnueabi-gcc -DIMX6Q -I/home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/build/linux-custom/drivers/mxc/security/rng/include -I/home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/build/linux-custom/drivers/mxc/security/sahara2/include -idirafter /home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/build/linux-custom/include/uapi -Wall -O2 -fPIC -c mxc_ipu_hl_lib_dummy.c -o mxc_ipu_hl_lib_dummy.o

In file included from mxc_ipu_hl_lib_dummy.c:41:0:

mxc_ipu_hl_lib.h:104:25: fatal error: linux/mxcfb.h: No such file or directory

#include <linux/mxcfb.h>

                         ^

compilation terminated.

make[2]: *** [mxc_ipu_hl_lib_dummy.o] error 1

make[2]: Leaving directory `/home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/build/imx-lib-3.0.35-4.0.0/ipu'

make[1]: *** [ipu] error 2

make[1]: Leaving directory `/home/suhak/work/projects/achroI.MX6/bsp/buildroot-2014.08/output/build/imx-lib-3.0.35-4.0.0'

----------------------------------------------

 

linux/mxcfb.h is in kernel/include/, but not found in buildroot.

 

do u have any idea??

Outcomes