Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220165

Summary: media-libs/libdvb-0.5.5.1-r3 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: libdvb-0.5.5.1-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-03 21:18:05 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT cam_menu.o -MD -MP -MF .deps/cam_menu.Tpo -c -o cam_menu.o cam_menu.cc
In file included from quickscan.cc:4:
../include/DVB.hh: In constructor ‘DVB::DVB(int)’:
../include/DVB.hh:187: warning: deprecated conversion from string constant to ‘char*’
../include/DVB.hh:187: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/quickscan.Tpo .deps/quickscan.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT dump_TS.o -MD -MP -MF .deps/dump_TS.Tpo -c -o dump_TS.o dump_TS.cc
In file included from cam_menu.cc:20:
cam_menu.hh: In member function ‘int CamPacket::read_payload()’:
cam_menu.hh:51: error: ‘memset’ was not declared in this scope
In file included from cam_menu.cc:21:
../include/DVB.hh: In constructor ‘DVB::DVB(int)’:
../include/DVB.hh:187: warning: deprecated conversion from string constant to ‘char*’
../include/DVB.hh:187: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [cam_menu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from dump_TS.cc:3:
../include/DVB.hh: In constructor ‘DVB::DVB(int)’:
../include/DVB.hh:187: warning: deprecated conversion from string constant to ‘char*’
../include/DVB.hh:187: warning: deprecated conversion from string constant to ‘char*’
dump_TS.cc: In function ‘int main(int, char**)’:
dump_TS.cc:117: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/dump_TS.Tpo .deps/dump_TS.Po
make[2]: Leaving directory `/var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work/libdvb-0.5.5.1/sample_progs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work/libdvb-0.5.5.1'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-03 21:18:53 UTC
Created attachment 151734 [details, diff]
libdvb-0.5.5.1-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Matthias Schwarzott gentoo-dev 2008-05-04 04:34:21 UTC
Commited. Thanks for the patch.