[vlc-devel] problems compiling with VLM disabled

Nicholas J Humfrey njh at aelius.com
Tue Jul 1 00:20:06 CEST 2008


Hello,

I am trying to use compile VLC as a command-line audio player, but I  
am having problems compiling the current version in git without VLM.  
The last version I check out (sometime in May) didn't have this  
problem. Is this a known problem? Should I report it as a defect on  
trac?

Thanks,

nick.



./configure \
  --disable-vlm \
  --disable-sout \
  --disable-httpd \
  --disable-qt4 \
  --disable-skins2 \
  --disable-postproc \
  --disable-glx



if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I..   -DSYS_LINUX -I../ 
include -I../include `top_builddir=".." ../vlc-config --cflags vlc` - 
Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function- 
cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile- 
register-var -MT vlc-vlc.o -MD -MP -MF ".deps/vlc-vlc.Tpo" -c -o vlc- 
vlc.o `test -f 'vlc.c' || echo './'`vlc.c; \
	then mv -f ".deps/vlc-vlc.Tpo" ".deps/vlc-vlc.Po"; else rm -f ".deps/ 
vlc-vlc.Tpo"; exit 1; fi
vlc.c: In function ‘main’:
vlc.c:140: warning: ‘libvlc_playlist_play’ is deprecated (declared  
at ../include/vlc/deprecated.h:97)
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -Wextra - 
Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align  
-Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -no- 
undefined -no-install -o vlc vlc-vlc.o libvlc.la libvlccore.la
gcc -std=gnu99 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith - 
Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes - 
Wvolatile-register-var -o vlc vlc-vlc.o  ./.libs/libvlc.so ./.libs/ 
libvlccore.so -Wl,--rpath -Wl,/home/njh/Projects//vlc/src/.libs -Wl,-- 
rpath -Wl,/usr/local/lib
./.libs/libvlc.so: undefined reference to `vlm_Delete'
./.libs/libvlc.so: undefined reference to `vlm_Control'
collect2: ld returned 1 exit status
make[3]: *** [vlc] Error 1
make[3]: Leaving directory `/home/njh/Projects/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/njh/Projects/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/njh/Projects/vlc'
make: *** [all] Error 2






More information about the vlc-devel mailing list