Re: Help needed for Linker error while building cryptopp for android (armeabi-v7a)

Ninad Deshmukh <[email protected]>
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <[email protected]>
Hi

Thanks Jeff for reply!
I went through https://www.cryptopp.com/wiki/Android.mk, it mentions to use 
cryptopp-android <https://github.com/noloader/cryptopp-android> (I am using 
this as mentioned above)

Undefined symbols -functions (linker issues) reported by compiler are 
already available in source files but guarded with #ifdefs
Note: I am using Crypto++ Master and cryptopp-android Master as mentioned 
in documentation without any change.

I am able to create a build for *arm64-v8a *but, while building for 
*armeabi-v7a,* it gives linker issues

Any idea?

Regards
Ninad D
On Friday, 5 February 2021 at 02:03:57 UTC+5:30 Jeffrey Walton wrote:

> On Thu, Feb 4, 2021 at 2:27 PM Ninad Deshmukh <[email protected]> wrote:
> >
> > Hi
> > I am new to Crypto++
> > I was trying to build Crypto++ for android using documentation here: 
> https://github.com/noloader/cryptopp-android
> >
> > Note: Build succeeded for arm64-v8a and linker fails for armeabi-v7a
> > I am not able to resolve following linker errors:
> >
> >
> > ld: error: undefined symbol: CryptoPP::CPU_ProbeARMv7()
> > >>> referenced by cpu.cpp:1014 (./../cryptopp\cpu.cpp:1014)
> > >>> cpu.o:(CryptoPP::DetectArmFeatures()) in archive 
> ./obj/local/armeabi-v7a/libcryptopp_static.a
>
> I believe there are better instructions for using Android.mk at
> https://www.cryptopp.com/wiki/Android.mk.
>
> Jeff
>

-- 
You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/09ab694b-3976-4cc1-ad0a-32691407bcb8n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.