error make VLS

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.
handler
New Cone
New Cone
Posts: 1
Joined: 06 Feb 2009 14:32

error make VLS

Postby handler » 06 Feb 2009 15:30

OS - Fedora10
vls-0.5.6
# tar ...
# ./configure ... ok
global configuration
--------------------
system : linux-gnu
architecture : i686
debug : 0
profiling : 0

vls configuration
-----------------
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@server 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: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 <>’
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:82: error: there are no arguments to ‘dlopen’ that depend on a template parameter, so a declaration of ‘dlopen’ must be available
src/core/library.cpp:82: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
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: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

what I do wrong?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: error make VLS

Postby Jean-Baptiste Kempf » 06 Feb 2009 16:06

Don't use VLS! Use VLC instead.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mhrh
New Cone
New Cone
Posts: 1
Joined: 17 Aug 2009 14:57

Re: error make VLS

Postby mhrh » 17 Aug 2009 15:10

Hello

My problem in videolan is install vls .i use from linux(fedora 9 & fedora 11 ) for vls.
In section ./configure it was doing well.but when i write make it is sent an error.

[root@localhost vls-0.5.6]# make
dep/core/application.dpp:1: *** missing separator. Stop.
make: *** [dep/core/application.dpp] Error 2



I replace these 3 line at first 3 line of file(src/core/application) .

\src/core/application.o \
\:dep/core/application.d \:
src/core/application.cpp src/core/defs.h


but it is sent an error again.

[root@localhost 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:98:
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 <>’
In file included from src/core/application.cpp:114:
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:82: error: there are no arguments to ‘dlopen’ that depend on a template parameter, so a declaration of ‘dlopen’ must be available
src/core/library.cpp:82: note: (if you use ‘-fpermissive’, G++ will accept yourcode, but allowing the use of an undeclared name is deprecated)
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: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
In file included from src/core/application.cpp:114:
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


What can I do for solving this problem؟


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 18 guests