Page 1 of 1

Help compile vlc on SUSE 11.3

Posted: 03 Feb 2011 10:49
by neodiz
Sorry my bad English.
Installed vlc from source on Suse 11.3 64 and error output
./configure --prefix=/usr/local --enable-run-as-root --disable-optimizations --enable-live555 --with-live555-tree=/usr/lib64/live/ --disable-dvbpsi --disable-dv --disable-dvb --disable-nls --disable-mozilla --disable-postproc --disable-dbus --disable-mad --disable-swscale --disable-glx --disable-fribidi --disable-lua --disable-qt4 --disable-skins2 --enable-x264 --disable-goom --disable-osso_screensaver --without-x --disable-xcb --disable-xvideo --disable-xosd --disable-opengl --disable-glx
Warning in to console
configure: WARNING: Library libraw1394 >= 2.0.1 libdc1394-2 >= 2.1.0 needed for dc1394 was not found
configure: WARNING: Not building Roku HD1000 compatible video output
configure: WARNING: Not building Roku HD1000 compatible video output
configure: WARNING: libprojectM library not found
if make
Run the command make and output ERROR

make[4]: Entering directory `/tmp/vlc-1.1.6/modules/services_discovery'
CC libbonjour_plugin_la-bonjour.lo
CCLD libbonjour_plugin.la
CC libmtp_plugin_la-mtp.lo
mtp.c: In function ‘Run’:
mtp.c:131:14: warning: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
mtp.c:168:13: warning: call to ‘harmful_delay’ declared with attribute warning: use proper event handling instead of short delay
CCLD libmtp_plugin.la
CC libudev_plugin_la-udev.lo
CCLD libudev_plugin.la
CXX libupnp_intel_plugin_la-upnp_intel.lo
upnp_intel.cpp: In member function ‘void MediaServer::_buildPlaylist(Container*, input_item_node_t*)’:
upnp_intel.cpp:816:30: error: ‘assert’ was not declared in this scope
make[4]: *** [libupnp_intel_plugin_la-upnp_intel.lo] Ошибка 1
make[4]: Leaving directory `/tmp/vlc-1.1.6/modules/services_discovery'
make[3]: *** [all] Ошибка 2
make[3]: Leaving directory `/tmp/vlc-1.1.6/modules/services_discovery'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/tmp/vlc-1.1.6/modules'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/tmp/vlc-1.1.6'


Help please.

Re: Help compile vlc on SUSE 11.3

Posted: 03 Feb 2011 16:46
by Jean-Baptiste Kempf
Add an #include <assert.h> at the top of the upnp_intel.cpp file.