Making all in common make[2]: Entering directory `/var/tmp/portage/media-gfx/hugin-0.6.1-r2/work/hugin-0.6.1/src/common' /bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/include -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT graph.lo -MD -MP -MF .deps/graph.Tpo -c -o graph.lo graph.cpp /bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/include -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c -o utils.lo utils.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/include -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT graph.lo -MD -MP -MF .deps/graph.Tpo -c graph.cpp -o graph.o i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/include -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.cpp -o utils.o In file included from utils.cpp:33: ../../src/include/common/utils.h: In function ‘bool utils::stringToDouble(const STR&, double&)’: ../../src/include/common/utils.h:165: error: there are no arguments to ‘strdup’ that depend on a template parameter, so a declaration of ‘strdup’ must be available ../../src/include/common/utils.h:165: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../src/include/common/utils.h:178: error: there are no arguments to ‘strtod’ that depend on a template parameter, so a declaration of ‘strtod’ must be available ../../src/include/common/utils.h:182: error: there are no arguments to ‘free’ that depend on a template parameter, so a declaration of ‘free’ must be available utils.cpp: In function ‘std::string utils::doubleToString(double, int)’: utils.cpp:120: error: ‘strcpy’ was not declared in this scope make[2]: *** [utils.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/graph.Tpo .deps/graph.Plo make[2]: Leaving directory `/var/tmp/portage/media-gfx/hugin-0.6.1-r2/work/hugin-0.6.1/src/common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/hugin-0.6.1-r2/work/hugin-0.6.1/src' make: *** [all-recursive] Error 1
Created attachment 151379 [details, diff] hugin-0.6.1-gcc43.patch Fixes the problem. Home-spun patch.
Fixed in cvs, thanks for the patch.
you fixed 0.6.1, but not 0.7_beta4 which is the one that really matters ... ive gone ahead and added the patch to that version as well http://sources.gentoo.org/media-gfx/hugin/hugin-0.7_beta4-r1.ebuild?r1=1.3&r2=1.4