[Slackbuilds-users] mpd and libupnp
Edinaldo
edps.mundognu at gmail.com
Tue Apr 17 13:08:03 UTC 2018
Hy guys!
This error occurs when i try to build mpd on 14.2 (and when libupnp 1.8.3
is
installed):
"
In file included from src/lib/upnp/ClientInit.hxx:25:0,
from src/lib/upnp/ClientInit.cxx:21:
/usr/include/upnp/upnp.h:989:6: note: initializing argument 1 of ‘int
UpnpRegisterClient(Upnp_FunPtr, const void*, UpnpClient_Handle*)’
EXPORT_SPEC int UpnpRegisterClient(
^
Makefile:11889: recipe for target
'src/lib/upnp/libneighbor_a-ClientInit.o' failed
make[1]: *** [src/lib/upnp/libneighbor_a-ClientInit.o] Error 1
make[1]: Leaving directory '/tmp/sbopkg.qMjTOR/mpd-0.20.6'
Makefile:4681: recipe for target 'all' failed
make: *** [all] Error 2
Cleaning up...
"
Is the same error explained here:
https://github.com/MusicPlayerDaemon/MPD/issues/155
I found two solutions for this:
1. add --disable-upnp option on mpd.SlackBuild
or
2. updating SlackBuild to version 0.20.18
In this case:
DOWNLOAD="https://www.musicpd.org/download/mpd/0.20/mpd-0.20.18.tar.xz"
MD5SUM="8dc87ba95473fd738f2aff9bd69cc212"
Cheers,
Edinaldo.
More information about the SlackBuilds-users
mailing list