asteroid icon indicating copy to clipboard operation
asteroid copied to clipboard

[cant-find-lcrypto] ld cannot find -lcrypto

Open Zendard opened this issue 1 year ago • 1 comments

Description I am currently trying to port asteroidOS to the ticwatch E3 using this kernel source. While following the porting guide I had to find the defconf of the watch but when looking in the arch/arm/configs folder I couldn't find ricefish_defconfig, so I used rover_defconfig. When trying to compile asteroidOS I get an error saying that ld can't find -lcrypto

To reproduce Steps to reproduce the behavior:

  1. Use this kernel source
  2. Use rover_defonfig
  3. Try to compile

Expected behavior A compilation without errors

Device:

  • Watch Codename: ricefish
  • AsteroidOS Builddate: 2023-05-20
  • Version: Latest version cloned from github

Additional context

Zendard avatar May 20 '24 09:05 Zendard

so, I can't offer a solution, but there is a hack. @MagneFire encountered this issue while porting hoki. The hack involves just disabling anything that depends on libcrypto. it can be seen here https://github.com/AsteroidOS/meta-smartwatch/commit/1eca3600db88baee07685f414e14f9fb8e7703e3 this obviously isn't ideal, but we don't use the crypto features at the moment, so we'll accept this hack in contributions until we find a real solution

dodoradio avatar Feb 19 '25 13:02 dodoradio