Re: vdr 2.1.2 segfaults in libc using vdr --genindex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried the attached patches. Most of them ended with errors, see below.

-----------------------------------------------------
root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch -N ./Makefile debian.patch
patching file ./Makefile
Hunk #1 FAILED at 343.
1 out of 1 hunk FAILED -- saving rejects to file ./Makefile.rej
root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput#


root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# ls -l xine_frontend.c
-rw-r--r-- 1 vdr users 59823 Aug 20  2013 xine_frontend.c
---------------------------------------------------
root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch -N ./xine_frontend.c ./xineliboutput-dfatmo-switch
patching file ./xine_frontend.c
Hunk #1 succeeded at 1439 (offset 2 lines).
patching file ./xine_frontend.c
Hunk #1 FAILED at 455.
1 out of 1 hunk FAILED -- saving rejects to file ./xine_frontend.c.rej
patching file ./xine_frontend.c
Hunk #1 succeeded at 401 with fuzz 2 (offset 178 lines).
Hunk #2 succeeded at 1107 with fuzz 2 (offset 807 lines).
patching file ./xine_frontend.c
Hunk #1 FAILED at 218.
1 out of 1 hunk FAILED -- saving rejects to file ./xine_frontend.c.rej
---------------------------------------------
root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# patch ./config.c ./truecolor.diff
patching file ./config.c
Hunk #1 succeeded at 737 (offset -4 lines).
Hunk #2 succeeded at 760 (offset -4 lines).
Hunk #3 succeeded at 778 (offset -4 lines).
Hunk #4 succeeded at 898 (offset -4 lines).
patching file ./config.c
Hunk #1 FAILED at 294.
1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej
patching file ./config.c
Hunk #1 FAILED at 783.
1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej
patching file ./config.c
Hunk #1 FAILED at 160.
1 out of 1 hunk FAILED -- saving rejects to file ./config.c.rej
------------------------------------
root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput/xine# patch ./xvdr_metronom.c ./fix-segfault.patch
patching file ./xvdr_metronom.c
-----------------------------------
xine_frontend_cec.c does not exist (twice), at least I could not find it
------------------------------
compiling with make failed:
root@amd8:/usr/local/src/vdr-2.2.0/PLUGINS/src/xineliboutput# make
Makefile:109: Building inside VDR source tree
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xineliboutput"' -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DXINELIBOUTPUT_VERSION='"1.1.0"' -Wall -I../../../include -o xineliboutput.o xineliboutput.c xineliboutput.c: In member function ‘virtual bool cPluginXinelibOutput::Service(const char*, void*)’:
xineliboutput.c:295:22: error: ‘str’ was not declared in this scope
     if (!strncasecmp(str, "DFATMOENABLED", 13)) {
                      ^
xineliboutput.c:296:7: error: ‘fe’ was not declared in this scope
       fe->send_event(fe, str);
       ^
xineliboutput.c:297:7: error: continue statement not within a loop
       continue;
       ^
xineliboutput.c:299:22: error: ‘str’ was not declared in this scope
     if (!strncasecmp(str, "DFATMOENABLED", 13)) {
                      ^
xineliboutput.c:300:7: error: ‘fe’ was not declared in this scope
       fe->send_event(fe, str);
       ^
xineliboutput.c:301:7: error: continue statement not within a loop
       continue;
       ^
make: *** [xineliboutput.o] Fehler 1
----------------------------------------------
Did I make any mistakes? The version of the plugin is xineliboutput-1.1.0.
Are the patches for an other version of VDR? What do I do now? Any ideas?
G.Bruno

Am 14.02.2016 um 12:56 schrieb Lars Hanisch:
Hi,

Am 14.02.2016 um 11:18 schrieb g.bruno:
Hallo Klaus,

I already tried VDR version 2.2.0, but it does not run, because the VDR-plugin-xineliboutput is missing for this
Version. The Version I used with VDR 2.1.2 does not compile.

  Have you tried the latest commits from:
  git clone git://projects.vdr-developer.org/xineliboutput.git

  It's better to fix xineliboutput as to work with old vdr versions. :)
  If you have problems with compiling xineliboutput, please ask.

  At yavdr we use some patches to compile it with recent libcec versions. They are attached, look at the series files for
the order of the patches.

Lars.



_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux