[streaming] Problems Compiling vls
Steve Nelson
sanelson at gmail.com
Thu Apr 6 10:59:33 CEST 2006
Hello All,
Am trying to compile vls 0.5.6 on a Centos 4 machine. I've been
following the VideoLAN HowTo, and have installed the libraries
required:
# ls -ld /usr/local/src/libdv* | grep -v gz
drwxr-xr-x 2 sanelson users 4096 Apr 6 09:24 /usr/local/src/libdvb-0.2.2
drwxrwsrwx 8 1000 1000 4096 Apr 6 09:25 /usr/local/src/libdvbpsi3-0.1.4
drwxrwxrwx 7 1000 1000 4096 Apr 6 09:28 /usr/local/src/libdvdcss-1.2.8
drwxrwsrwx 4 6581 30099 4096 Apr 6 09:33 /usr/local/src/libdvdread-0.9.4
The vls configure script runs without complaint (I didn't specify any
options), but when I try to make:
[root at paddy vls-0.5.6]# make
Compiling src/core/application.cpp...
g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC
-DYY_NO_UNPUT -DSYSLOG -o obj/core/application.o -c
src/core/application.cpp
In file included from src/core/application.cpp:97:
src/core/hashtable.h:67: error: an explicit specialization must be
preceded by 'template <>'
src/core/hashtable.h:80: error: an explicit specialization must be
preceded by 'template <>'
src/core/hashtable.h:93: error: an explicit specialization must be
preceded by 'template <>'
In file included from src/core/application.cpp:113:
src/core/library.cpp: In member function `void C_Library<Type, Arg>::Load()':
src/core/library.cpp:82: error: `DL_LAZY' undeclared (first use this function)
src/core/library.cpp:82: error: (Each undeclared identifier is
reported only once for each function it appears in.)
src/core/library.cpp:93: error: there are no arguments to `dlsym' that
depend on a template parameter, so a declaration of `dlsym' must be
available
src/core/library.cpp:93: error: (if you use `-fpermissive', G++ will
accept your code, but allowing the use of an undeclared name is
deprecated)
src/core/library.cpp:110: error: there are no arguments to `dlsym'
that depend on a template parameter, so a declaration of `dlsym' must
be available
src/core/library.cpp: In member function `void C_Library<Type, Arg>::Unload()':
src/core/library.cpp:133: error: there are no arguments to `dlclose'
that depend on a template parameter, so a declaration of `dlclose'
must be available
src/core/library.cpp: In member function `C_String C_Library<Type,
Arg>::GetLoaderError()':
src/core/library.cpp:177: error: there are no arguments to `dlerror'
that depend on a template parameter, so a declaration of `dlerror'
must be available
make: *** [obj/core/application.o] Error 1
System is:
[root at paddy vls-0.5.6]# cat /etc/redhat-release
CentOS release 4.2 (Final)
[root at paddy vls-0.5.6]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
[root at paddy vls-0.5.6]# uname -a
Linux paddy 2.6.9-22.0.2.EL #1 Tue Jan 17 06:51:40 CST 2006 i686 i686
i386 GNU/Linux
Is there any more information I should provide?
I would appreciate guidance on what to do next, as I'm not a c/c++
programmer, I'm not entirely sure what the above output means, and how
to troubleshoot further.
Thanks in advance.
S.
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list