waywardgeek / infnoise

The world's easiest TRNG to get right
Creative Commons Zero v1.0 Universal
723 stars 99 forks source link

Raspberry Pi Compile Issue #92

Closed pfulbrightmii closed 1 year ago

pfulbrightmii commented 3 years ago

sudo make -f Makefile.linux throws the error:

writeentropy.c: In function ‘readNumberFromFile’: writeentropy.c:29:29: error: comparison is always true due to limited range of data type [-Werror=type-limits]

pfulbrightmii commented 3 years ago

Fixed: line 28 of writeentropy.c, changed:

char c;

to:

signed char c;

SciaticNerd commented 2 years ago

Thank you so much!!! This made everything work fine. I kept getting this error when it should be a simple compile command! (Maybe you were trying to follow the same tutorial/blog post? I officially owe you a beverage.

zhaofengli commented 2 years ago

Fixed by https://github.com/leetronics/infnoise/pull/27

manuel-domke commented 1 year ago

leetronics #27 has meanwhile been merged into master, so the issue should be fixed.