build fails on fc5/gcc-4.1, http://buildsys.fedoraproject.org/logs/fedora-development-extras/3992-libfac-2.0.5-3.fc5.1/ c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-implicit-templates -I./factor -I./charset -I. -I./factor -I/usr/include -DNOSTREAMIO=1 -c factor/Factor.cc -o OPTOBJ/Factor.o factor/Factor.cc: In function 'CFFList factorize2(const CanonicalForm&, const Variable&, const CanonicalForm&)': factor/Factor.cc:74: error: 'rootOf' was not declared in this scope factor/Factor.cc: In function 'int specializePoly(const CanonicalForm&, Variable&, int, SFormList&, int, int)': factor/Factor.cc:448: error: 'rootOf' was not declared in this scope factor/Factor.cc: In function 'CFFList Factorize(const CanonicalForm&, const CanonicalForm&, int)': factor/Factor.cc:1009: error: 'rootOf' was not declared in this scope factor/Factor.cc: At global scope: factor/Factor.cc:3: warning: 'rcsid' defined but not used factor/Factor.cc:4: warning: 'errmsg' defined but not used make: *** [OPTOBJ/Factor.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.88629 (%build)
Created attachment 126890 [details] patch against factory 2.0.5 Yes, due to GCC 4.10, but inside factory-2.0.5, and the attached patch only fixes a few of these bugs (enough to build libfac).
Thanks Michael... I'll go give it a whirl in mock and see how much further we get... (-: