Hi,
I've got an arch-based cubox-i (2-core) and am trying to compile cryptodev-linux kernel module on it.
I've got all necessary packages installed (dkms - that will help me install all necessary compilation tools) and linux-headers.
Using 3.10 based Cubox-i specific kernel.
I've got into compilation error below:
$this->bbcode_second_pass_code('', '
make -C /lib/modules/3.10.30-17-ARCH/build SUBDIRS=`pwd` modules
make[1]: Entering directory '/usr/src/linux-3.10.30-17-ARCH'
CC [M] /home/mike/src/cryptodev-linux-1.6/ioctl.o
In file included from /usr/src/linux-3.10.30-17-ARCH/arch/arm/include/asm/atomic.h:15:0,
from include/linux/atomic.h:4,
from include/linux/crypto.h:20,
from include/crypto/hash.h:16,
from /home/mike/src/cryptodev-linux-1.6/ioctl.c:36:
include/linux/types.h:5:30: fatal error: uapi/linux/types.h: No such file or directory
#include <uapi/linux/types.h>
^
compilation terminated.
scripts/Makefile.build:308: recipe for target '/home/mike/src/cryptodev-linux-1.6/ioctl.o' failed
make[2]: *** [/home/mike/src/cryptodev-linux-1.6/ioctl.o] Error 1
Makefile:1224: recipe for target '_module_/home/mike/src/cryptodev-linux-1.6' failed
make[1]: *** [_module_/home/mike/src/cryptodev-linux-1.6] Error 2
make[1]: Leaving directory '/usr/src/linux-3.10.30-17-ARCH'
Makefile:17: recipe for target 'build' failed
make: *** [build] Error 2
')
Anyone got any idea? I'd like to try out the hardware crypto's performance on imx-6 CPU.