Skip to content

Conversation

Syping
Copy link
Contributor

@Syping Syping commented Mar 2, 2024

Build DPP statically causing linker errors with OpenSSL with undefined references

/usr/bin/ld: s3_lib.c:(.text+0x348): undefined reference to `OPENSSL_sk_pop_free'
/usr/bin/ld: s3_lib.c:(.text+0x35c): undefined reference to `CRYPTO_free'
/usr/bin/ld: s3_lib.c:(.text+0x377): undefined reference to `CRYPTO_clear_free'
/usr/bin/ld: s3_lib.c:(.text+0x38b): undefined reference to `CRYPTO_free'
/usr/bin/ld: s3_lib.c:(.text+0x39f): undefined reference to `CRYPTO_free'
/usr/bin/ld: s3_lib.c:(.text+0x3ab): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: s3_lib.c:(.text+0x3b7): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: s3_lib.c:(.text+0x3d3): undefined reference to `CRYPTO_free'
/usr/bin/ld: s3_lib.c:(.text+0x3e7): undefined reference to `CRYPTO_free'
/usr/bin/ld: s3_lib.c:(.text+0x440): undefined reference to `CRYPTO_free'

So i corrected the linking order to fix that problem.

Code change checklist

  • [ N/A ] I have ensured that all methods and functions are fully documented using doxygen style comments.
  • [ N/A ] My code follows the coding style guide.
  • [ Yes ] I tested that my change works before raising the PR.
  • [ Yes ] I have ensured that I did not break any existing API calls.
  • [ Yes ] I have not built my pull request using AI, a static analysis tool or similar without any human oversight.

@github-actions github-actions bot added the build Issue or Pull Request related to the build process label Mar 2, 2024
Copy link

netlify bot commented Mar 2, 2024

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit c3d62a6
🔍 Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/65e33945459a380008ff4fc4
😎 Deploy Preview https://deploy-preview-1102--dpp-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@braindigitalis braindigitalis merged commit b39692b into brainboxdotcc:dev Mar 2, 2024
@braindigitalis
Copy link
Contributor

thanks, merged!

@Syping Syping deleted the dev branch March 2, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issue or Pull Request related to the build process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants