[vlc-devel] Compilation error in upnp_intel.cpp

Pierre d'Herbemont pdherbemont at free.fr
Wed May 14 23:52:28 CEST 2008


Hi Gilles,

c7a3f593d20 should help here.

Thanks for the report!

Pierre.

On May 14, 2008, at 7:50 PM, Gilles Sabourin wrote:

> Hello,
>
>
> This is just to inform you about this error. I guess this has  
> happened since
> last 77bea3492049ad6989b04779d259fa27ed72a2e9 commit.
>
>
> g++ -DHAVE_CONFIG_H -I. -I../.. -DSYS_LINUX -I../../include -I../../ 
> include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE - 
> D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -D__PLUGIN__ - 
> DMODULE_NAME=upnp_intel -DMODULE_NAME_IS_upnp_intel -DMODULE_STRING= 
> \"upnp_intel\" -g -O0 -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:259: error: 'service_discovery_t' was not declared in  
> this
> scope
> upnp_intel.cpp:259: error: 'p_sd' was not declared in this scope
> upnp_intel.cpp:260: error: expected ',' or ';' before '{' token
> upnp_intel.cpp: In function 'int Open(vlc_object_t*)':
> upnp_intel.cpp:298: error: 'pl_Get' cannot be used as a function
> upnp_intel.cpp: In function 'void Close(vlc_object_t*)':
> upnp_intel.cpp:310: error: 'pl_Get' cannot be used as a function
> upnp_intel.cpp:312: error: 'pl_Get' cannot be used as a function
> upnp_intel.cpp:314: error: 'p_intf' was not declared in this scope
> upnp_intel.cpp: In destructor 'MediaServer::~MediaServer()':
> upnp_intel.cpp:630: error: 'pl_Get' cannot be used as a function
> upnp_intel.cpp: In member function 'void  
> MediaServer::fetchContents()':
> upnp_intel.cpp:764: error: 'pl_Get' cannot be used as a function
> upnp_intel.cpp: In member function 'void
> MediaServer::_buildPlaylist(Container*)':
> upnp_intel.cpp:858: error: 'pl_Get' cannot be used as a function
> upnp_intel.cpp: In member function 'bool
> MediaServerList::addServer(MediaServer*)':
> upnp_intel.cpp:928: error: 'pl_Get' cannot be used as a function
> make[4]: *** [libupnp_intel_plugin_la-upnp_intel.lo] Error 1
> make[4]: Leaving directory
> `/usr/src/packages/BUILD/vlc-beta-0.9.0/modules/services_discovery'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/usr/src/packages/BUILD/vlc-beta-0.9.0/modules/services_discovery'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-0.9.0/ 
> modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-0.9.0'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.28817 (%build)
>
> Best regards,
> Gilles
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel




More information about the vlc-devel mailing list