Package: netgen Version: 4.4-7 Usertags: ftbfs-gcc-4.3 Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. > Automatic build of netgen_4.4-7 on coconut0 by sbuild/ia64 0.49 ... > comp/fespace.cpp: In member function 'virtual void > ngcomp::NonConformingFESpace::GetDofNrs(int, ngstd::ARRAY<int>&) const': > comp/fespace.cpp:2147: error: call of overloaded 'abs(const int&)' is > ambiguous > /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cmath:88: > note: candidates are: double std::abs(double) > /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cmath:92: > note: float std::abs(float) > /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/cmath:96: > note: long double std::abs(long double) > solve/shapetester.cpp: In function 'int ngsolve::NGS_DrawShape(void*, > Tcl_Interp*, int, const char**)': > solve/shapetester.cpp:118: error: 'atoi' was not declared in this scope Sorry, I have only a patch for this issue and not the whole package, because I couldn't figure out how the build system works. --- ngsolve/comp/fespace.cpp~ 2007-04-02 19:39:12.000000000 +0000 +++ ngsolve/comp/fespace.cpp 2007-04-02 19:39:20.000000000 +0000 @@ -10,6 +10,7 @@ #include <comp.hpp> #include <multigrid.hpp> +#include <cstdlib> using namespace ngmg; namespace ngcomp --- ngsolve/solve/shapetester.cpp~ 2007-04-02 19:36:16.000000000 +0000 +++ ngsolve/solve/shapetester.cpp 2007-04-02 19:36:43.000000000 +0000 @@ -1,6 +1,7 @@ #include <solve.hpp> // #include <nginterface.h> +#include <cstdlib> namespace ngsolve -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]