Skip to contentSkip to conversation

Problem to compile Kernel 3.18.55 in fork.c:341

DISCUSSION Sam Przyswa (Perso) 2 participants 2 messages Jul 21, 2017

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 13 lines · Sam Przyswa (Perso)

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

Quoted 3 lines

What's wrong ?

Thanks for your help.

This was fixed in 3.18.56. See
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v3.18.62&id=2bc281ebacf969770597fad415547016f0457b53

Signature · 1 line
~Randy