Skip to content
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

Android Linking error. undefined reference to 'CryptoPP::RandomPool::GenerateBufferedTransFormation #1295

Open
hyunkim9123 opened this issue Sep 20, 2024 · 0 comments

Comments

@hyunkim9123
Copy link

hyunkim9123 commented Sep 20, 2024

Hi,

I built the Cryptopp version 8.9.0 shared library in the NDK r27 environment using the "bash cryptest-android-mk.sh" command, but I’m encountering a linking error: "undefined reference to 'CryptoPP::RandomPool::GenerateBufferedTransFormation'".

The code I'm trying to link with Cryptopp is quite simple. "AutosFeedRandomPool asrp" results in a linking error, while "AutoSeededX917RNG asrp" works fine.

It seems that randpool.cpp is not being included in the Crypto++ shared library. Could you please advise on how to modify android.mk or any other relevant files to resolve this issue?

Thanks in advance.

@hyunkim9123 hyunkim9123 changed the title Android Linking error. undefined reference to 'CrytoPP::RnadomPool::GenerateBufferedTransFormation Android Linking error. undefined reference to 'CryptoPP::RandomPool::GenerateBufferedTransFormation Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant