Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70653 - vlc-0.8.0 fails to compile in slp.c
Summary: vlc-0.8.0 fails to compile in slp.c
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 03:43 UTC by Stuart Shelton
Modified: 2005-04-18 16:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2004-11-10 03:43:43 UTC
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
Comment 1 Stuart Shelton 2004-11-10 04:43:50 UTC
Invoking emerge with USE="-slp" allowed this build to succeed - so is the slp option missing a dependancy?
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-10 09:24:53 UTC
slp worked fine for me on 0.7.2-r1.
Comment 3 Luca Barbato gentoo-dev 2004-11-10 11:24:54 UTC
Which version of openslp you have installed?
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-10 11:52:14 UTC
net-libs/openslp-1.0.11 -- the only version that's ever been installed on this computer.
Comment 5 Luca Barbato gentoo-dev 2004-11-10 13:58:02 UTC
reproduced.
Looks like that we should add the 1.1.x openslp in portage =/
Comment 6 Paul Giordano 2004-11-11 04:13:23 UTC
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.
Comment 7 Luca Barbato gentoo-dev 2004-11-11 09:20:05 UTC
please add the url there.
For now I'd remove that feature
Comment 8 Derk-Jan Hartman 2005-04-14 08:31:35 UTC
slp should be disabled. the module is unmaintained and highly buggy.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 16:28:27 UTC
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.