vlc 0.9 svn #22584 - service discovery compilation error

*nix specific usage questions
gibus92
Blank Cone
Blank Cone
Posts: 66
Joined: 10 Apr 2006 16:09
Location: Antony, France
Contact:

vlc 0.9 svn #22584 - service discovery compilation error

Postby gibus92 » 13 Oct 2007 02:09

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
Last edited by gibus92 on 15 Oct 2007 00:31, edited 1 time in total.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

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

Postby funman » 13 Oct 2007 14:50

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

gibus92
Blank Cone
Blank Cone
Posts: 66
Joined: 10 Apr 2006 16:09
Location: Antony, France
Contact:

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

Postby gibus92 » 15 Oct 2007 00:30

revision #22521 for services discovery does compile!

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

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

Postby funman » 15 Oct 2007 00:53

cool i reverted it


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests