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

Bug 217734

Summary: net-proxy/dansguardian-2.9.9.2_beta fails w/ gcc-4.3.0; bump and patch
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: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: dansguardian-2.9.9.3-gcc43.patch
patch to bump dansguardian to 2.9.9.3_beta

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 21:45:49 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -fexceptions -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT String.o -MD -MP -MF .deps/String.Tpo -c -o String.o String.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -fexceptions -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT FDTunnel.o -MD -MP -MF .deps/FDTunnel.Tpo -c -o FDTunnel.o FDTunnel.cpp
mv -f .deps/FDTunnel.Tpo .deps/FDTunnel.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -fexceptions -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT ConnectionHandler.o -MD -MP -MF .deps/ConnectionHandler.Tpo -c -o ConnectionHandler.o ConnectionHandler.cpp
String.cpp: In member function ‘int String::toInteger()’:
String.cpp:116: error: ‘atoi’ was not declared in this scope
String.cpp: In member function ‘long int String::toLong()’:
String.cpp:125: error: ‘atol’ was not declared in this scope
String.cpp: In member function ‘void String::hexDecode()’:
String.cpp:208: error: ‘strtol’ was not declared in this scope
String.cpp: In member function ‘bool String::startsWith(const String&)’:
String.cpp:228: error: ‘strncmp’ was not declared in this scope
String.cpp: In member function ‘bool String::endsWith(const String&)’:
String.cpp:240: error: ‘strncmp’ was not declared in this scope
String.cpp: In member function ‘String String::after(const char*) const’:
String.cpp:282: error: ‘strlen’ was not declared in this scope
make[2]: *** [String.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from DownloadManager.hpp:30,
                 from OptionContainer.hpp:30,
                 from ConnectionHandler.hpp:28,
                 from ConnectionHandler.cpp:25:
ConfigVar.hpp: In member function ‘bool ConfigVar::ltstr::operator()(String, String) const’:
ConfigVar.hpp:50: error: ‘strcmp’ was not declared in this scope
In file included from DownloadManager.hpp:34,
                 from OptionContainer.hpp:30,
                 from ConnectionHandler.hpp:28,
                 from ConnectionHandler.cpp:25:
ListContainer.hpp: At global scope:
ListContainer.hpp:43: warning: ‘typedef’ was ignored in this declaration
make[2]: *** [ConnectionHandler.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-proxy/dansguardian-2.9.9.2_beta/work/dansguardian-2.9.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-proxy/dansguardian-2.9.9.2_beta/work/dansguardian-2.9.9.2'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 21:46:52 UTC
Created attachment 149752 [details, diff]
dansguardian-2.9.9.3-gcc43.patch
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 21:47:38 UTC
Created attachment 149754 [details, diff]
patch to bump dansguardian to 2.9.9.3_beta
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-14 23:44:44 UTC

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