Hallo !
Aktuell ist "nur" gcc 7.5.0 installiert, aber es gibt die Möglichkeit auch Version 11 zu installieren.
Muß ich mal auf einer Testkiste ausprobieren.
Wird aber dauern.
Melde mich wieder.
Grüße,
Dirk
Hallo !
Aktuell ist "nur" gcc 7.5.0 installiert, aber es gibt die Möglichkeit auch Version 11 zu installieren.
Muß ich mal auf einer Testkiste ausprobieren.
Wird aber dauern.
Melde mich wieder.
Grüße,
Dirk
Hi !
Bei mir mit vdr 2.4.8 und openSUSE Leap 15.4 bricht der Compile ab:
...
In file included from tvscraper.c:29:0:
tools/filesystem.c:7:10: fatal error: filesystem: Datei oder Verzeichnis nicht gefunden
#include <filesystem>
^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:73: tvscraper.o] Fehler 1
...
Grüße,
Dirk
Hallo !
Problem hat sich dank eines Tipps per Mail erledigt:
https://stackoverflow.com/ques…ble-is-probably-corrupted
Grüße,
Dirk
Hi !
Nach dem Update der Leap-Version 15.3 auf 15.4 habe ich Probleme mit
epg2vdr, obwohl angeblich laut rpm die mariadb-Version mit 3.1.13
gleich geblieben ist.
Auch an der vdr-Version habe ich mit 2.4.8 nichts geändert.
Ich nutze die git-Version von vdr-epg-daemon sowie dem vdr-Plugin.
Es gibt folgende Fehlermeldungen (siehe den Anhang), die auch nach einem
epgd-dropall beim ersten Starten vom Daemon kommen:
Jun 13 14:21:04 pcmisch epgd[1324]: Trying to re-connect to database!
Jun 13 14:21:04 pcmisch epgd[1324]: Calling mysql_init(1324)
Jun 13 14:21:04 pcmisch epgd[1324]: Loading '/etc/epgd/channelmap.conf'
Jun 13 14:21:04 pcmisch epgd[1324]: 103 channel mappings read.
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show procedure status where name = 'mergeepg']
Jun 13 14:21:04 pcmisch epgd[1324]: Procedure check of 'mergeepg' failed
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show procedure status where name = 'mergeepg']
Jun 13 14:21:04 pcmisch epgd[1324]: Procedure check of 'mergeepg' failed
Jun 13 14:21:04 pcmisch epgd[1324]: Creating procedure 'mergeepg'
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'CREATE PROCEDURE mergeepg ()$BEGIN$/*$* declare variables$*/$DECLARE startrun INT;$DECLARE lastrun INT;$/*$* configure merge$*/$set @epi ='a';$set @img ='b';$set @sht ='';$/*$* fix useid = 0$*/$update events set useid = masterid where useid = 0;$/*$* cleanup deleted Links$*/$update$ events e$set$ e.useid = e.masterid,$ e.updsp>
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'executeSqlFile()' - Cannot load from mysql.proc. The table is probably corrupted (1728)
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show procedure status where name = 'reverseepg']
Jun 13 14:21:04 pcmisch epgd[1324]: Procedure check of 'reverseepg' failed
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show procedure status where name = 'reverseepg']
Jun 13 14:21:04 pcmisch epgd[1324]: Procedure check of 'reverseepg' failed
Jun 13 14:21:04 pcmisch epgd[1324]: Creating procedure 'reverseepg'
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'CREATE PROCEDURE reverseepg ()$BEGIN$/*$* channelmap zurücksetzen$*/$update channelmap set mergesp = 0;$/*$* events zurücksetzen Teil 1$*/$update$ events ev,$ (select distinct channelid from channelmap where source <> 'vdr' ) cm$set$ useid = masterid,$ updflg =$ case$ when ev.delflg = 'Y' then 'D'$ else 'I'$ end$wher>
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'executeSqlFile()' - Cannot load from mysql.proc. The table is probably corrupted (1728)
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show function status where name = 'getupdflg']
Jun 13 14:21:04 pcmisch epgd[1324]: Function check of 'getupdflg' failed
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show function status where name = 'getupdflg']
Jun 13 14:21:04 pcmisch epgd[1324]: Function check of 'getupdflg' failed
Jun 13 14:21:04 pcmisch epgd[1324]: Creating function 'getupdflg'
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'CREATE FUNCTION getupdflg ( master_id INT(11) )$RETURNS CHAR$NOT DETERMINISTIC$BEGIN$DECLARE upd_flg CHAR;$ SET upd_flg = ($ select case$ when ev.source != 'vdr' and ev.starttime <= cm.mergesp and ev.masterid != ev.useid then 'C'$ when ev.source != 'vdr' and ev.starttime <= cm.mergesp and jo.masterid is not Null then >
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'executeSqlFile()' - Cannot load from mysql.proc. The table is probably corrupted (1728)
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show function status where name = 'getcrosslvr']
Jun 13 14:21:04 pcmisch epgd[1324]: Function check of 'getcrosslvr' failed
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show function status where name = 'getcrosslvr']
Jun 13 14:21:04 pcmisch epgd[1324]: Function check of 'getcrosslvr' failed
Jun 13 14:21:04 pcmisch epgd[1324]: Creating function 'getcrosslvr'
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'CREATE FUNCTION getcrosslvr ( comp1 varchar(300), comp2 varchar(300) )$RETURNS int$NOT DETERMINISTIC$BEGIN$DECLARE ratio DECIMAL(7,2);$DECLARE shorter varchar(300);$DECLARE longer varchar(300);$DECLARE complenght int;$DECLARE crosslv int;$DECLARE crosslvt int;$IF char_length(comp1) = 0 then$ set ratio = 999;$ set short>
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'executeSqlFile()' - Cannot load from mysql.proc. The table is probably corrupted (1728)
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show function status where name = 'getlvrmin']
Jun 13 14:21:04 pcmisch epgd[1324]: Function check of 'getlvrmin' failed
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'execute(stmt_execute)' - Cannot load from mysql.proc. The table is probably corrupted (1728) 'Cannot load from mysql.proc. The table is probably corrupted' [show function status where name = 'getlvrmin']
Jun 13 14:21:04 pcmisch epgd[1324]: Function check of 'getlvrmin' failed
Jun 13 14:21:04 pcmisch epgd[1324]: Creating function 'getlvrmin'
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'CREATE FUNCTION getlvrmin ( vdr_starttime int(10), ext_starttime int(10), vdr_duration int(5), ext_duration int(5), lv1 int(3), lv2 int(3), lv3 int(3), lv4 int(3) )$RETURNS int$NOT DETERMINISTIC$BEGIN$DECLARE delta_st int;$DECLARE delta_du int;$DECLARE lv_time int default 0;$DECLARE lv_min int;$DECLARE lv_dur int;$DECLARE lv_s>
Jun 13 14:21:04 pcmisch epgd[1324]: SQL-Error in 'executeSqlFile()' - Cannot load from mysql.proc. The table is probably corrupted (1728)
Jun 13 14:21:04 pcmisch epgd[1324]: Using scraping language de
Jun 13 14:21:04 pcmisch epgd[1324]: TVDB scraper connected
Jun 13 14:21:04 pcmisch epgd[1324]: MOVIEDB scraper connected
Jun 13 14:21:04 pcmisch epgd[1324]: Info: No external events on database, force initial check!
Jun 13 14:21:04 pcmisch epgd[1324]: Retry #3 failed, retrying in 60 seconds!
Jun 13 14:21:04 pcmisch epgd[1324]: Closing mysql connection and calling mysql_thread_end(1324)
Grüße,
Dirk
Hallo !
Das stand/steht bereits drin, hilft aber nicht:
...
#ifndef __DVBHDFFDEVICE_H
#define __DVBHDFFDEVICE_H
#include "hdffcmd.h"
#include <vdr/dvbdevice.h>
#include <vdr/dvbspu.h>
...
Grüße,
Dirk
Hallo !
Der Compile des Plugins dvbhddevice schlägt fehl:
*** Plugin dvbhddevice:
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/backup/privat/tv/dvb/vdr-2.4.6/include -c -DPLUGIN_NAME_I18N='"dvbhddevice"' -I/backup/privat/tv/dvb/vdr-2.4.6/include -o dvbhdffdevice.o dvbhdffdevice.c
dvbhdffdevice.c: In member function ‘virtual int64_t cDvbHdFfDevice::GetSTC()’:
dvbhdffdevice.c:549:33: error: ‘AUDIO_GET_PTS’ was not declared in this scope
if (ioctl(fd_audio, AUDIO_GET_PTS, &pts) == -1) {
^~~~~~~~~~~~~
dvbhdffdevice.c:549:33: note: suggested alternative: ‘VIDEO_GET_PTS’
if (ioctl(fd_audio, AUDIO_GET_PTS, &pts) == -1) {
^~~~~~~~~~~~~
VIDEO_GET_PTS
make[1]: *** [Makefile:64: dvbhdffdevice.o] Fehler 1
Grüße,
Dirk
Hallo !
Ich habe bei mir u.a. eine Hauppauge DVBT2-Karte HVR 2205 unter openSUSE Leap 15.1 unter vdr-2.4.0 (mit allen aktuellen Patches)
installiert/konfiguriert, bekomme aber im Gegensatz zu Windows10 (mit WINTV-SW) hier kein Bild + keinen Ton, obwohl ich mit t2scan (0.5)
problemlos reichlich DVBT2-Sender finde, die ich dann in die channels.conf aufgenommen habe.
Wähle ich einer der DVBT2-Kanäle dann im VDR an, bekomme ich kein Bild + keinen Ton.
t2scan generiert die Sender-Liste nur problemlos, wenn ich ihm mit -a 6 den korrekten DVBT2-Adapter angebe.
Ansonsten zeigt er ohne Parameter -a 6 auf eines der Frontend der ebenfalls installierten Hauppauge-QuadHD-Karte, die ich aber mit DVB-C
nutze, und findet dadurch keine DVBT2-Kanäle.
So sieht die korrekt generierte channels.conf für die DVBT2-Kanäle aus:
:DVB-T2
phoenix HD;ARD:514000:B8D0G19128S1T16Y0P0:T:27500:661=36:662=deu@17,663=mis@17:664:0:771:8468:28416:0
tagesschau24 HD;ARD:514000:B8D0G19128S1T16Y0P0:T:27500:671=36:672=deu@17,673=mis@17:674:0:772:8468:28416:0
MDR S-Anhalt HD;ARD:514000:B8D0G19128S1T16Y0P0:T:27500:641=36:642=deu@17,643=mis@17:644:0:866:8468:28416:0
NDR FS NDS HD;ARD:514000:B8D0G19128S1T16Y0P0:T:27500:611=36:612=deu@17,613=mis@17:614:0:897:8468:28416:0
SWR RP HD;ARD:514000:B8D0G19128S1T16Y0P0:T:27500:651=36:652=deu@17,653=mis@17:654:0:994:8468:28416:0
Das Erste HD;ARD:554000:B8D0G19256S1T16Y0P0:T:27500:541=36:542=deu@17,543=mis@17:544:0:769:8468:28160:0
arte HD;ARD:554000:B8D0G19256S1T16Y0P0:T:27500:551=36:552=deu@17,553=fra@17,555=deu@17:554:0:770:8468:28160:0
ONE HD;ARD:554000:B8D0G19256S1T16Y0P0:T:27500:561=36:562=deu@17,563=mis@17:564:0:773:8468:28160:0
WDR HD Bielefeld;ARD:554000:B8D0G19256S1T16Y0P0:T:27500:511=36:512=deu@17,513=mis@17:514:0:1026:8468:28160:0
WDR HD Siegen;ARD:554000:B8D0G19256S1T16Y0P0:T:27500:511=36:512=deu@17,513=mis@17:514:0:1032:8468:28160:0
BR Fernsehen S�d HD (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:1570:8468:28160:0
ARD-alpha HD (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:1571:8468:28160:0
hr-fernsehen HD (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:1601:8468:28160:0
rbb Berlin HD (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:1713:8468:28160:0
SR Fernsehen HD (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:1745:8468:28160:0
1LIVE (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2060:8468:28160:0
WDR 2 Rheinland (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2061:8468:28160:0
WDR 3 (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2062:8468:28160:0
WDR 4 (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2063:8468:28160:0
WDR 5 (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2064:8468:28160:0
COSMO (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2065:8468:28160:0
KIRAKA (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2066:8468:28160:0
1LIVE diGGi (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2067:8468:28160:0
WDR Event (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2068:8468:28160:0
WDR Mediathek (Internet);ARD:554000:B8D0G19256S1T16Y0P0:T:27500:3085=36:3086=deu@17,3087=mis@17:0:0:2069:8468:28160:0
ZDF HD;ZDFmobil:570000:B8D0G19128S1T16Y0P0:T:27500:2110=36:0;2120=@106,2121=@106,2122=@106:2130;2131:0:2001:8468:515:0
ZDFinfo HD;ZDFmobil:570000:B8D0G19128S1T16Y0P0:T:27500:2210=36:0;2220=@106,2221=@106:2230;2231:0:2002:8468:515:0
zdf_neo HD;ZDFmobil:570000:B8D0G19128S1T16Y0P0:T:27500:2310=36:0;2320=@106,2321=@106,2322=@106:2330;2331:0:2003:8468:515:0
3sat HD;ZDFmobil:570000:B8D0G19128S1T16Y0P0:T:27500:2410=36:0;2420=@106,2421=@106:2430;2431:0:2004:8468:515:0
KiKA HD;ZDFmobil:570000:B8D0G19128S1T16Y0P0:T:27500:2510=36:0;2520=@106,2521=@106:2530;2531:0:2005:8468:515:0
# dmesg | grep -i hauppauge
[ 8.342907] CORE saa7164[0]: subsystem: 0070:f120, board: Hauppauge WinTV-HVR2205 [card=13,autodetected]
[ 9.925192] cx23885: CORE cx23885[0]: subsystem: 0070:6a28, board: Hauppauge WinTV-QuadHD-DVB [card=56,autodetected]
[ 10.272027] tveeprom: Hauppauge model 166200, rev B4I6, serial# 4035973557
[ 10.272031] cx23885: cx23885[0]: warning: unknown hauppauge model #166200
[ 10.272031] cx23885: cx23885[0]: hauppauge eeprom: model=166200
[ 10.524339] cx23885: CORE cx23885[1]: subsystem: 0070:6b28, board: Hauppauge WinTV-QuadHD-DVB [card=56,autodetected]
[ 10.864009] tveeprom: Hauppauge model 166201, rev B4I6, serial# 4035973557
[ 10.864013] cx23885: cx23885[1]: warning: unknown hauppauge model #166201
[ 10.864013] cx23885: cx23885[1]: hauppauge eeprom: model=166201
[ 20.477064] tveeprom: Hauppauge model 151609, rev B2I6, serial# 4035843782
[ 20.477069] saa7164[0]: Hauppauge eeprom: model=151609
Zeigt vielleicht VDR bzw. die erzeugten DVBT2-Kanal-Liste in die "Wüste" ?
Grüße,
Dirk
Hallo !
Ok, der Patch hilft teilweise, aber nicht ganz, d.h. der Compile bricht weiterhin ab:
update.c: In member function ‘int cUpdate::ScanVideoDir()’:
update.c:934:28: error: ‘Recordings’ was not declared in this scope
for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {
^~~~~~~~~~
update.c:934:28: note: suggested alternative: ‘tRecordings’
for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {
^~~~~~~~~~
tRecordings
update.c: In member function ‘int cUpdate::ScanVideoDirScrapInfo()’:
update.c:985:28: error: ‘Recordings’ was not declared in this scope
for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {
^~~~~~~~~~
update.c:985:28: note: suggested alternative: ‘tRecordings’
for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {
^~~~~~~~~~
tRecordings
update.c: In member function ‘int cUpdate::CleanupRecordings()’:
update.c:1182:14: error: ‘Recordings’ was not declared in this scope
if (!Recordings.GetByName(recPath.c_str())) {
^~~~~~~~~~
update.c:1182:14: note: suggested alternative: ‘tRecordings’
if (!Recordings.GetByName(recPath.c_str())) {
^~~~~~~~~~
tRecordings
update.c: In member function ‘virtual void cUpdate::Action()’:
update.c:1300:16: error: ‘Recordings’ was not declared in this scope
if (Recordings.StateChanged(recState))
^~~~~~~~~~
update.c:1300:16: note: suggested alternative: ‘tRecordings’
if (Recordings.StateChanged(recState))
^~~~~~~~~~
tRecordings
make: *** [Makefile:80: update.o] Error 1
Grüße,
Dirk
Hallo !
Ok, beim Plugin epg2vdr hilft der Patch, aber nicht beim vdr-epg-daemon:
(cd lib && make lib)
make[1]: Entering directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib'
make[1]: Nothing to be done for 'lib'.
make[1]: Leaving directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib'
g++ -rdynamic main.o update.o plugin.o epgdconfig.o channelmap.o series.o svdrpclient.o levenshtein.o episode.o tvdbmanager.o moviedbmanager.o tools/fuzzy.o tools/stringhelpers.o scraper/thetvdbscraper/thetvdbscraper.o scraper/thetvdbscraper/tvdbseries.o scraper/thetvdbscraper/tvdbmirrors.o scraper/thetvdbscraper/tvdbmedia.o scraper/thetvdbscraper/tvdbactor.o scraper/thetvdbscraper/tvdbepisode.o scraper/themoviedbscraper/themoviedbscraper.o scraper/themoviedbscraper/moviedbmovie.o scraper/themoviedbscraper/moviedbactor.o -L./lib -lhorchi -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -o epgd
g++ -rdynamic epgdconfig.o webstore.o webdo.o webauth.o webtools.o httpd.o svdrpclient.o -L./lib -lhorchi -lmicrohttpd -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -ljpeg -L/usr/lib64 -lImlib2 -o epghttpd
make[1]: Nothing to be done for 'all'.
(cd epglv && make)
make[1]: Entering directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv'
gcc -c -Wall -fPIC -I/usr/local/include/mysql -L/usr/lib/mysql -L/usr/local/lib/mysql -I/usr/include/mysql -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -pipe -O3 -shared src/epglvbase.c -o src/epglvbase.o
In file included from src/epglvbase.c:10:0:
src/epglv.h:16:11: fatal error: my_global.h: No such file or directory
# include <my_global.h>
^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:53: src/epglvbase.o] Error 1
make[1]: Leaving directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv'
make: *** [Makefile:77: lv] Error 2
Grüße,
Dirk
Hi !
Diverse Plugins lassen sich mit vdr 2.4.0 unter openSUSE Leap 15.0 nicht mehr compilieren:
duplicates:
...
menu.c: In constructor ‘cMenuDuplicates::cMenuDuplicates()’:
menu.c:213:3: error: ‘Recordings’ was not declared in this scope
Recordings.StateChanged(recordingsState); // just to get the current state...
scraper2vdr:
...
Compile db ...
db.c: In member function ‘int cDbConnection::errorSql(cDbConnection*, const char*, MYSQL_STMT*, const char*)’:
db.c:969:17: error: ‘CR_INVALID_CONN_HANDLE’ was not declared in this scope
error == CR_INVALID_CONN_HANDLE
^~~~~~~~~~~~~~~~~~~~~~
db.c:969:17: note: suggested alternative: ‘CR_INVALID_BUFFER_USE’
error == CR_INVALID_CONN_HANDLE
^~~~~~~~~~~~~~~~~~~~~~
CR_INVALID_BUFFER_USE
make[1]: *** [Makefile:58: db.o] Fehler 1
make: *** [Makefile:75: hlib] Fehler 2
...
skincurses:
...
CC skincurses.o
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/backup/privat/tv/dvb/vdr-2.4.0/include -c -DPLUGIN_NAME_I18N='"skincurses"' -o skincurses.o skincurses.c
skincurses.c: In member function ‘virtual void cCursesOsd::RestoreRegion()’:
skincurses.c:131:52: error: invalid use of incomplete type ‘WINDOW {aka struct _win_st}’
copywin(savedRegion, window, 0, 0, savedRegion->_begy, savedRegion->_begx, savedRegion->_maxy - savedRegion->_begy, savedRegion->_maxx - savedRegion->_begx, false);
...
smarttvweb:
...
responsememblk.c: In member function ‘int cResponseMemBlk::sendBmlInstHtml()’:
responsememblk.c:2263:34: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’)
*(mLog->log()) << " Ownhost= " << own_host << endl;
...
/usr/include/c++/7/ostream:682:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream<char>&>’
make: *** [Makefile:66: responsememblk.o] Fehler 1
...
markad:
...decoder.cpp:183:23: error: ‘AV_CODEC_ID_MPEG2VIDEO_XVMC’ was not declared in this scope
video_codecid=AV_CODEC_ID_MPEG2VIDEO_XVMC;
...
Grüße,
Dirk
Hallo !
Nach dem Update von openSUSE Leap 42.3 auf 15.0 lassen sich beide o.a. Plugins/Programme nicht mehr übersetzen.
Die vdr-Version ist mit 2.4.0 gleich geblieben.
U.a. haben sich die MYSQL-Packages/-Versionen geändert, weshalb es u.a. auch diverse Header-Files scheinbar nicht mehr gibt.
rpm -qa | grep -i mysql | grep -i devel
alt:
libmysqlclient-devel-10.0.34-32.2.x86_64
libmysqld-devel-10.0.34-32.2.x86_64
neu:
libmysqld-devel-10.2.15-lp150.2.3.2.x86_64
libmysqlcppconn-devel-1.1.9-lp150.2.5.x86_64
vdr-plugin-epg2vdr:
...
Compile db ...
db.c: In member function ‘int cDbConnection::errorSql(cDbConnection*, const char*, MYSQL_STMT*, const char*)’:
db.c:1382:17: error: ‘CR_INVALID_CONN_HANDLE’ was not declared in this scope
error == CR_INVALID_CONN_HANDLE
^~~~~~~~~~~~~~~~~~~~~~
db.c:1382:17: note: suggested alternative: ‘CR_INVALID_BUFFER_USE’
error == CR_INVALID_CONN_HANDLE
^~~~~~~~~~~~~~~~~~~~~~
CR_INVALID_BUFFER_USE
db.c:1386:17: error: ‘CR_CONN_UNKNOW_PROTOCOL’ was not declared in this scope
error == CR_CONN_UNKNOW_PROTOCOL
^~~~~~~~~~~~~~~~~~~~~~~
db.c:1386:17: note: suggested alternative: ‘CR_CONN_UNKNOWN_PROTOCOL’
error == CR_CONN_UNKNOW_PROTOCOL
^~~~~~~~~~~~~~~~~~~~~~~
CR_CONN_UNKNOWN_PROTOCOL
make[1]: *** [Makefile:87: db.o] Fehler 1
make: *** [Makefile:117: hlib] Fehler 2
vdr-epg-daemon:
...
(cd lib && make lib)
make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib“ wird betreten
make[1]: Für das Ziel „lib“ ist nichts zu tun.
make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib“ wird verlassen
g++ -rdynamic main.o update.o plugin.o epgdconfig.o channelmap.o series.o svdrpclient.o levenshtein.o episode.o tvdbmanager.o moviedbmanager.o tools/fuzzy.o tools/stringhelpers.o scraper/thetvdbscraper/thetvdbscraper.o scraper/thetvdbscraper/tvdbseries.o scraper/thetvdbscraper/tvdbmirrors.o scraper/thetvdbscraper/tvdbmedia.o scraper/thetvdbscraper/tvdbactor.o scraper/thetvdbscraper/tvdbepisode.o scraper/themoviedbscraper/themoviedbscraper.o scraper/themoviedbscraper/moviedbmovie.o scraper/themoviedbscraper/moviedbactor.o -L./lib -lhorchi -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -o epgd
g++ -rdynamic epgdconfig.o webstore.o webdo.o webauth.o webtools.o httpd.o svdrpclient.o -L./lib -lhorchi -lmicrohttpd -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -ljpeg -L/usr/lib64 -lImlib2 -o epghttpd
make[1]: Für das Ziel „all“ ist nichts zu tun.
(cd epglv && make)
make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv“ wird betreten
gcc -c -Wall -fPIC -I/usr/local/include/mysql -L/usr/lib/mysql -L/usr/local/lib/mysql -I/usr/include/mysql -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -pipe -O3 -shared src/epglvbase.c -o src/epglvbase.o
In file included from src/epglvbase.c:10:0:
src/epglv.h:16:11: fatal error: my_global.h: Datei oder Verzeichnis nicht gefunden
# include <my_global.h>
^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:53: src/epglvbase.o] Fehler 1
make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv“ wird verlassen
make: *** [Makefile:77: lv] Fehler 2
Grüße,
Dirk
Hi !
Erstmal Danke für die Infos.
Könnte mir ggf. jemand Beispiel-Konfigfiles, entsprechende Optionen für das dynamite-Plugin, etc. per PM mailen, um mein Problem zu lösen.
Grüße,
Dirk
Hallo !
Ich habe u.a. zwei HVR 5525-Karten in meinem System (mit vdr 2.2.0) !
Eine Karte nutze ich für DVB-S2 + DVB-T2 und die andere für DVB-S2 + DVB-C !
Per w_scan kann ich problemlos für DVB-T2 und DVB-C einen entsprechenden Scanlauf durchführen
und jeweils korrekte Ausgaben für eine channels.conf erzeugen.
Sender für DVB-S2 + DVB-T kann ich im/per vdr problemlos ansehen/aufnehmen/etc. !
Wähle ich einen DVB-C-Sender bekomme ich nur einen schwarzen Schirm.
Laut Wiki soll/muß man unter Linux das Frontend, welches man für DVB-C nutzen will, per
dvb-fe-tool -a 5 -f 0 -d DVB-C
vor dem Starten des vdr-Programmes umschalten, aber das löst mein Problem auch nicht,
d.h. vdr nutzt bei der Auswahl von DVB-Channels laut systemlog immer das Device/Frontend mit dem DVB-T2-Kabel !
Wo liegt mein Problem ?
Grüße,
Dirk
Problem selbst gefunden/gelöst:
Ich hatte leider nicht die aktuellsten Files aus dem configs-Directory nach /etc/epgd kopiert.
Grüße,
Dirk
Ja, runtergeladen per:
git clone https://projects.vdr-developer…it/vdr-plugin-epg2vdr.git
git clone https://projects.vdr-developer.org/git/vdr-epg-daemon.git
Hallo !
Leider hilft ein epgd-dropall nicht, das der folgende Error nicht wieder kommt:
Apr 07 20:30:33 pcneu vdr[25842]: epg2vdr: SQL-Error in 'prepare(stmt_prepare)' - Unknown column 'mergesource' in 'field list' (1054) 'Unknown column
'mergesource' in 'field list'' [select useid, eventid, source, delflg, updflg, fileref, tableid, version, title, shorttext, starttime, duration, paren
talrating, vps, contents, description, mergesource, longdescription from eventsview where channelid = ? and updsp > ? and UPDFLG in ('A','L','P','C','
D','R')]
Grüße,
Dirk
Was fehlt in meinen Configs oder sind die Meldungen normal ?
Jul 06 16:05:14 pcneu epgd[21467]: Info: Systemd watchdog not configured, epgd won't be sending keep-alive messages!
Jul 08 10:05:47 pcneu epgd[16756]: Warning: Requested parameter 'epgd/lastFullEpisodeRun' not known, ignoring
Grüße,
Dirk
Klappt.
Danke.
Hallo !
Nach dem Update auf ffmpeg 3.1.1 läuft der markad-Compile (aus dem git) nicht mehr:
for i in command plugin; do make -C $i; done
make[1]: Entering directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/command'
g++ -g -rdynamic -O3 -funroll-loops -Wall -Wextra -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED markad-standalone.cpp
markad-standalone.cpp: In static member function ‘static void* cOSDMessage::send(void*)’:
markad-standalone.cpp:161:53: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memcpy(&name.sin_addr.s_addr,host->h_addr,sizeof(host->h_addr));
^
g++ -g -rdynamic -O3 -funroll-loops -Wall -Wextra -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED decoder.cpp
decoder.cpp: In constructor ‘cMarkAdDecoder::cMarkAdDecoder(bool, int)’:
decoder.cpp:237:43: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
memset(video_context->codec_name,0,sizeof(video_context->codec_name));
^
decoder.cpp:237:43: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
decoder.cpp:237:78: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
memset(video_context->codec_name,0,sizeof(video_context->codec_name));
^
decoder.cpp:237:78: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
decoder.cpp:285:51: error: ‘avcodec_alloc_frame’ was not declared in this scope
video_frame = avcodec_alloc_frame();
^
decoder.cpp: In member function ‘bool cMarkAdDecoder::Clear()’:
decoder.cpp:357:17: warning: ‘int avcodec_copy_context(AVCodecContext*, const AVCodecContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
if (avcodec_copy_context(dest,video_context)!=0) ret=false;
^
decoder.cpp:357:56: warning: ‘int avcodec_copy_context(AVCodecContext*, const AVCodecContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
if (avcodec_copy_context(dest,video_context)!=0) ret=false;
^
decoder.cpp: In member function ‘bool cMarkAdDecoder::DecodeVideo(MarkAdContext*, uchar*, int)’:
decoder.cpp:452:13: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
len=avcodec_decode_video2(video_context,video_frame,&video_frame_ready,
^
decoder.cpp:453:41: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
&avpkt);
^
Makefile:48: recipe for target 'decoder.o' failed
make[1]: *** [decoder.o] Error 1
make[1]: Leaving directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/command'
make[1]: Entering directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/plugin'
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"markad"' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../../../../include markad.cpp
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -shared markad.o status.o menu.o setup.o -o libvdr-markad.so
cp --remove-destination libvdr-markad.so ../../../lib/libvdr-markad.so.2.2.0
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<see README>' -o po/markad.pot markad.cpp setup.cpp menu.cpp status.cpp version.h menu.h status.h markad.h setup.h
msgmerge -U --no-wrap --no-location --backup=none -q po/fi_FI.po po/markad.pot
msgfmt -c -o po/fi_FI.mo po/fi_FI.po
cp po/fi_FI.mo ../../../../locale/fi_FI/LC_MESSAGES/vdr-markad.mo
msgmerge -U --no-wrap --no-location --backup=none -q po/es_ES.po po/markad.pot
msgfmt -c -o po/es_ES.mo po/es_ES.po
cp po/es_ES.mo ../../../../locale/es_ES/LC_MESSAGES/vdr-markad.mo
msgmerge -U --no-wrap --no-location --backup=none -q po/it_IT.po po/markad.pot
msgfmt -c -o po/it_IT.mo po/it_IT.po
cp po/it_IT.mo ../../../../locale/it_IT/LC_MESSAGES/vdr-markad.mo
msgmerge -U --no-wrap --no-location --backup=none -q po/sk_SK.po po/markad.pot
msgfmt -c -o po/sk_SK.mo po/sk_SK.po
po/sk_SK.po:7: Warnung: Das Feld »Language« im Kopfeintrag hat immer noch den anfänglichen Vorgabewert
cp po/sk_SK.mo ../../../../locale/sk_SK/LC_MESSAGES/vdr-markad.mo
msgmerge -U --no-wrap --no-location --backup=none -q po/de_DE.po po/markad.pot
msgfmt -c -o po/de_DE.mo po/de_DE.po
cp po/de_DE.mo ../../../../locale/de_DE/LC_MESSAGES/vdr-markad.mo
make[1]: Leaving directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/plugin'
Grüße,
Dirk
Hast du mal einen Link für den Download ?