[vdr] vdr-weatherng-0.0.10 - can't compile with vdr 1.7.8 and debian sid

Goga777 goga777 at bk.ru
Thu Jun 18 13:14:42 CEST 2009


Приветствую, Goga777

with gcc 4.3.* патч http://www.vdr-portal.de/board/thread.php?postid=776855#post776855 
Ш could compile plugin

> Hi
> 
> In debian sid the're updated packages for imagic 
> 
> liblqr-1-0-dev (0.4.1-1) ...
> libmagick++2 (7:6.5.1.0-1.1) ...
> libmagickcore-dev (7:6.5.1.0-1.1) ...
> libmagickwand-dev (7:6.5.1.0-1.1) ...
> libmagick++-dev (7:6.5.1.0-1.1) .
> 
> 
> with vdr 178 I couldn't compile  vdr-weatherng-0.0.10.tar.bz2
> 
> g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I../s2-liplianin/linux/include -I../../../include
> -obitmap.o bitmap.c In file included from bitmap.h:8, from bitmap.c:5:
> imagecache.h:22: error: ‘uint’ does not name a type
> imagecache.h:29: error: expected `)' before ‘MaxItems’
> imagecache.h:36: error: ‘uint’ does not name a type
> imagecache.h:46: error: expected constructor, destructor, or type conversion before ‘(’ token
> imagecache.h: In member function ‘data_type& cxCache<key_type, data_type>::operator[](const key_type&)’:
> imagecache.h:91: error: ‘mMaxItems’ was not declared in this scope
> In file included from bitmap.c:5:
> bitmap.h: In constructor ‘cBitmapCache::cBitmapCache(uint)’:
> bitmap.h:58: error: no matching function for call to ‘cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(uint&)’
> imagecache.h:13: note: candidates are: cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache()
> imagecache.h:13: note:                 cxCache<tBitmapSpec, cWeatherBitmap*>::cxCache(const cxCache<tBitmapSpec,
> cWeatherBitmap*>&) make: *** [bitmap.o] Ошибка 1



More information about the vdr mailing list