leetronics / infnoise

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

Building on macOS Mojave #16

Closed mmahfoudi closed 5 years ago

mmahfoudi commented 5 years ago

Hello guys,

I am trying to build on Mojave but here the error I receive :

Undefined symbols for architecture x86_64:
  "_inmWriteEntropyEnd", referenced from:
      _main in infnoise.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [infnoise] Error 1

Does anybody face this kind of error ? How can I solve it ? Thank you.

manuel-domke commented 5 years ago

Hi, this seems to be caused by a recent change. Added a possible fix in commit 9175803.

No MacBook at hand right now, but I'll test in a few hours. Maybe you'll be faster.

mmahfoudi commented 5 years ago

I just compiled and no more errors. I executed the binary and so far it seems to be working as expected :)

Thank you.

manuel-domke commented 5 years ago

Awesome. Thanks for reporting!