what is the wrong with my installation?/

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
joshua

what is the wrong with my installation?/

Postby joshua » 26 Jul 2005 10:29

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

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 26 Jul 2005 13:40

Are you using gcc4 by any chance?
Run "gcc --version" to be sure of that.
Don't use PMs for support questions.

Ad4m

yes

Postby Ad4m » 05 Jan 2006 16:46

yes I use gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8), help me?

fishinlove
Blank Cone
Blank Cone
Posts: 22
Joined: 04 Jan 2006 12:15

Postby fishinlove » 06 Jan 2006 09:48

you can use the old gcc fe: gcc32

www

Re: what is the wrong with my installation?/

Postby www » 16 Mar 2006 12:04

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

sbecot

Re: what is the wrong with my installation?/

Postby sbecot » 16 Jun 2006 11:47

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

activity

Postby activity » 27 Jul 2006 17:33

hello I have this problem too !! i`m using slackware 10.2 how to check and make this problem ?

activity

Postby activity » 27 Jul 2006 17:35

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


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 13 guests