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

Bug 218792

Summary: x11-misc/lineak-xosdplugin-0.9.0 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: lineak-xosdplugin-0.9.0-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 21:19:16 UTC
make[2]: Entering directory `/var/tmp/portage/x11-misc/lineak-xosdplugin-0.9.0/work/lineak-xosdplugin-0.9/xosd_plugin'
if /bin/bash ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wall -I/usr/include -I.. -I.  -I  -I/usr/include/lineak -I/usr/include   -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT xosdplugin.lo -MD -MP -MF ".deps/xosdplugin.Tpo" -c -o xosdplugin.lo xosdplugin.cpp; \
        then mv -f ".deps/xosdplugin.Tpo" ".deps/xosdplugin.Plo"; else rm -f ".deps/xosdplugin.Tpo"; exit 1; fi
if /bin/bash ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wall -I/usr/include -I.. -I.  -I  -I/usr/include/lineak -I/usr/include   -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT xosdctrl.lo -MD -MP -MF ".deps/xosdctrl.Tpo" -c -o xosdctrl.lo xosdctrl.cpp; \
        then mv -f ".deps/xosdctrl.Tpo" ".deps/xosdctrl.Plo"; else rm -f ".deps/xosdctrl.Tpo"; exit 1; fi
xosdctrl.cpp: In constructor 'xosdCtrl::xosdCtrl()':
xosdctrl.cpp:87: error: 'atoi' was not declared in this scope
xosdctrl.cpp: In member function 'virtual void xosdCtrl::init(LConfig&, bool)':
xosdctrl.cpp:143: error: 'atoi' was not declared in this scope
xosdctrl.cpp: In member function 'virtual void xosdCtrl::volume(float)':
xosdctrl.cpp:271: warning: conversion to 'float' from 'double' may alter its value
xosdctrl.cpp: In member function 'virtual void xosdCtrl::setColor(const std::string&)':
xosdctrl.cpp:330: error: 'strlen' was not declared in this scope
xosdctrl.cpp:330: error: 'malloc' was not declared in this scope
xosdctrl.cpp:331: error: 'strcpy' was not declared in this scope
xosdctrl.cpp:335: error: 'free' was not declared in this scope
make[2]: *** [xosdctrl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
xosdplugin.cpp:101: warning: unused parameter 'imyDisplay'
make[2]: Leaving directory `/var/tmp/portage/x11-misc/lineak-xosdplugin-0.9.0/work/lineak-xosdplugin-0.9/xosd_plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/lineak-xosdplugin-0.9.0/work/lineak-xosdplugin-0.9'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 21:20:05 UTC
Created attachment 150537 [details, diff]
lineak-xosdplugin-0.9.0-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-04-22 17:09:42 UTC
applied, thanks