Page 1 of 1

VLS INSTALL ERROR

Posted: 02 Apr 2007 22:35
by ckwong
Os CentOS4.4
When I install VLS I found below error
*************************************
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' was not declared in this scope
src/core/library.cpp:93: error: there are no arguments to `dlsym' that depend on a template parameter, so a declaratio n 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 unde clared name is deprecated)
src/core/library.cpp:110: error: there are no arguments to `dlsym' that depend on a template parameter, so a declarati on 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 declara tion 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 declara tion of `dlerror' must be available
make: *** [obj/core/application.o] Error 1
*************************************
Who have idea to about this error

Posted: 03 Apr 2007 00:13
by dionoea
Check this forum, someone posted a patch to fix compilation issues with newer version of g++.