[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]



I'm trying to
#include <linux/random.h>
because I've read somewhere that if I need very good random numbers in
linux thats the way to go.
But when I include it and try to compile I get:
$gcc -lgmp prim_med_gmp.c
/tmp/ccgB8Uh9.o(.text+0x15b): In function `main':
: odefined reference to "get_random_bytes"
collect2: ld returned 1 exit status

I think there is some library I should include but I have no idea which.
How do I fix this?


Reply to: