VLS make failed.

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

VLS make failed.

Postby vls_ » 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..

Guest

Postby Guest » 29 Dec 2005 12:05

FC4
gcc 4.0.2
I have this problem too...
Tell how to solve this problem???


Thanks...

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 29 Dec 2005 22:04

Are sure that you really need to use VLS. VLC got almost the same streaming capabilities as VLS, but on the contrary to is, it is maintained and compiles on all major platforms without any problems.
VLS wasn't maintained for at least 2 years now, so it wasn't ported to updated libraries and most importantly to GCC 4.0.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

Postby Guest » 06 Jan 2006 00:08

2006-01-06 01:13:35 [DEBUG/dvb1] In ts2ts.cpp line 134 -> Starting to read program "Input DVB dvb1"
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0)

New PAT
transport_stream_id : 15
version_number : 11
| program_number @ [NIT|PMT]_PID
| 0 @ 0x10 (16)
| 6500 @ 0x1964 (6500)
| 6510 @ 0x196e (6510)
| 6520 @ 0x1978 (6520)
| 6530 @ 0x1982 (6530)
| 6550 @ 0x1996 (6550)
active : 1

Deleted programs

Added programs
| 0 @ 0x10 (16)
| 6500 @ 0x1964 (6500)
| 6510 @ 0x196e (6510)
| 6520 @ 0x1978 (6520)
| 6530 @ 0x1982 (6530)
| 6550 @ 0x1996 (6550)
2006-01-06 01:13:35 [DEBUG/dvb1] In dvbinput.cpp line 343 -> Demux filter n1 type: 0 set for PID 6530
2006-01-06 01:13:35 [DEBUG/Vls] In src/server/manager.cpp line 486 -> Manager unlocked
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0)
2006-01-06 01:13:35 [DEBUG/dvb1] In dvbinput.cpp line 343 -> Demux filter n2 type: 2 set for PID 6531
2006-01-06 01:13:35 [DEBUG/dvb1] In dvbinput.cpp line 343 -> Demux filter n3 type: 4 set for PID 6532
2006-01-06 01:13:35 [DEBUG/dvb1] In dvbinput.cpp line 343 -> Demux filter n4 type: 6 set for PID 6536
________________________________________________________________

libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Where to search for a problem

What not so in libdvbpsi???

Guest

Postby Guest » 06 Jan 2006 00:16

SORRY...
i mean vls
because it is impossible to use vlc...

can you assist me with streaming & vlc?

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 06 Jan 2006 17:19

We can assist you there, but we need you to explain your needs a bit more precisely (input type, way of streaming, platform, used codecs, etc.). Additionally, I would like to recommend you to read VLC's streaming howto first.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

Postby Guest » 10 Jan 2006 20:05

vls - srart streaming!!!! %))

but some channels which have some audio of streams have periodic breakage...

When I set static VPID & APID in /root/.dvbrc file situation not changed...

When it can be???

For earlier thanks!!!!!!!!!

Gast

make failed

Postby Gast » 29 Jan 2006 20:43

i'd like to install vls on suse 10.0. i already tested vls on wind**s sucessfully. as accessing files remotely from dbox works great (intergrated in all ^betanova images ;-) ) this would be the preferred solution.
as far i know, all dependencies are resolved - vlc itself works/streams fine over http.

in advance i'd like to apologise for any newby errors made on "make"!

hardware: compaq AP550 (2xPIII@866, 512 MB-Rimm, 400GB SATA-Raid0)
plattform: OSS SuSE Linux 10.0
vlc: 0.8.4a
vls: 0.5.6

following the vls "install-guide" on videolan.org

result for "./configure --disable-syslog --disable-dvd":
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether byte ordering is bigendian... no
checking for gettimeofday... yes
checking for select... yes
checking for strerror... yes
checking for strtol... yes
checking for opendir... yes
checking for usleep... yes
checking for sigaction... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for dlopen in -ldl... yes
checking for crypt in -lcrypt... yes
checking for connect... yes
checking for gethostbyname... yes
checking for sem_post... no
checking for sem_post in -lposix4... no
checking for nanosleep... yes
checking for pthread_attr_init in -lpthread... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for strings.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for getopt_long... yes
checking for socklen_t... yes
checking for inet_pton... yes
checking for sockaddr_in6 in netinet/in.h... yes
checking whether setsockopt accepts SO_BINDTODEVICE... no
checking if $CXX accepts -shared... yes
checking if $CXX accepts -bundle -undefined error -lcc_dynamic... no
checking if $CXX accepts -rdynamic... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking dvbpsi/dvbpsi.h usability... yes
checking dvbpsi/dvbpsi.h presence... yes
checking for dvbpsi/dvbpsi.h... yes
configure: creating ./config.status
config.status: creating Makefile.opts
config.status: creating src/server/config.h
config.status: creating src/core/defs.h
config.status: src/core/defs.h is unchanged

global configuration
--------------------
system : linux-gnu
architecture : i686
debug : 0
profiling : 0

vls configuration
-----------------
vls version : 0.5.6
debug mode : 0
system logging : 0
daemon mode :
built-in modules : filechannel netchannel filereader ts2ts ps2ts localinput videoinput
plug-in modules :


result for "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 -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


as developement has been stopped - maybe someone knows if there are similar solutions i could use with my dbox?

Albert

vls 0.5.6 patch

Postby Albert » 30 Jan 2006 15:48

Hi, for VLS 0.5.6 compilation try to use this patch from neoclust[mandriva.org]

http://natur.cuni.cz/~kuda/howtos/aver771dvb-t.html#vls

Albert

wimille

Postby wimille » 07 Feb 2006 11:58

Hi,
i've the same problem on cygwin, for install vls.

Someone have a success installation?

guest (MrExNice1979)

need help, vls, please!!!

Postby guest (MrExNice1979) » 06 Apr 2006 16:28

i had several problems with insatlling vls.

My last error (after installing vls and try to start vls) was like this:

mlinek@pc10251:~/vls-0.5.6$ vls
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Abgebrochen



Where is the problem??
I really like to work with vls, but as a newbie it is really hard.
I work on vls/vlc for 3 months every day. To stream with vlc (http) is really easy and good.
But I really want to run a video lan server, and furthermore i want to do something with video on demand, which isn´t so hard for me, cos i like to develop webpages.
But who can help me with the vls?

manic monday

Postby manic monday » 10 Apr 2006 17:27

i think you have to less space/memory for the program, :?

but I´m not sure.:oops:

But I´m interested in solving the problem.
Does anybody knows anything else about the error message "what(): St9bad_alloc"
?? or anything about a solution, guys..
:roll:

wid kind regards, rock on


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 60 guests