Posts: 10,459
Threads: 244
Joined: Mar 2018
Reputation:
377
I can confirm that librespot has to be compiled directly on armv6l architecture (Pi-1B, Zero, ZeroW) or cross-compiled for armv6l target in order to generate the correct binary.
Posts: 20
Threads: 2
Joined: Oct 2018
Reputation:
0
Yes I saw that.
And I, incorrectly, assumed that building on the rpi0w would resolve this issue but it did not. Since I have the ethernet usb dongle now I tried your build process on a fresh raspbian image. Completed without error but still get the librespot "Illegal instruction" error.
Am unsure how to proceed to rebuild/compile librespot on here correctly.
Posts: 10,459
Threads: 244
Joined: Mar 2018
Reputation:
377
I just built it today on a 0W and it works perfectly, but took many hours to compile on the little Pi. I just ran the procedure in COMPONENT 4B of the Build Recipe except I used the specific commit (a4e0f58) of librespot thats used in moOde 4.3.
Posts: 20
Threads: 2
Joined: Oct 2018
Reputation:
0
Sorry for my ignorance, but I do not know what you mean by procedure in the build recipe.
Posts: 20
Threads: 2
Joined: Oct 2018
Reputation:
0
359m 55s to compile!
But it is working now! Yay!
root@MusicBox:~# pgrep -l librespot
723 librespot
Posts: 20
Threads: 2
Joined: Oct 2018
Reputation:
0
I updated the original post with steps to fix in the mean time, though I am sure you will have this fixed soon.
Thanks for the help Tim!