[vdr] analogtv compile problems against vdr-1.3.46

Simon Baxter linuxtv at nzbaxters.com
Sun Apr 30 19:42:18 CEST 2006


Hi
I'm having problems getting the plugin to compile.

First run, I got:
Plugin analogtv:
make[1]: Entering directory 
`/home/vdruser/vdr-1.3.46_analog/PLUGINS/src/analogtv-0.9.39'
make[1]: Leaving directory 
`/home/vdruser/vdr-1.3.46_analog/PLUGINS/src/analogtv-0.9.39'
make[1]: Entering directory 
`/home/vdruser/vdr-1.3.46_analog/PLUGINS/src/analogtv-0.9.39'
g++ -Wall -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"analogtv"' 
 -DHAVE_FAST_MEMCPY -DNEED_OWN_SIP -I../../../include analogtv.c
analogtv.c: In constructor âcPluginAnalogtv::cPluginAnalogtv()â:
analogtv.c:88: error: âAPIVERSIONâ was not declared in this scope
make[1]: *** [analogtv.o] Error 1

Seen this before - so tried this:
--- PLUGINS/src/analogtv/analogtv.c.org 2006-04-30 10:42:36.000000000 -0700
+++ PLUGINS/src/analogtv/analogtv.c     2006-04-30 10:39:58.000000000 -0700
@@ -85,7 +85,7 @@
   else
     d(0, "Cannot detect kernel version");

-  sprintf(vdrver, "%s", APIVERSION);
+  sprintf(vdrver, "%s", VDRVERSION);

 #if VDRVERSNUM >= 10300
   sy = "\n\t\tW A R N I N G: Unstable development version!";

but now I get:

Plugin analogtv:
make[1]: Entering directory 
`/home/vdruser/vdr-1.3.46_analog/PLUGINS/src/analogtv-0.9.39'
g++ -Wall -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"analogtv"' 
 -DHAVE_FAST_MEMCPY -DNEED_OWN_SIP -I../../../include analogtv.c
g++ -Wall -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"analogtv"' 
 -DHAVE_FAST_MEMCPY -DNEED_OWN_SIP -I../../../include cpu_accel.c
cpu_accel.c: In function âuint32_t mm_accel()':
cpu_accel.c:76: error: can't find a register in class 'BREG' while reloading 
'asm'
cpu_accel.c:81: error: can't find a register in class 'BREG' while reloading 
'asm'
cpu_accel.c:87: error: can't find a register in class 'BREG' while reloading 
'asm'
cpu_accel.c:98: error: can't find a register in class 'BREG' while reloading 
'asm'
cpu_accel.c:102: error: can't find a register in class 'BREG' while 
reloading 'asm'
make[1]: *** [cpu_accel.o] Error 1


Any ideas? 




More information about the vdr mailing list