Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227133 - vdr-weatherng-0.0.8_pre3 fails to compile w/ gcc-4.3
Summary: vdr-weatherng-0.0.8_pre3 fails to compile w/ gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-15 10:48 UTC by Michael Brakemeier
Modified: 2008-06-15 21:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
include <sys/types.h> for typedef'ed uint (vdr-weatherng-0.0.8_pre3-sys-types.patch,390 bytes, patch)
2008-06-15 11:03 UTC, Michael Brakemeier
Details | Diff
ebuild w/ sys-types-patch (vdr-weatherng-0.0.8_pre3.ebuild,1.96 KB, text/plain)
2008-06-15 11:04 UTC, Michael Brakemeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Brakemeier 2008-06-15 10:48:09 UTC
g++ -march=pentium-m -mtune=pentium-m -O3 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DDEPGENTRY -DUSE_DVBSETUP -DUSE_DVLVIDPREFER -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_OSDMAXITEMS -DUSE_PLUGINMISSING -DUSE_TIMERINFO -DUSE_WAREAGLEICON -DHAVE_IMLIB2 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weatherng"' -I/usr/include -I/usr/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] Error 1
 *
 * ERROR: media-plugins/vdr-weatherng-0.0.8_pre3 failed.


Reproducible: Always

Steps to Reproduce:
1. emerge vdr-weatherng
2.
3.
Comment 1 Michael Brakemeier 2008-06-15 11:03:20 UTC
Created attachment 156851 [details, diff]
include <sys/types.h> for typedef'ed uint
Comment 2 Michael Brakemeier 2008-06-15 11:04:27 UTC
Created attachment 156853 [details]
ebuild w/ sys-types-patch
Comment 3 Michael Brakemeier 2008-06-15 11:08:54 UTC
Corrected summary to match pkgname.
Comment 4 Joerg Bornkessel gentoo-dev 2008-06-15 21:33:34 UTC
fixed

Thanks Berti :)