pvr350 Plugin

  • Hi!


    Ich habe eine pvr350, und bis jetzt läuft ivtv, vdr und analogtv. Beim Kompilieren vom pvr350 Plugin bekomme ich allerdings einen Fehler:


    In file included from device.h:7,
    from pvr350.c:10:
    pvr350osd.h:3: error: parse error before `{' token
    pvr350osd.h:9: error: `MAXNUMWINDOWS' was not declared in this scope
    pvr350osd.h:11: error: parse error before `public'
    pvr350osd.h:13: error: destructors must be member functions
    pvr350osd.h:14: error: `cWindow' was not declared in this scope
    pvr350osd.h:14: error: `Window' was not declared in this scope
    pvr350osd.h:14: error: virtual outside class declaration
    pvr350osd.h:15: error: `cWindow' was not declared in this scope
    pvr350osd.h:15: error: `Window' was not declared in this scope
    pvr350osd.h:15: error: virtual outside class declaration
    pvr350osd.h:15: error: variable or field `CommitWindow' declared void
    pvr350osd.h:16: error: `cWindow' was not declared in this scope
    pvr350osd.h:16: error: `Window' was not declared in this scope
    pvr350osd.h:16: error: virtual outside class declaration
    pvr350osd.h:16: error: variable or field `ShowWindow' declared void
    pvr350osd.h:17: error: `cWindow' was not declared in this scope
    pvr350osd.h:17: error: `Window' was not declared in this scope
    pvr350osd.h:17: error: parse error before `)' token
    pvr350osd.h:17: error: virtual outside class declaration
    pvr350osd.h:18: error: `cWindow' was not declared in this scope
    pvr350osd.h:18: error: `Window' was not declared in this scope
    pvr350osd.h:18: error: virtual outside class declaration
    pvr350osd.h:18: error: variable or field `CloseWindow' declared void
    pvr350osd.h:19: error: `cWindow' was not declared in this scope
    pvr350osd.h:19: error: `Window' was not declared in this scope
    pvr350osd.h:19: error: parse error before `,' token
    pvr350osd.h:19: error: virtual outside class declaration
    In file included from pvr350.c:10:
    device.h:64: error: ISO C++ forbids declaration of `cOsdBase' with no type
    device.h:64: error: `cOsdBase' declared as a `virtual' field
    device.h:64: error: parse error before `*' token
    ../../../include/vdr/device.h:131: warning: `virtual int
    cDevice::ProvidesCa(const cChannel*) const' was hidden
    device.h:44: warning: by `int cPvr350Device::ProvidesCa(int)'
    make[1]: *** [pvr350.o] Error 1



    Ich setzte folgende Versionen ein:
    vdr 1.3.12
    analogtv-0.9.33
    ivtv-0.1.10-pre2-ck100m


    Da auf der pvr350 Plugin Page (http://www.rst38.org.uk/vdr/pvr350/) steht, dass die letzte Version kompatibel mit vdr 1.3.7 ist, habe ich es auch mit vdr 1.3.7 probiert, jedoch das gleiche Problem.


    Sagt irgendwem die Fehlermeldung oben etwas?

  • Poste doch nochmal die Zeilen vor dem In file included from device.h:7,
    normalerweise wird dann irgendein include nicht gefunden.


    Es gibt allerdings nicht sooooo viele user dieses Plugins vermute ich mal.

  • make[1]: Entering directory `/tv/vdr-1.3.12/PLUGINS/src/pvr350-0.0.2'
    g++ -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"pvr350"' -I../../../include -I../../../../DVB/include pvr350.c
    In file included from device.h:7,
    from pvr350.c:10:
    pvr350osd.h:3: error: parse error before `{' token
    pvr350osd.h:9: error: `MAXNUMWINDOWS' was not declared in this scope
    ....
    ....



    Ich habe nur eine PVR350 im Rechner, und vdr mit analogtv Plugin läuft ja soweit. analogtv meldet allerdings immer, dass es keinen decoder gibt ... jetzt habe ich softdevice als Plugin probiert, hat aber nicht geklappt, da es dauernd abstürzte beim Laden - außerdem sah das pvr350 Plugin einfacher aus, da es eigentlich keine Abhängigkeiten hat (da ist die Fehleranfälligkeit beim softdevice Plugin schon höher).


    Btw: nettes pvr HowTo wirbel - hat echt ne Menge geholfen..

  • LOL, also auf die Links hätte ich als letzter geschaut, fiel mir echt nicht auf ...


    Habe jetzt kompilieren können, allerdings gibts beim Laden einen Segmentation fault.


    black@starbase:/tv/vdr$ ./vdr -Panalogtv -Ppvr350
    analogTV: 10:28:30 analogTV version 0.9.33 starting up ...
    analogTV: 10:28:30 Detected VDR version 1.3.12
    W A R N I N G: Unstable development version!
    IVTV_IOC_GET_FB: Invalid argument
    analogTV: 10:28:30 Detected ConfigDirectory()="/video/plugins"
    analogTV: 10:28:30 CPU AMD Athlon(tm) XP 2600+, family 6, model 10, stepping 0
    analogTV: 10:28:30 CPU measured at 1921.137MHz
    analogTV: 10:28:30 Benchmarking memcpy() methods (smaller is better):
    analogTV: 10:28:30 glibc memcpy() : 532951701
    analogTV: 10:28:30 linux kernel memcpy() : 531561631
    analogTV: 10:28:31 MMX optimized memcpy() : 455970591
    analogTV: 10:28:31 MMXEXT optimized memcpy() : 258821479
    analogTV: 10:28:31 SSE optimized memcpy() : 253740849
    analogTV: 10:28:31 using SSE optimized memcpy()
    Segmentation fault




    /var/log/message sagt folgendes:


    Jul 30 10:28:30 starbase vdr[9014]: VDR version 1.3.12 started
    Jul 30 10:28:30 starbase vdr[9014]: loading plugin: ./PLUGINS/lib/libvdr-analogtv.so.1.3.12
    Jul 30 10:28:30 starbase vdr[9014]: loading plugin: ./PLUGINS/lib/libvdr-pvr350.so.1.3.12
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/sources.conf
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/diseqc.conf
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/channels.conf
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/timers.conf
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/svdrphosts.conf
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/ca.conf
    Jul 30 10:28:30 starbase vdr[9014]: loading /video/keymacros.conf
    Jul 30 10:28:30 starbase vdr[9014]: no DVB device found
    Jul 30 10:28:30 starbase vdr[9014]: initializing plugin: analogtv (0.9.33): Watch analogue TV
    Jul 30 10:28:30 starbase vdr[9014]: initializing plugin: pvr350 (0.0.3): An output device for the PVR350
    Jul 30 10:28:30 starbase vdr[9014]: setting primary device to 1
    Jul 30 10:28:30 starbase vdr[9014]: device 1 has no MPEG decoder
    Jul 30 10:28:30 starbase vdr[9014]: trying device number 2 instead
    Jul 30 10:28:30 starbase vdr[9014]: setting primary device to 2
    Jul 30 10:28:30 starbase vdr[9014]: SVDRP listening on port 2001
    Jul 30 10:28:30 starbase vdr[9014]: starting plugin: analogtv
    Jul 30 10:28:31 starbase vdr[9014]: starting plugin: pvr350
    Jul 30 10:28:31 starbase vdr[9014]: loading /video/themes/sttng-default.theme




    Schön langsam wäre es einfacher, wenn ich einfach eine Sat Schüssel aufstelle ;(
    Naja, werde am Wochenende nochmal von ganz vorne anfangen, irgendwo muß ja ein Fehler sein :rolleyes:

  • mach nochmal ein make plugins-clean und versuchs nochmal. Vielleicht ist bei backen was schief gegangen.

  • Noch immer nichts. Ich denke mal, es liegt an folgender Zeile:


    IVTV_IOC_GET_FB: Bad file descriptor


    Die kommt nur, wenn ich das pvr350 Plugin starten will. Wird wahrscheinlich ein Problem mit dem ivtv Treiber sein.
    Setze momentan ivtv-0.1.10-pre2-ck100m ein, und wie ich gerade gesehen habe, ist schon ivtv-0.1.10-pre2-ck100r draußen .. mal den ausprobieren.


    Oder hat vielleicht jemand einen funktionierenden patch für den ivtv-0.1.9 für Kernel 2.6 auf der Platte? Es kompilieren nämlich nur die 0.1.10-pre2 auf meinem System durch (Kernel 2.6.7). Bis jetzt habe ich noch keinen Patch für den 0.1.9er gefunden, der funktioniert.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!