AnsweredAssumed Answered

[imx-tests] Compile mxc_vpu_test

Question asked by Boadrius Boadrius on Aug 5, 2015
Latest reply on Aug 27, 2015 by Biyong Sun

Hi everybody,

 

I downloaded the imx-test-3.10.17-1.0.0 and I would like to compile the mxc_vpu_test, but I can't.

 

output:

cc  -Wall -O2 -c main.c -o main.o

In file included from vpu_test.h:24:0,

                 from main.c:26:

mxc_ipu_hl_lib.h:96:23: fatal error: linux/ipu.h: No such file or directory

compilation terminated.

make: *** [main.o] Error 1

 

And If I try to tell the compiler -I<path-of-kernel-source-with-drivers-installed>, always I have problems with a lot of libraries...

 

I wouldn't use the ltib tool or similars... I only want compile mxc_vpu_test using its Makefile.

 

And I try to do the things of the readme.txt file... but nothing

 

readme.txt:

"

2. Build Steps

==============

To build all the tests and bootloaders, run make as shown:

 

make PLATFORM=MXC27530EVB LINUXPATH=/home/marsha/LINUX2.6/linux \

KBUILD_OUTPUT=/home/marsha/LINUX2.6/kbuild/mxc27530evb \

CROSS_COMPILE=/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le-

 

Note that you have to specify 4 things: PLATFORM, LINUXPATH, KBUILD_OUTPUT, and CROSS_COMPILE.

 

The build results will end up in the platform directory.

To build a single test add the test dir name to the above like:

 

make PLATFORM=MXC27530EVB LINUXPATH=/home/marsha/LINUX2.6/linux \

KBUILD_OUTPUT=/home/marsha/LINUX2.6/kbuild/mxc27530evb \

CROSS_COMPILE=/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le- \

mxc_mu_test

"

 

How can I install -lpu and -lvpu in my compiler poky 1.7.1, and all the necessary libraries? Any idea?

 

Thank you so much,

 

Best rgrds,

Boadrius

Outcomes