Random number generator hangs for a long time

I need to compile the rng-tools for my board.

I am using arm-poky-linux-gnueabi-gcc toolchain to cross-compile to my board.This the tool chain that is used to build all the images to the board.

I am unable to configure to build the “rngd”

./configure CC=arm-poky-linux-gnueabi-gcc --prefix=$PWD/install --host=arm-linux

checking build system type… x86_64-pc-linux-gnu

checking host system type… arm-unknown-linux-gnu

checking for a BSD-compatible install… /usr/bin/install -c

checking whether build environment is sane… yes

checking for arm-linux-strip… no

checking for strip… strip

checking for a thread-safe mkdir -p… /bin/mkdir -p

checking for gawk… gawk

checking whether make sets $(MAKE)… yes

checking whether make supports nested variables… yes

checking whether to enable maintainer-specific portions of Makefiles… no

checking for arm-linux-gcc… arm-poky-linux-gnueabi-gcc

checking whether the C compiler works… no

configure: error: in `/home/raja.sj/Documents/rng-tools’:

configure: error: C compiler cannot create executables

I am not getting what i am missing, or this tool is compatible to my board or not.

Hi @raja and Welcome to the Toradex Community!!!

am using arm-poky-linux-gnueabi-gcc toolchain to cross-compile to my board.This the tool chain that is used to build all the images to the board.

Where did you get this tool chain?

I am unable to configure to build the “rngd”

Where did you get the sources?

I am not getting what i am missing, or this tool is compatible to my board or not.

Please note, this Form is for Toradex Products only. For Nxp Products, please have a look here and here.

Best regards,
Jaski