[Ocf-linux-users] Problem with make
Brought to you by:
david-m
From: Dan W <dan...@gm...> - 2021-10-25 22:22:57
|
I'm on Ubuntu 20.04, just downloaded OCF and was trying to follow the readme file instructions, but at the first step, make ocf_make, I got compiler errors with acc, min and max, namely, In file included from /home/dd/Downloads/zips/ocf-linux-20120127/ocf/crypto.c:80: /home/dd/Downloads/zips/ocf-linux-20120127/ocf/./cryptodev.h:278:18: error: field ‘acc’ has incomplete type 278 | struct timespec acc; /* total accumulated time */ | ^~~ /home/dd/Downloads/zips/ocf-linux-20120127/ocf/./cryptodev.h:279:18: error: field ‘min’ has incomplete type 279 | struct timespec min; /* min time */ | ^~~ /home/dd/Downloads/zips/ocf-linux-20120127/ocf/./cryptodev.h:280:18: error: field ‘max’ has incomplete type 280 | struct timespec max; /* max time */ I do have some C/C++ experience, could try to figure it out, but I'd rather report this, first of all, and make sure I apply the right fix. |