-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[linux-error]undefined symbol: s_mp_rand_source #582
Comments
mp_prime_rand.c uses s_mp_rand_source as well, so ensure that the latter is defined on the conditions of the former as well. Fixes libtom#582
I looked at the source and found a case when this could happen. See #583 |
In order to make `helper.pl` happy, change the ternary operator to an if-else statement, otherwise it won't properly generate `tommath_class.h`. This fixes #582 Signed-off-by: Steffen Jaeckel <[email protected]>
I tried to compile the source code with bazel and call it in java, and the problems above did not occur. |
I also thought, "maybe optimizing a bit too much" and removing the symbol even though it's still required. How exactly did you produce the error? |
[Repo] https://github.com/dtera/bazel_java |
I use libtommath in java, the error is as follows(it’s OK on mac os):
The text was updated successfully, but these errors were encountered: