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:
Created attachment 149752 [details, diff] dansguardian-2.9.9.3-gcc43.patch
Created attachment 149754 [details, diff] patch to bump dansguardian to 2.9.9.3_beta
*** This bug has been marked as a duplicate of bug 212366 ***