[dvblast-devel] add stream pass-through from config file ('*')

Dan Lita dan.lita at b1tv.ro
Wed Jul 29 21:46:04 CEST 2015


On 7/29/2015 10:22 PM, Christophe Massiot wrote:
> Hello,
>
>> On 29 Jul 2015, at 11:50, Dan Lita <dan.lita at b1tv.ro> wrote:
>>
>> Dear Cristophe Massiot,
>>
>> I've tried to compile dvblast 3.0 with libev on Centos 6 and Centos 7.
>> On Centos 6 with libev-devel-4.04-2.el6.x86_64 it fails to compile.
>> with libev-4.20 installed from source it compiles but with warnings.
> The authors of libev have stated for years that the strict-aliasing warnings were bogus. For instance:
> http://www.mail-archive.com/libev@lists.schmorp.de/msg02466.html
>
> Personally I have no opinion as it is a very complex subject. Anyway they aren’t related to DVBlast code, but to libev headers.
>
> Regarding the compilation error with older libev version, please paste the logs of the compiler.
>
> Regards,
> _______________________________________________
> dvblast-devel mailing list
> dvblast-devel at videolan.org
> https://mailman.videolan.org/listinfo/dvblast-devel
>
Compilation error log on

CentOS release 6.6 (Final)

[root at s58 dvblast]# uname -r
2.6.32-504.30.3.el6.x86_64

libev from:

http://dl.atrpms.net/el6-x86_64/atrpms/stable/libev-4.04-2.el6.x86_64.rpm
http://dl.atrpms.net/el6-x86_64/atrpms/stable/libev-devel-4.04-2.el6.x86_64.rpm


[root at s58 dvblast]# make
CC      dvblast.c
dvblast.c:41:16: error: ev.h: No such file or directory
dvblast.c:538: warning: ‘struct ev_signal’ declared inside parameter list
dvblast.c: In function ‘signal_watcher_init’:
dvblast.c:540: warning: implicit declaration of function ‘ev_signal_init’
dvblast.c:541: warning: implicit declaration of function ‘ev_signal_start’
dvblast.c:542: warning: implicit declaration of function ‘ev_unref’
dvblast.c: At top level:
dvblast.c:545: warning: ‘struct ev_signal’ declared inside parameter list
dvblast.c: In function ‘sighandler’:
dvblast.c:547: error: dereferencing pointer to incomplete type
dvblast.c:553: warning: implicit declaration of function ‘ev_break’
dvblast.c:553: error: ‘EVBREAK_ALL’ undeclared (first use in this function)
dvblast.c:553: error: (Each undeclared identifier is reported only once
dvblast.c:553: error: for each function it appears in.)
dvblast.c: At top level:
dvblast.c:566: warning: ‘struct ev_timer’ declared inside parameter list
dvblast.c: In function ‘quit_cb’:
dvblast.c:568: error: ‘EVBREAK_ALL’ undeclared (first use in this function)
dvblast.c: In function ‘main’:
dvblast.c:694: error: storage size of ‘sigint_watcher’ isn’t known
dvblast.c:694: error: storage size of ‘sigterm_watcher’ isn’t known
dvblast.c:694: error: storage size of ‘sighup_watcher’ isn’t known
dvblast.c:695: error: storage size of ‘quit_watcher’ isn’t known
dvblast.c:697: error: ‘EV_DEFAULT’ undeclared (first use in this function)
dvblast.c:1183: warning: passing argument 3 of ‘signal_watcher_init’ 
from incompatible pointer type
dvblast.c:536: note: expected ‘void (*)(struct ev_loop *, struct 
ev_signal *, int)’ but argument is of type ‘void (*)(struct ev_loop *, 
struct ev_signal *, int)’
dvblast.c:1184: warning: passing argument 3 of ‘signal_watcher_init’ 
from incompatible pointer type
dvblast.c:536: note: expected ‘void (*)(struct ev_loop *, struct 
ev_signal *, int)’ but argument is of type ‘void (*)(struct ev_loop *, 
struct ev_signal *, int)’
dvblast.c:1185: warning: passing argument 3 of ‘signal_watcher_init’ 
from incompatible pointer type
dvblast.c:536: note: expected ‘void (*)(struct ev_loop *, struct 
ev_signal *, int)’ but argument is of type ‘void (*)(struct ev_loop *, 
struct ev_signal *, int)’
dvblast.c:1213: warning: implicit declaration of function ‘ev_timer_init’
dvblast.c:1215: warning: implicit declaration of function ‘ev_timer_start’
dvblast.c:1220: warning: implicit declaration of function ‘ev_run’
dvblast.c:695: warning: unused variable ‘quit_watcher’
dvblast.c:694: warning: unused variable ‘sighup_watcher’
dvblast.c:694: warning: unused variable ‘sigterm_watcher’
dvblast.c:694: warning: unused variable ‘sigint_watcher’
make: *** [dvblast.o] Error 1
[root at s58 dvblast]#


[root at s58 dvblast]# locate ev.h
...
/usr/include/libev/ev.h
...


Dan


More information about the dvblast-devel mailing list