AnsweredAssumed Answered

ipu-examples - Compile error - fatal error: linux/mxcfb.h: No such file or directory

Question asked by Robert_P on Dec 11, 2014
Latest reply on Jun 11, 2015 by frankba

Hello,

 

I have a VIA VAB-820 (i.MX6Q) with VIA's Linux EVK (AMOS-820 HMI Solution Pack Evaluation Package) installed.  I'm trying to compile the IPU examples from https://github.com/rogeriorps/ipu-examples.

I git cloned the repo into my directory, cd'ed to ipu-examples, and typed

 

./configure --host=arm-none-linux-gnueabi --target=mx6 --prefix=/

 

to create my Makefile.

 

But when I type make, I get an error:

 

make[1]: Entering directory `/home/linaro/Desktop/ipu-examples'

Making all in mx6/basic/example1

make[2]: Entering directory `/home/linaro/Desktop/ipu-examples/mx6/basic/example1'

gcc -DHAVE_CONFIG_H -I. -I../../..  -I //usr/src/kernel/include/uapi -I //usr/src/kernel/include/  -g -O2 -MT basic_ex1.o -MD -MP -MF .deps/basic_ex1.Tpo -c -o basic_ex1.o basic_ex1.c

basic_ex1.c:32:25: fatal error: linux/mxcfb.h: No such file or directory

compilation terminated.

make[2]: *** [basic_ex1.o] Error 1

make[2]: Leaving directory `/home/linaro/Desktop/ipu-examples/mx6/basic/example1'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/linaro/Desktop/ipu-examples'

make: *** [all] Error 2

 

Seems like it can't find /usr/include/linux/mxcfb.h.

 

How do I fix this?

 

Thanks for any help.

Outcomes