vlc-0.8.0 fails to compile with errors thrown from slp.c: # ACCEPT_KEYWORDS="~x86" emerge -pv vlc [ebuild U ] media-video/vlc-0.8.0 [0.7.2-r1] -3dfx +X +aalib +alsa (-altivec) +arts -bidi -debug +dts -dvb +dvd +esd +faad +fbcon +ggi +gnome +gtk +imlib -lirc +matroska +mozilla +ncurses +nls +oggvorbis +oss +png +sdl +slp +speex +svga +theora +truetype +v4l +wxwindows +xosd +xv 0 kB ... if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin slp` -Wsign-compare -Wall -O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe -pipe -MT libslp_plugin_a-slp.o -MD -MP -MF ".deps/libslp_plugin_a-slp.Tpo" \ -c -o libslp_plugin_a-slp.o `test -f 'slp.c' || echo './'`slp.c; \ then mv -f ".deps/libslp_plugin_a-slp.Tpo" ".deps/libslp_plugin_a-slp.Po"; \ else rm -f ".deps/libslp_plugin_a-slp.Tpo"; exit 1; \ fi slp.c: In function `Open': slp.c:364: error: structure has no member named `psz_demux' slp.c:364: error: structure has no member named `psz_demux' slp.c:366: error: structure has no member named `psz_demux' slp.c:369: error: structure has no member named `pf_read' slp.c:370: error: structure has no member named `pf_set_program' slp.c:371: error: structure has no member named `pf_set_area' slp.c:372: error: structure has no member named `pf_seek' slp.c:374: error: structure has no member named `stream' slp.c:375: error: structure has no member named `stream' slp.c:376: error: structure has no member named `stream' slp.c:377: error: structure has no member named `stream' slp.c:378: error: structure has no member named `stream' slp.c:379: error: structure has no member named `stream' slp.c:379: error: `INPUT_METHOD_SLP' undeclared (first use in this function) slp.c:379: error: (Each undeclared identifier is reported only once slp.c:379: error: for each function it appears in.) slp.c:380: error: structure has no member named `stream' slp.c:381: error: structure has no member named `i_mtu' slp.c: In function `Init': slp.c:410: error: structure has no member named `stream' slp.c:410: error: `INPUT_METHOD_SLP' undeclared (first use in this function) slp.c:415: error: structure has no member named `pf_demux' slp.c:416: error: structure has no member named `pf_demux_control' slp.c:416: error: `demux_vaControlDefault' undeclared (first use in this function) slp.c:417: error: structure has no member named `pf_rewind' make[4]: *** [libslp_plugin_a-slp.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/vlc-0.8.0/work/vlc-0.8.0/modules/access' make[3]: *** [all-modules] Error 1 make[3]: Leaving directory `/var/tmp/portage/vlc-0.8.0/work/vlc-0.8.0/modules/access' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.0/work/vlc-0.8.0/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.0/work/vlc-0.8.0' make: *** [all] Error 2 !!! ERROR: media-video/vlc-0.8.0 failed. !!! Function src_compile, Line 190, Exitcode 2
Invoking emerge with USE="-slp" allowed this build to succeed - so is the slp option missing a dependancy?
slp worked fine for me on 0.7.2-r1.
Which version of openslp you have installed?
net-libs/openslp-1.0.11 -- the only version that's ever been installed on this computer.
reproduced. Looks like that we should add the 1.1.x openslp in portage =/
Nope - tried with openslp 1.1.5, still no-go. The problem is in vlc itself - apparently some rework deleted input_ext-intf.h (was created at change 3223) and slp.c was never updated to the changes. Posted bug 1920 to the VLC group.
please add the url there. For now I'd remove that feature
slp should be disabled. the module is unmaintained and highly buggy.
Seems like neither current subversion code of vlc fixes this, so I don't think we can do anything that disable this until upstream finds a way to make it working.