[Ocf-linux-users] Compilation against 4.2 kernel failed : implicit declaration of function ‘daemoniz
Brought to you by:
david-m
|
From: Nicolas F. <nic...@gm...> - 2015-10-21 16:02:09
|
Hello
I'm trying to use a Cavium Octeon XL and so I need to install OCF Framework.
I use stock debian "strech"
I push patch ... fix some rejects and I tried to build my kernel modules
and I get finaly :
....
CC [M] crypto/async_tx/async_memcpy.o
CC [M] crypto/async_tx/async_xor.o
CC [M] crypto/async_tx/async_pq.o
CC [M] crypto/async_tx/async_raid6_recov.o
CC [M] crypto/ocf/crypto.o
CC [M] crypto/ocf/criov.o
CC [M] crypto/ocf/random.o
crypto/ocf/random.c: In function ‘random_proc’:
crypto/ocf/random.c:202:2: error: implicit declaration of function
‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("ocf-random");
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target 'crypto/ocf/random.o' failed
It seems that API of 3.8+ kernel has changed. Is someone working on a fix ?
Thanks
Nicolas F.
|