Page 1 of 1

vlc 0.9 svn #22584 - service discovery compilation error

Posted: 13 Oct 2007 02:09
by gibus92
Since last 10/11/07 last service discovery code updates [svn #22534 to svn #22543], vlc source does not compile. I am using latest libupnp 1.6.0 (same problem with older 1.3.1).

Here are the traces :

gcc -std=gnu99 -shared .libs/libshout_plugin_la-shout.o -Wl,--rpath -Wl,/home/gilles/vlc-0.9.0/src/.libs -L/usr/lib64 -lpthread -L/home/gilles/vlc-0.9.0/src /home/gilles/vlc-0.9.0/src/.libs/libvlc.so -Wl,-soname -Wl,libshout_plugin.so -o .libs/libshout_plugin.so
creating libshout_plugin.la
(cd .libs && rm -f libshout_plugin.la && ln -s ../libshout_plugin.la libshout_plugin.la)
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cxxflags plugin upnp_intel` -g -O2 -MT libupnp_intel_plugin_la-upnp_intel.lo -MD -MP -MF .deps/libupnp_intel_plugin_la-upnp_intel.Tpo -c -o libupnp_intel_plugin_la-upnp_intel.lo `test -f 'upnp_intel.cpp' || echo './'`upnp_intel.cpp
g++ -DHAVE_CONFIG_H -I. -I../.. -DSYS_LINUX -I../../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib64/vlc\" -DDEBUG -DHAVE_RELEASE -O0 -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=upnp_intel -DMODULE_NAME_IS_upnp_intel -g -g -O2 -MT libupnp_intel_plugin_la-upnp_intel.lo -MD -MP -MF .deps/libupnp_intel_plugin_la-upnp_intel.Tpo -c upnp_intel.cpp -fPIC -DPIC -o .libs/libupnp_intel_plugin_la-upnp_intel.o
upnp_intel.cpp: In member function 'bool MediaServerList::addServer(MediaServer*)':
upnp_intel.cpp:895: error: 'struct services_discovery_t' has no member named 'p_cat'
make[4]: *** [libupnp_intel_plugin_la-upnp_intel.lo] Erreur 1
make[4]: quittant le répertoire « /home/gilles/vlc-0.9.0/modules/services_discovery »
make[3]: *** [all-modules] Erreur 1
make[3]: quittant le répertoire « /home/gilles/vlc-0.9.0/modules/services_discovery »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/gilles/vlc-0.9.0/modules »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/gilles/vlc-0.9.0 »
make: *** [all] Erreur 2

Re: vlc 0.9 svn #22584 - service discovry compilation error

Posted: 13 Oct 2007 14:50
by funman
It's due to recent changes in services_discovery, that were reverted, can you try the previous revision:

cd modules/services_discovery
svn merge -c -22521 svn://svn.videolan.org/vlc/trunk/modules/services_discovery/upnp_intel.cpp

Re: vlc 0.9 svn #22584 - service discovery compilation error

Posted: 15 Oct 2007 00:30
by gibus92
revision #22521 for services discovery does compile!

Re: vlc 0.9 svn #22584 - service discovery compilation error

Posted: 15 Oct 2007 00:53
by funman
cool i reverted it