LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-25-2013, 12:57 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 634
Blog Entries: 20

Rep: Reputation: 81
DLNA and UPnP server on slackware arm


I want to add DLNA and UPnP services to my ARM device that I use as NAS.

I did a bit of search and I liked the idea to try ushare (that does both DLNA and UPnP). I ran into trouble while evading dependencies:
libupnp built fine but in order to have libdlna, libavformat, from ffmpeg is required but I cant's seem to build ffmpeg:
CC libavdevice/alldevices.o
In file included from ./libavutil/internal.h:136:0,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:277,
from libavdevice/version.h:28,
from libavdevice/avdevice.h:22,
from libavdevice/alldevices.c:22:
./libavutil/libm.h:52:32: error: static declaration of 'cbrt' follows non-static declaration
static av_always_inline double cbrt(double x)
^
./libavutil/libm.h:59:31: error: static declaration of 'cbrtf' follows non-static declaration
static av_always_inline float cbrtf(float x)
^
./libavutil/libm.h:141:22: error: static declaration of 'rint' follows non-static declaration
static inline double rint(double x)
^
./libavutil/libm.h:148:43: error: static declaration of 'lrint' follows non-static declaration
static av_always_inline av_const long int lrint(double x)
^
./libavutil/libm.h:155:43: error: static declaration of 'lrintf' follows non-static declaration
static av_always_inline av_const long int lrintf(float x)
^
./libavutil/libm.h:162:41: error: static declaration of 'round' follows non-static declaration
static av_always_inline av_const double round(double x)
^
./libavutil/libm.h:169:40: error: static declaration of 'roundf' follows non-static declaration
static av_always_inline av_const float roundf(float x)
^
./libavutil/libm.h:176:41: error: static declaration of 'trunc' follows non-static declaration
static av_always_inline av_const double trunc(double x)
^
./libavutil/libm.h:183:40: error: static declaration of 'truncf' follows non-static declaration
static av_always_inline av_const float truncf(float x)
^
make: *** [libavdevice/alldevices.o] Error 1

Anyone know how to work around this ? (coming from a slackware arm 14.1 running on a seagate goflexnet with kernel borrowed from arclinux)

Anyone else had a go at having DLNA services on Slackware ARM ?
what did you use ?
did you have any issues building the stuff ?
 
Old 03-07-2014, 06:38 PM   #2
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
I've got ushare running on my Slackwarearm powered Dockstar. I built ffmpeg using Salix (Slackware derivative)slkbuild packaging system. Here the configuration options that I use to build the package:

./configure --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--shlibdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-shared \
--disable-static \
--disable-debug \
--enable-pthreads \
--enable-x11grab \
--disable-libfaac \
--enable-libcaca \
--enable-librtmp \
--enable-libmp3lame \
--enable-libmodplug \
--enable-libspeex \
--enable-libwavpack \
--enable-libtheora \
--enable-libv4l2 \
--enable-libvorbis \
--enable-libx264 \
--enable-libschroedinger \
--enable-libass \
--enable-libxvid \
--enable-gpl \
--enable-postproc \
--enable-libopus \
--enable-libopencore-amrnb \
--enable-libopencore-amrwb \
--enable-libvpx \
--enable-libcdio \
--enable-openal \
--enable-avresample \
--enable-version3
 
Old 03-08-2014, 12:52 AM   #3
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 634

Original Poster
Blog Entries: 20

Rep: Reputation: 81
Thanks, I'll have a go at that asap.
Salix is an interesting effort ... but I recently discovered that there are a ton of distributions that are derived from Slackware ... have a look at this: Slackware Family Tree
 
Old 03-09-2014, 12:28 AM   #4
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 634

Original Poster
Blog Entries: 20

Rep: Reputation: 81
Where did you get libass from ?

Code:
bash-4.2# ./configure --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--shlibdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-shared \
--disable-static \
--disable-debug \
--enable-pthreads \
--enable-x11grab \
--disable-libfaac \
--enable-libcaca \
--enable-librtmp \
--enable-libmp3lame \
--enable-libmodplug \
--enable-libspeex \
--enable-libwavpack \
--enable-libtheora \
--enable-libv4l2 \
--enable-libvorbis \
--enable-libx264 \
--enable-libschroedinger \
--enable-libass \
--enable-libxvid \
--enable-gpl \
--enable-postproc \
--enable-libopus \
--enable-libopencore-amrnb \
--enable-libopencore-amrwb \
--enable-libvpx \
--enable-libcdio \
--enable-openal \
--enable-avresample \
--enable-version3
ERROR: libass not found

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
bash-4.2#
I can't find in in the MANIFEST (unless it's libassuan): did you get a binary package from somewhere or did you build it from source too ?

Last edited by louigi600; 03-09-2014 at 12:32 AM.
 
Old 03-09-2014, 10:23 AM   #5
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Built from source, again using the Salix package build system. Here's the a link to the source.
http://code.google.com/p/libass/downloads/

and the configuration options that I used.
./configure --prefix=/usr /
--libdir=/usr/lib${LIBDIRSUFFIX} /
--localstatedir=/var /
--sysconfdir=/etc /
--disable-static /
--build=$arch-slackware-linux

There will be a few more like xvidcore, opus libvpx which I built from source. If it's not available from slackwarearm repo then I built it from source

Last edited by laprjns; 03-09-2014 at 10:34 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DLNA with transcoding | Slackware madhavramdin Linux - Software 2 05-02-2013 12:21 AM
DLNA server suggestions marnold Slackware 8 01-16-2013 03:56 PM
Can anyone access a DLNA server outside my subnet? penguinator Linux - Server 1 11-30-2012 09:59 AM
DLNA server krokkie Linux - Newbie 6 07-05-2012 04:36 AM
upnp and DHCP - DHPC connections don't renew their upnp settings (upnpd / dnsmasq) joke_dst Linux - Networking 0 05-20-2009 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration