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

Bug 219570

Summary: net-misc/vnc-4.1.2-r4 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: vnc-4.1.2-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 06:23:38 UTC
make[2]: Entering directory `/var/tmp/portage/net-misc/vnc-4.1.2-r4/work/vnc-4_1_2-unixsrc/common/network'
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT TcpSocket.lo -MD -MP -MF .deps/TcpSocket.Tpo -c -o TcpSocket.lo TcpSocket.cxx
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT TcpSocket.lo -MD -MP -MF .deps/TcpSocket.Tpo -c TcpSocket.cxx  -fPIC -DPIC -o .libs/TcpSocket.o
TcpSocket.cxx: In static member function ‘static network::TcpFilter::Pattern network::TcpFilter::parsePattern(const char*)’:
TcpSocket.cxx:445: error: ‘atoi’ was not declared in this scope
make[2]: *** [TcpSocket.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2-r4/work/vnc-4_1_2-unixsrc/common/network'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.2-r4/work/vnc-4_1_2-unixsrc/common'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-28 06:24:36 UTC
Created attachment 151222 [details, diff]
vnc-4.1.2-gcc43.patch

Fixes the problem. Snatched from Debian.
Only verified with USE="-server".
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2008-04-28 08:17:49 UTC

*** This bug has been marked as a duplicate of bug 212948 ***