<div dir="ltr">Hi ALL,<div><br></div><div>I am trying to use getrandom syscall in kernel 3.10.20 by following this linkĀ </div><div><br></div><div><a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895</a><br></div><div><br></div><div>i have compiled the kernel and now want to call the getrandom syscall from userspace to generate random numbers. But i am getting following error while calling the getrandom () from userspace.</div><div><br></div><div>
<div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">(.text.startup+0x18): undefined reference to `getrandom'
</span><br>(.text.startup+0x1c): undefined reference to `getrandom'<br>
<br></span></div></div><div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br>Avantika Rawat<br></div></div></div>
</div></div>