owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD media server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
2.01k stars 231 forks source link

Cross compile for dlink DNS-325 NAS - arm - armv5tel? #211

Open carylewis opened 8 years ago

carylewis commented 8 years ago

Has anyone successfully compiled forked-daapd for Dlink NAS devices, specifically the DNS-325.

The other popular NAS devices out there (Synology, etc.) would also benefit.

If anyone has any tips as to how to get the project to build either via a cross compile toolchain, or has successfully natively compiled it, I would appreciate hearing about it.

I do have a working gcc working on the device natively, and I was able to build mt-daapd (Firefly Media Server: Version 1.2-pre1), and it works great with my Roku soundbridges - I just want a more modern daapd server.

Thanks for any advice.

ejurgensen commented 8 years ago

Hopefully someone has more direct advice, but if not, here is my take: I think the first thing you should do is seek out information about how people generally build packages for the platform you are targeting. Like how the normal procedure to set up a build environment and get library dependencies in place is. Then, if you run into specific issues when trying to build forked-daapd (build errors or dependencies that are hard to meet) feel free to ask about them here.

My only personal experience with cross compiling is limited to OpenWrt (https://github.com/openwrt/packages/tree/master/sound/forked-daapd), but here some clever people have already done the hard work.

psidlo commented 7 years ago

I managed to run forked-daapd on DNS-320 with Alt-F firmware. It has its own package forked-daapd_23.4_arm.ipk. I personally use chrooted Debian Sid armel in Alt-F and package version 24.1.

DNS-325 is supported.

ejurgensen commented 7 years ago

Thanks for the update, and glad to hear you managed to build it.