VLS make failed.
Posted: 25 Oct 2005 05:36
i want to use VLS-0.5.6 for streaming
configured followings...
./configure --with-dvbpsi-tree=../libdvbpsi3-0.1.4
or
./configure --with-dvbpsi-tree=../libdvbpsi3-0.1.4 --with-dvbpsi=../libdvbpsi3-0.1.4
and make,, but i can't completed,,,, following is error message,,, help me,,,
Compiling src/core/application.cpp...
g++ -I../libdvbpsi3-0.1.4/include -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:68: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:81: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:94: 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
== platform ==
Fedora core 3
gcc version : gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)g server..
configured followings...
./configure --with-dvbpsi-tree=../libdvbpsi3-0.1.4
or
./configure --with-dvbpsi-tree=../libdvbpsi3-0.1.4 --with-dvbpsi=../libdvbpsi3-0.1.4
and make,, but i can't completed,,,, following is error message,,, help me,,,
Compiling src/core/application.cpp...
g++ -I../libdvbpsi3-0.1.4/include -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:68: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:81: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:94: 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
== platform ==
Fedora core 3
gcc version : gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)g server..