Re: [vdr] Dummy Device PLugin

2015-03-05 Thread Brian

Hi, That may be correct. The VDR was packaged somewhere else, and I
installed it via apt.
As I plan to build a new VDR, I guess I'll just leave the card in until
I get that done.
Cheers Brian


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


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


Re: [vdr] Dummy Device PLugin

2015-03-01 Thread VDR User
>Mar 1 13:05:58 localhost vdr: [8766] ERROR:
/usr/lib/vdr/plugins/libvdr-dummydevice.so.2.0.0: undefined symbol:
_ZN7cDeviceC2Ev

I may be wrong but IIRC I got those kinds of errors when compiling plugins
with a different gcc/g++ than VDR was compiled with.
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Dummy Device PLugin

2015-03-01 Thread Brian

On 3/1/2015 5:47 PM, Brian wrote:

Hi,
I am attempting to get rid of my last functioning FF Card. I dont need 
it any more

as I have clients that connect via XVDR.
I tried to install the dummy device plugin but hit some problems:

Dummy device plugin is not available as a package for my ubuntu setup, 
therefore I need to compile it myself

Make was OK. But starting the plugin did not work:



  Source code

1
2
3
4
5
6

Mar  1 13:05:58 localhost vdr: [8766] VDR version 2.0.2 started
Mar  1 13:05:58 localhost vdr: [8766] switched to user 'vdr'
Mar  1 13:05:58 localhost vdr: [8766] codeset is 'UTF-8' - known
Mar  1 13:05:58 localhost vdr: [8766] loading plugin: 
/usr/lib/vdr/plugins/libvdr-dummydevice.so.2.0.0
Mar  1 13:05:58 localhost vdr: [8766] ERROR: 
/usr/lib/vdr/plugins/libvdr-dummydevice.so.2.0.0: undefined symbol: 
_ZN7cDeviceC2Ev
Mar  1 13:05:58 localhost vdr: [8766] exiting, exit code 2


Make


  Source code

1
2
3
4

VDR-test-cellar (SDB1): make
g++  -c -DPLUGIN_NAME_I18N='"dummydevice"'  -o dummydevice.o dummydevice.c
g++   -shared dummydevice.o -o libvdr-dummydevice.so
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP 
--package-name=vdr-dummydevice --package-version=2.0.0 --msgid-bugs-address='' -o po/dummydevice.pot `ls dummydevice.c`


Here the files:



  Source code

1
2
3
4
5
6
7
8
9
10
11
12
13

VDR-test-cellar (SDB1): ls -la
total 112
drwxr-xr-x 2 vdr  users  4096 Mar  1 13:41 .
drwxr-xr-x 5 root root   4096 Mar  1 13:04 ..
-rw-r--r-- 1 vdr  users 17990 Apr 30  2006 COPYING
-rw-r--r-- 1 root root  29 Mar  1 13:41 .dependencies
-rw-r--r-- 1 vdr  users  4364 Aug 20  2013 dummydevice.c
-rw-r--r-- 1 root root  26436 Mar  1 13:41 dummydevice.o
-rw-r--r-- 1 vdr  users   485 Aug 20  2013 HISTORY
-rwxr-xr-x 1 root root  26384 Mar  1 13:41 libvdr-dummydevice.so
-rw-r--r-- 1 vdr  users  3150 Aug 20  2013 Makefile
-rw-r--r-- 1 vdr  users  2032 Sep  2  2007 Makefile.vdr-1.7.37
-rw-r--r-- 1 vdr  users   585 Aug 20  2013 README


Moved the .so to the correct directory changed permissions to 644.
I have the dummydevice version for VDR > V2.

Anyone any ideas?

Cheers Brian









   

This email has been checked for viruses by Avast antivirus software.
www.avast.com 




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

One more point. I needed to reboot to get

localhost vdr: [1063] loading plugin: 
/usr/lib/vdr/plugins/libvdr-dvbsddevice.so.2.0.0


this plugin to load. No idea why. No error messages logged at all.
It would not load during a vdr restart.
Is there anyway to debug the plugin loading process? Just log level in vdr?

Cheers Brian






---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Dummy Device PLugin

2015-03-01 Thread Brian

Hi,
I am attempting to get rid of my last functioning FF Card. I dont need 
it any more

as I have clients that connect via XVDR.
I tried to install the dummy device plugin but hit some problems:

Dummy device plugin is not available as a package for my ubuntu setup, 
therefore I need to compile it myself

Make was OK. But starting the plugin did not work:



 Source code

1
2
3
4
5
6



Mar  1 13:05:58 localhost vdr: [8766] VDR version 2.0.2 started
Mar  1 13:05:58 localhost vdr: [8766] switched to user 'vdr'
Mar  1 13:05:58 localhost vdr: [8766] codeset is 'UTF-8' - known
Mar  1 13:05:58 localhost vdr: [8766] loading plugin: 
/usr/lib/vdr/plugins/libvdr-dummydevice.so.2.0.0
Mar  1 13:05:58 localhost vdr: [8766] ERROR: 
/usr/lib/vdr/plugins/libvdr-dummydevice.so.2.0.0: undefined symbol: 
_ZN7cDeviceC2Ev
Mar  1 13:05:58 localhost vdr: [8766] exiting, exit code 2


Make


 Source code

1
2
3
4



VDR-test-cellar (SDB1): make
g++  -c -DPLUGIN_NAME_I18N='"dummydevice"'  -o dummydevice.o dummydevice.c
g++   -shared dummydevice.o -o libvdr-dummydevice.so
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP 
--package-name=vdr-dummydevice --package-version=2.0.0 --msgid-bugs-address='' -o po/dummydevice.pot `ls dummydevice.c`


Here the files:



 Source code

1
2
3
4
5
6
7
8
9
10
11
12
13



VDR-test-cellar (SDB1): ls -la
total 112
drwxr-xr-x 2 vdr  users  4096 Mar  1 13:41 .
drwxr-xr-x 5 root root   4096 Mar  1 13:04 ..
-rw-r--r-- 1 vdr  users 17990 Apr 30  2006 COPYING
-rw-r--r-- 1 root root  29 Mar  1 13:41 .dependencies
-rw-r--r-- 1 vdr  users  4364 Aug 20  2013 dummydevice.c
-rw-r--r-- 1 root root  26436 Mar  1 13:41 dummydevice.o
-rw-r--r-- 1 vdr  users   485 Aug 20  2013 HISTORY
-rwxr-xr-x 1 root root  26384 Mar  1 13:41 libvdr-dummydevice.so
-rw-r--r-- 1 vdr  users  3150 Aug 20  2013 Makefile
-rw-r--r-- 1 vdr  users  2032 Sep  2  2007 Makefile.vdr-1.7.37
-rw-r--r-- 1 vdr  users   585 Aug 20  2013 README


Moved the .so to the correct directory changed permissions to 644.
I have the dummydevice version for VDR > V2.

Anyone any ideas?

Cheers Brian








---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr