PDA

Bekijk de volledige versie : [Entware] minissdpd



!gm
27-09-2012, 23:08
Hi,
as I'm trying to compile MiniSSDPD (http://miniupnp.tuxfamily.org/minissdpd.html) to run several UPnP services on my router I got stuck.

http://pastebin.com/raw.php?i=ztA2TDRe

Thomas Bernard already told me that there some netlink socket includes failed. http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=3137#3137

I've no idea how to fix that. It's part of the kernel, right?

toolchain is fresh r4628
entware r552
openwrt buildroot r33572

thanks so far
gm


edit: problem is solved. If interested, everyone can download the ipk from my dropbox or build the package using the provided tar.gz.

http://wl500g.info/showthread.php?30504-Entware-minissdpd&p=255251#post255251

lly
28-09-2012, 08:04
Hi,
as I'm trying to compile MiniSSDPD (http://miniupnp.tuxfamily.org/minissdpd.html) to run several UPnP services on my router I got stuck.

http://pastebin.com/raw.php?i=ztA2TDRe

Thomas Bernard already told me that there some netlink socket includes failed. http://miniupnp.tuxfamily.org/forum/viewtopic.php?p=3137#3137

I've no idea how to fix that. It's part of the kernel, right?

It's a "feature" of an old kernel - __u64/__s64 types don't provided in case of ansi compiler flag set.

At now, just remove "-ansi" from CFLAGS. In future, I will do backport of kernel.org commit 68a9bd0c (http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=68a9bd0cd5824073e3232b10 2011ec568a517646)

P.S. If you switch to gcc 4.6, you will see more detailed error message

!gm
30-09-2012, 21:16
wow, was just a weekend away and you already included everything!

now checking out, recompiling the toolchain and trying to compile minissdpd again

lly yo're the man!

I'll share the makefile and the patches, when it is running and the init.d script is ready. (otherwise I ask again;) )

lly
01-10-2012, 07:58
After r4633 you can either rebuild toolchain against updated kernel headers or copy include/asm/types.h from kernel tree to toolchain.

!gm
01-10-2012, 08:21
thats what I said :)

(me is following all changes via rss)

!gm
01-10-2012, 17:08
ok, its ready :)


here the ipk
https://dl.dropbox.com/u/13972492/minissdpd_1.2-1_entware.ipk

makefile, patch and init.d-script attached

if we could integrate this (http://miniupnp.free.fr/files/mediatomb_minissdp-20081006.patch) in our mediatomb-package, mediatomb users would be able to run miniupnp too

ryzhov_al
02-10-2012, 04:29
if we could integrate this (http://miniupnp.free.fr/files/mediatomb_minissdp-20081006.patch) in our mediatomb-package, mediatomb users would be able to run miniupnp tooAs far as i understood, we must patch every upnp-server to work with minissdpd. Doesn't looks like it graceful decision, sorry.

!gm
02-10-2012, 09:12
miniupnp is ready by default, minidlna got the patch integrated in 1.0.18