Can't successfully cross-compile librespot
for arm-unknown-linux-musleabihf on ubuntu 22.04
#1184
Labels
librespot
for arm-unknown-linux-musleabihf on ubuntu 22.04
#1184
Question:
Can't successfully cross-compile ‘librespot’ for arm-unknown-linux-musleabihf on ubuntu 22.04.
Error Log on run
cargo build
:cargo build
Command:Full Log:
Environment:
cargo --target
: arm-unknown-linux-musleabihf (must using musl because usingguneabihf
cant run on target device. )Action that I did:
Downloaded the
musl
compilation toolchain from musl.cc, versioncross
arm-linux-musleabihf,
and added the toolchain path to the PATH:https://musl.cc/arm-linux-musleabihf-cross.tgz
PATH is:
/opt/arm-linux-musleabihf/bin
Add armhf support to dpkg and change armhf software source to "China Tsinghua University open source software mirror":
cargo build
Additional context
The dockerfile provided by repo does not compile to musl. my attempts to use rust-musl-cross and install the environment manually also failed, so I tried to compile it manually myself instead of docker, if you have any good ideas please let me know. I will try to compile on Pi4 on July 4, 2023 at +8 PM GMT.
The text was updated successfully, but these errors were encountered: