I'm trying to use Botan for a web project. Previously (pre 3.0.0 release, commit 8adf2ecf1774d1e9d8bd045e63b684f64ba77b1a), the build worked fine, however after upgrading and following the migration guide, compilation fails with the following error
wasm-ld: error: duplicate symbol: Botan::OS2ECP(unsigned char const*, unsigned long, Botan::BigInt const&, Botan::BigInt const&, Botan::BigInt const&)
>>> defined in botan/libbotan-3.a(pubkey_ec_group_point_gfp.o)
>>> defined in botan/libbotan-3.a(pubkey_ec_group_ec_point.o)
Steps to reproduce
I've removed everything from my cpp file to only the following:
I'm honestly not sure if I'm doing something wrong when building, but there's not much going on in my example. So I suspect that there's an issue somewhere in Botan, that "Botan::OS2ECP" is redefined somewhere.
Logs (without all module builds, I can add that too, if necessary)
Might sound like a joke, but now it works. I guess somewhere, something was still cached from the old botan build, which seems to have caused the issue.
Howdy,
I'm trying to use Botan for a web project. Previously (pre 3.0.0 release, commit
8adf2ecf1774d1e9d8bd045e63b684f64ba77b1a
), the build worked fine, however after upgrading and following the migration guide, compilation fails with the following errorSteps to reproduce I've removed everything from my cpp file to only the following:
Botan is first built with:
The file is then built and linked with botan:
I'm honestly not sure if I'm doing something wrong when building, but there's not much going on in my example. So I suspect that there's an issue somewhere in Botan, that "Botan::OS2ECP" is redefined somewhere.
Logs (without all module builds, I can add that too, if necessary)