Page 1 of 1

what is the wrong with my installation?/

Posted: 26 Jul 2005 10:29
by joshua
-----------------
vls version : 0.5.6
debug mode : 0
system logging : 1
daemon mode :
built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput
plug-in modules : dvdreader

[root@vod1 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
src/core/serialization.h:43: warning: ‘class C_Serializable’ has virtual functions but non-virtual destructor
src/core/hashtable.h:66: error: an explicit specialization must be preceded by ‘template <>’
src/core/hashtable.h:79: error: an explicit specialization must be preceded by ‘template <>’
src/core/hashtable.h:92: error: an explicit specialization must be preceded by ‘template <>’
src/core/parsers.h:53: warning: ‘class C_ParserHandler’ has virtual functions but non-virtual destructor
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 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
[root@vod1 vls-0.5.6]#
[root@vod1 vls-0.5.6]#

someone pls help me check whats the problem is....
i am using fedora core 4

Posted: 26 Jul 2005 13:40
by The DJ
Are you using gcc4 by any chance?
Run "gcc --version" to be sure of that.

yes

Posted: 05 Jan 2006 16:46
by Ad4m
yes I use gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8), help me?

Posted: 06 Jan 2006 09:48
by fishinlove
you can use the old gcc fe: gcc32

Re: what is the wrong with my installation?/

Posted: 16 Mar 2006 12:04
by www
CC=/usr/bin/gcc32 CXX=/usr/bin/g++32 ./configure ......
-----------------
vls version : 0.5.6
debug mode : 0
system logging : 1
daemon mode :
built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput
plug-in modules : dvdreader

[root@vod1 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
src/core/serialization.h:43: warning: ‘class C_Serializable’ has virtual functions but non-virtual destructor
src/core/hashtable.h:66: error: an explicit specialization must be preceded by ‘template <>’
src/core/hashtable.h:79: error: an explicit specialization must be preceded by ‘template <>’
src/core/hashtable.h:92: error: an explicit specialization must be preceded by ‘template <>’
src/core/parsers.h:53: warning: ‘class C_ParserHandler’ has virtual functions but non-virtual destructor
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 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
[root@vod1 vls-0.5.6]#
[root@vod1 vls-0.5.6]#

someone pls help me check whats the problem is....
i am using fedora core 4

Re: what is the wrong with my installation?/

Posted: 16 Jun 2006 11:47
by sbecot
I've got the same build issue with gcc 3.4.3. (arm cpu)
Try the following patch :
http://lists.freebsd.org/pipermail/free ... 42903.html

Posted: 27 Jul 2006 17:33
by activity
hello I have this problem too !! i`m using slackware 10.2 how to check and make this problem ?

Posted: 27 Jul 2006 17:35
by activity
sorry the code is this:

Code: Select all

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 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