Hi,
On Mac OSX 10.5.5., I get the same error with vlc 0.9.8a and vlc from git:
upnp_cc.cpp: In member function 'playlist_item_t* UPnPHandler::FindDeviceNode(CyberLink::Device*)':
upnp_cc.cpp:89: error: 'struct services_discovery_t' has no member named 'p_cat'
upnp_cc.cpp: In member function 'playlist_item_t* UPnPHandler::AddDevice(CyberLink::Device*)':
upnp_cc.cpp:170: error: 'p_playlist' was not declared in this scope
upnp_cc.cpp:170: error: 'struct services_discovery_t' has no member named 'p_cat'
upnp_cc.cpp: In member function 'void UPnPHandler::AddContent(playlist_item_t*, CyberLink::ContentNode*)':
upnp_cc.cpp:204: error: 'p_playlist' was not declared in this scope
upnp_cc.cpp:213: error: 'p_playlist' was not declared in this scope
upnp_cc.cpp: In member function 'void UPnPHandler::RemoveDevice(CyberLink::Device*)':
upnp_cc.cpp:230: error: 'p_playlist' was not declared in this scope
make[4]: *** [libupnp_cc_plugin_la-upnp_cc.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
#################
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/Users/yonas/ffmpeg-darwin/lib/pkgconfig:/Users/yonas/fribidi-osx/lib/pkgconfig
export CPPFLAGS="-I/Users/yonas/libupnp-install-local/include -I/Users/yonas/xercesc-2.8.0-darwin/include"
export LDFLAGS="-L/Users/yonas/xercesc-2.8.0-darwin/lib"
./configure --prefix=/Users/yonas/vlc-install-macosx --disable-mad --with-faad-tree=/Users/yonas/faad2 --with-twolame-tree=/Users/yonas/twolame-0.3.12 --disable-a52 --disable-theora --disable-hal --disable-libmpeg2 --disable-remoteosd --disable-update-check --disable-gnutls --disable-libgcrypt --enable-cyberlink --with-cyberlink-tree=/Users/yonas/CyberLink
I also needed to change this line in configure file:
63299 for l in "-lexpat -lxerces-c -liconv" "`xml2-config --libs`" ; do
which puts -lxerces-c before xml2-config, and adds -liconv. The test scripts will fail to compile otherwise.