Package: freefem3d
Version: 1.0pre7-3
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is attached.
> Automatic build of freefem3d_1.0pre7-3 on bigsur by sbuild/mips 1.106
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../solver -I../algebra
> -I../geometry -I../utils -I../language -I../graphics -Wall -DNDEBUG -O0
> -funroll-all-loops -fargument-noalias-global -fno-gcse -MT FFLexer.o -MD -MP
> -MF ".deps/FFLexer.Tpo" -c -o FFLexer.o FFLexer.cpp; \
> then mv -f ".deps/FFLexer.Tpo" ".deps/FFLexer.Po"; else rm -f
> ".deps/FFLexer.Tpo"; exit 1; fi
> FFLexer.cpp:241:2: warning: #warning "'medit' will be depreciated and may be
> replaced by 'mesh'"
> ./MeshExpression.hpp:217: error: extra qualification
> 'MeshExpressionExtract::' on member '__extract'
> make[4]: *** [FFLexer.o] Error 1
> make[4]: Leaving directory `/build/tbm/freefem3d-1.0pre7/language'
--- ./graphics/VTKDriver.hpp~ 2006-03-20 23:29:48.000000000 +0000
+++ ./graphics/VTKDriver.hpp 2006-03-20 23:29:55.000000000 +0000
@@ -50,8 +50,7 @@
* @return a vtkDoubleArray that contains the values
*/
vtkDoubleArray*
- VTKDriver::__getValues(const Mesh& m,
- ReferenceCounting<UserFunction> u);
+ __getValues(const Mesh& m, ReferenceCounting<UserFunction> u);
template <typename MeshType>
void __plot(const MeshType& m,
--- ./language/MeshExpression.hpp~ 2006-03-20 23:29:04.000000000 +0000
+++ ./language/MeshExpression.hpp 2006-03-20 23:29:13.000000000 +0000
@@ -214,7 +214,7 @@
std::ostream& put(std::ostream& os) const;
template <typename MeshType>
- void MeshExpressionExtract::__extract();
+ void __extract();
public:
void execute();
But then I get this scary stuff. No idea why, though:
g++ -Wall -DNDEBUG -O2 -funroll-all-loops -fargument-noalias-global -fno-gcse
-o ff3d trapFPE.o main.o FFThread.o -pthread language/libfflanguage.a
solver/libffsolve.a language/libpovlanguage.a geometry/libffgeometry.a
algebra/libffalgebra.a utils/libffutils.a
FFThread.o: In function `FFThread::run()':FFThread.cpp:(.text+0x7e8): undefined
reference to `ffparse()'
language/libfflanguage.a(FFLexer.o): In function
`FFLexer::isVariable(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':FFLexer.cpp:(.text+0x141): undefined reference
to `fflval'
:FFLexer.cpp:(.text+0x15b): undefined reference to `fflval'
:FFLexer.cpp:(.text+0x175): undefined reference to `fflval'
:FFLexer.cpp:(.text+0x17c): undefined reference to `fflval'
:FFLexer.cpp:(.text+0x1fa): undefined reference to `fflval'
language/libfflanguage.a(FFLexer.o):FFLexer.cpp:(.text+0x214): more undefined
references to `fflval' follow
utils/libffutils.a(StaticCenter.o): In function
`StaticCenter::StaticCenter()':StaticCenter.cpp:(.text+0x8c8): undefined
reference to `Q1FiniteElement::W(unsigned long const&, TinyVector<3ul, double>
const&) const'
:StaticCenter.cpp:(.text+0x8fd): undefined reference to
`Q1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x933): undefined reference to
`Q1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x968): undefined reference to
`Q1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xb52): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0xb7f): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xba7): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xbcf): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xbf7): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0xc25): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xc4e): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xc77): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xca0): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0xcce): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xcf7): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xd20): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xd49): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0xd77): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xda0): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0xdc9): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
utils/libffutils.a(StaticCenter.o): In function
`StaticCenter::StaticCenter()':StaticCenter.cpp:(.text+0x1578): undefined
reference to `Q1FiniteElement::W(unsigned long const&, TinyVector<3ul, double>
const&) const'
:StaticCenter.cpp:(.text+0x15ad): undefined reference to
`Q1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x15e3): undefined reference to
`Q1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1618): undefined reference to
`Q1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1802): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0x182f): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1857): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x187f): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x18a7): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0x18d5): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x18fe): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1927): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1950): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0x197e): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x19a7): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x19d0): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x19f9): undefined reference to
`P1FiniteElement::W(unsigned long const&, TinyVector<3ul, double> const&) const'
:StaticCenter.cpp:(.text+0x1a27): undefined reference to
`P1FiniteElement::dxW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1a50): undefined reference to
`P1FiniteElement::dyW(unsigned long const&, TinyVector<3ul, double> const&)
const'
:StaticCenter.cpp:(.text+0x1a79): undefined reference to
`P1FiniteElement::dzW(unsigned long const&, TinyVector<3ul, double> const&)
const'
utils/libffutils.a(ThreadStaticCenter.o): In function
`ThreadStaticCenter::ThreadStaticCenter()':ThreadStaticCenter.cpp:(.text+0xff):
undefined reference to `Information::Information()'
utils/libffutils.a(ThreadStaticCenter.o): In function
`ThreadStaticCenter::ThreadStaticCenter()':ThreadStaticCenter.cpp:(.text+0x19f):
undefined reference to `Information::Information()'
collect2: ld returned 1 exit status
make[2]: *** [ff3d] Error 1
make[2]: Leaving directory `/home/tbm/src/freefem3d-1.0pre7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tbm/src/freefem3d-1.0pre7'
make: *** [all] Error 2
zsh: exit 2 make
(sid)661:[EMAIL PROTECTED]: ~/src/freefem3d-1.0pre7]
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]