Replying to myself :) On Thu, Nov 24, 2005 at 05:42:06PM +0300, Sheplyakov Alexei wrote:
Hello,
On Thu, Nov 24, 2005 at 12:59:00PM +0100, Joerg Arndt wrote:
attached is the log of a failed build of ginac 1.3.3 gcc used is: gcc-4.1.0_20051123-3 gcc-c++-4.1.0_20051123-3
Does attached patch fix that?
It does, but `make check' still fails with the following error: if g++-4.1 -DHAVE_CONFIG_H -I. -I. -I../config -I./../ginac -I../ginac -O2 -g -finline-limit=1000 -pipe -MT exam_structure.o -MD -MP -MF ".deps/exam_structure.Tpo" -c -o exam_structure.o exam_structure.cpp; \ then mv -f ".deps/exam_structure.Tpo" ".deps/exam_structure.Po"; else rm -f ".deps/exam_structure.Tpo"; exit 1; fi exam_structure.cpp:50: error: specialization of ‘void GiNaC::structure<T, ComparisonPolicy>::print(const GiNaC::print_context&, unsigned int) const [with T = sprod_s, ComparisonPolicy = GiNaC::compare_std_less]’ in different namespace exam_structure.cpp:50: error: from definition of ‘void GiNaC::structure<T, ComparisonPolicy>::print(const GiNaC::print_context&, unsigned int) const [with T = sprod_s, ComparisonPolicy = GiNaC::compare_std_less]’ exam_structure.cpp:56: error: specialization of ‘GiNaC::ex GiNaC::structure<T, ComparisonPolicy>::eval(int) const [with T = sprod_s, ComparisonPolicy = GiNaC::compare_std_less]’ in different namespace exam_structure.cpp:56: error: from definition of ‘GiNaC::ex GiNaC::structure<T, ComparisonPolicy>::eval(int) const [with T = sprod_s, ComparisonPolicy = GiNaC::compare_std_less]’ Quick and dirty fix is attached. -- All science is either physics or stamp collecting.