LinuxTV Patchwork vdr-1.7.27 : compilation error with several plugins

login
register
mail settings
Submitter Udo Richter
Date May 1, 2012, 1:34 p.m.
Message ID <4F9FE64C.6000400@gmx.de>
Download mbox | patch
Permalink /patch/12943/
State New
Headers show

Comments

Udo Richter - May 1, 2012, 1:34 p.m.
Am 01.05.2012 14:00, schrieb Karim Afifi:
> Hello,
> 
> I am building a new box with vdr-1.7.27. Several plugins don't compil
> anymore with this error msg :
> i18n.h:8: error: ‘tI18nPhrase’ does not name a type
> 
> Is there a solution to fix this ?

Most plugins should have updated versions or developer snapshots
available by now. Some patches are also available at vdr-portal.de.

For the common iI18NPhrase bugs, there's usually a line missing in i18n.h:



Cheers,

Udo
Karim Afifi - May 1, 2012, 1:40 p.m.
Martin and Udo, 
Thanks, I am going to try to patch.

nb : vdrportal is very interesting, but still difficult for me because I
can't speak german. 

Regards.
Karim
Karim Afifi - May 17, 2012, 6:55 p.m.
Hello,

I am trying to compil weatherng-0.0.10 and vdr-1.7.27 without success. 
Adding  #include <vdr/config.h>  to i18n.h doesn't solve the problem.

Is there any patch to fix this ?
Regards.


Here is the log :

Plugin weatherng:
make[1]: entrant dans le répertoire «
/usr/local/src/vdr-1.7.27/PLUGINS/src/weatherng-0.0.10 »
make[1]: quittant le répertoire «
/usr/local/src/vdr-1.7.27/PLUGINS/src/weatherng-0.0.10 »
make[1]: entrant dans le répertoire «
/usr/local/src/vdr-1.7.27/PLUGINS/src/weatherng-0.0.10 »
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c
-DHAVE_IMLIB2 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"'
-I/usr/local/src/media_build/linux/include -I../../../include  -obitmap.o
bitmap.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c
-DHAVE_IMLIB2 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"'
-I/usr/local/src/media_build/linux/include -I../../../include  -oquantize.o
quantize.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c
-DHAVE_IMLIB2 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"'
-I/usr/local/src/media_build/linux/include -I../../../include
-oimagecache.o imagecache.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c
-DHAVE_IMLIB2 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"'
-I/usr/local/src/media_build/linux/include -I../../../include  -oweatherng.o
weatherng.c
In file included from weatherng.h:5,
                 from weatherng.c:11:
i18n.h:15: error: ?tI18nPhrase? does not name a type
weatherng.c: In member function ?virtual bool cPluginWetter::Start()?:
weatherng.c:124: error: ?Phrases? was not declared in this scope
weatherng.c:124: error: ?RegisterI18n? was not declared in this scope
make[1]: *** [weatherng.o] Erreur 1
make[1]: quittant le répertoire «
/usr/local/src/vdr-1.7.27/PLUGINS/src/weatherng-0.0.10 »

Patch

--- i18n.h
+++ i18n.h
@@ -9,6 +9,7 @@ 
 #ifndef __SOMEPLUGIN_I18N_H
 #define __SOMEPLUGIN_I18N_H

+#include <vdr/config.h>
 #include <vdr/i18n.h>

 #if VDRVERSNUM < 10507

Privacy Policy