owntone-server icon indicating copy to clipboard operation
owntone-server copied to clipboard

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

Open carylewis opened this issue 8 years ago • 3 comments

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.

carylewis avatar Jan 03 '16 02:01 carylewis

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.

ejurgensen avatar Jan 03 '16 21:01 ejurgensen

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.

psidlo avatar Aug 26 '16 11:08 psidlo

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

ejurgensen avatar Aug 27 '16 18:08 ejurgensen