Problem to compile Kernel 3.18.55 in fork.c:341

From: Sam Przyswa (Perso)
Date: Fri Jul 21 2017 - 09:40:17 EST


Hi all !

I try to compile the kernel 3.18.55 I got this error message during 'make deb-pkg' :

kernel/built-in.o: In function `dup_task_struct':
/home/samp/kernel/linux-3.18.55/kernel/fork.c:341: undefined reference to `get_random_long'
Makefile:927: recipe for target 'vmlinux' failed
make[2]: *** [vmlinux] Error 1
scripts/package/Makefile:90: recipe for target 'deb-pkg' failed
make[1]: *** [deb-pkg] Error 2
Makefile:1233: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2

What's wrong ?

Thanks for your help.

Sam.