[dune-fem] Broken build of project due to DUNE_VERSION_DEPRECATED
Tobias Malkmus
tomalk at mathematik.uni-freiburg.de
Thu Oct 1 15:15:54 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Marco
Sorry thats my fault. It should be fixed in with my last commit.
Best Tobias
On 10/01/2015 02:28 PM, Agnese, Marco wrote:
> Hi!
>
> I am trying to compile a project using the last version of the
> trunk but it fails. It compiled yesterday. I don't see anything
> suspicious in the last two commits of Tobias but for some reason I
> receive the following errors:
>
> In file included from
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/space/basisfunctionset
/default.hh:20:0,
>
>
from
/usr/local_machine/dune-trunk/dune-fem/dune/fem/space/lagrange/space.hh:
16,
> from
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/space/lagrange.hh:1,
>
>
from vertexfunction.hh:16,
> from coupledmeshmanager.hh:21, from
> dune_navier_stokes_splitted.cc:27:
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/space/common/discretef
unctionspace.hh:
> At global scope:
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/space/common/discretef
unctionspace.hh:690:35:
> error: ‘remove’ is not a type DUNE_VERSION_DEPRECATED(3,0,remove)
> ^ /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:44:
> note: in definition of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: ISO C++ forbids declaration of ‘DUNE_VERSION_DEPRECATED_3_0’
> with no type [-fpermissive]
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/space/common/discretef
unctionspace.hh:690:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: expected ‘;’ at end of member declaration
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/space/common/discretef
unctionspace.hh:690:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^ In file included from
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:23:0,
>
>
from
/usr/local_machine/dune-trunk/dune-fem/dune/fem/function/blockvectorfunc
tion/blockvectorfunction.hh:17,
> from
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/blockvectorfu
nction.hh:1,
>
>
from vertexfunction.hh:18,
> from coupledmeshmanager.hh:21, from
> dune_navier_stokes_splitted.cc:27:
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:310:35:
> error: ‘remove’ is not a type DUNE_VERSION_DEPRECATED(3,0,remove)
> ^ /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:44:
> note: in definition of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: ISO C++ forbids declaration of ‘DUNE_VERSION_DEPRECATED_3_0’
> with no type [-fpermissive]
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:310:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: expected ‘;’ at end of member declaration
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:310:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:331:35:
> error: ‘remove’ is not a type DUNE_VERSION_DEPRECATED(3,0,remove)
> ^ /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:44:
> note: in definition of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: ISO C++ forbids declaration of ‘DUNE_VERSION_DEPRECATED_3_0’
> with no type [-fpermissive]
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:331:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: expected ‘;’ at end of member declaration
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:331:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:2:
> error: ‘int
> Dune::Fem::DiscreteFunctionInterface<Impl>::DUNE_VERSION_DEPRECATED_3_
0(int)’
> cannot be overloaded
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:331:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:2:
> error: with ‘int
> Dune::Fem::DiscreteFunctionInterface<Impl>::DUNE_VERSION_DEPRECATED_3_
0(int)’
>
>
DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod)
> ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:310:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:351:35:
> error: ‘remove’ is not a type DUNE_VERSION_DEPRECATED(3,0,remove)
> ^ /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:44:
> note: in definition of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: ISO C++ forbids declaration of ‘DUNE_VERSION_DEPRECATED_3_0’
> with no type [-fpermissive]
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:351:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:53:
> error: expected ‘;’ at end of member declaration
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:351:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:2:
> error: ‘int
> Dune::Fem::DiscreteFunctionInterface<Impl>::DUNE_VERSION_DEPRECATED_3_
0(int)’
> cannot be overloaded
> DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:351:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/version.hh:20:2:
> error: with ‘int
> Dune::Fem::DiscreteFunctionInterface<Impl>::DUNE_VERSION_DEPRECATED_3_
0(int)’
>
>
DUNE_VERSION_DEPRECATED_##major##_##minor(newmethod)
> ^
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:310:7:
> note: in expansion of macro ‘DUNE_VERSION_DEPRECATED’
> DUNE_VERSION_DEPRECATED(3,0,remove) ^ In file included from
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/common/discre
tefunction.hh:17:0,
>
>
from
/usr/local_machine/dune-trunk/dune-fem/dune/fem/function/blockvectorfunc
tion/blockvectorfunction.hh:17,
> from
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/function/blockvectorfu
nction.hh:1,
>
>
from vertexfunction.hh:18,
> from coupledmeshmanager.hh:21, from
> dune_navier_stokes_splitted.cc:27:
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/io/file/persistenceman
ager.hh:479:27:
> warning: ‘Dune::Fem::{anonymous}::persistenceManager’ defined but
> not used [-Wunused-variable] PersistenceManager &persistenceManager
> = PersistenceManager::instance(); ^ make[3]: ***
> [dune_navier_stokes_splitted-dune_navier_stokes_splitted.o] Error
> 1 make[3]: Leaving directory
> `/home/clustor/ma/m/ma2413/dune-repo/dune-navier-stokes-splitted/src'
>
>
make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/clustor/ma/m/ma2413/dune-repo/dune-navier-stokes-splitted/src'
>
>
make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/clustor/ma/m/ma2413/dune-repo/dune-navier-stokes-splitted'
> make: *** [all] Error 2
>
>
> Without the last two commits, instead, I obtain an error at linking
> stage:
>
> mv -f
> .deps/dune_navier_stokes_splitted-dune_navier_stokes_splitted.Tpo
> .deps/dune_navier_stokes_splitted-dune_navier_stokes_splitted.Po
> /bin/bash ../libtool --tag=CXX --mode=link g++ -std=c++11 -O3
> -Wall -funroll-loops -finline-functions -fomit-frame-pointer
> -ffast-math -mfpmath=sse -msse3 -Wl,-no-as-needed -pthread
> -Wl,-no-as-needed -pthread -lumfpack -lspqr
> -lsuitesparseconfig -lcholmod -lamd -lcolamd -lccolamd -lcamd -lrt
> -lblas -lgfortran -lGmsh -o dune_navier_stokes_splitted
> dune_navier_stokes_splitted-dune_navier_stokes_splitted.o
> -Wl,-no-as-needed -pthread
> /usr/local_machine/dune-trunk/dune-fem/lib/libdunefem.la
> /usr/local_machine/dune-trunk/dune-grid/lib/libdunegrid.la
> /usr/local_machine/dune-trunk/dune-geometry/lib/libdunegeometry.la
> /usr/local_machine/dune-trunk/dune-common/lib/libdunecommon.la
> -L/usr/local_machine/dune-trunk/dune-grid/lib -ldunealbertagrid_2d
> -ldunegrid -L/usr/local_machine/alberta-3.0.0/lib -lalberta_2d
> -L/usr/local_machine/alberta-3.0.0/lib -lalberta_utilities
> -pthread -Wl,-rpath -Wl,/usr/local_machine/openmpi-1.8.4/lib
> -Wl,--enable-new-dtags -L/usr/local_machine/openmpi-1.8.4/lib -lmpi
> -L/usr/local_machine/suitesparse-4.4.0/lib
> -L/usr/local_machine/suitesparse-4.4.0/lib
> -L/usr/local_machine/suitesparse-4.4.0/lib
> -L/usr/local_machine/gmsh-2.9.3/lib
> /usr/local_machine/dune-trunk/dune-fem/lib/libdunefem.la
> /usr/local_machine/dune-trunk/dune-grid/lib/libdunegrid.la
> /usr/local_machine/dune-trunk/dune-geometry/lib/libdunegeometry.la
> /usr/local_machine/dune-trunk/dune-common/lib/libdunecommon.la
> libtool: link: g++ -std=c++11 -O3 -Wall -funroll-loops
> -finline-functions -fomit-frame-pointer -ffast-math -mfpmath=sse
> -msse3 -Wl,-no-as-needed -pthread -Wl,-no-as-needed -pthread -o
> dune_navier_stokes_splitted
> dune_navier_stokes_splitted-dune_navier_stokes_splitted.o
> -Wl,-no-as-needed -pthread -pthread -Wl,-rpath
> -Wl,/usr/local_machine/openmpi-1.8.4/lib -Wl,--enable-new-dtags
> -lumfpack -lspqr -lsuitesparseconfig -lcholmod -lamd -lcolamd
> -lccolamd -lcamd -lGmsh
> -L/usr/local_machine/dune-trunk/dune-grid/lib
> /usr/local_machine/dune-trunk/dune-grid/lib/.libs/libdunealbertagrid_2
d.a
> -L/usr/local_machine/alberta-3.0.0/lib
> -L/usr/local_machine/ug-3.11.0/lib
> -L/usr/local_machine/openmpi-1.8.4/lib
> /usr/local_machine/alberta-3.0.0/lib/libalberta_2d.so
> /usr/local_machine/alberta-3.0.0/lib/libalberta_utilities.so
> -L/usr/local_machine/suitesparse-4.4.0/lib
> -L/usr/local_machine/gmsh-2.9.3/lib
> /usr/local_machine/dune-trunk/dune-fem/lib/.libs/libdunefem.a -lm
> /usr/local_machine/dune-trunk/dune-grid/lib/.libs/libdunegrid.a
> /usr/local_machine/ug-3.11.0/lib/libugS2.a
> /usr/local_machine/ug-3.11.0/lib/libugS3.a
> /usr/local_machine/ug-3.11.0/lib/libdevS.a
> /usr/local_machine/openmpi-1.8.4/lib/libmpi.so
> /usr/local_machine/openmpi-1.8.4/lib/libopen-rte.so
> /usr/local_machine/openmpi-1.8.4/lib/libopen-pal.so -ldl -lrt
> -lutil
> /usr/local_machine/dune-trunk/dune-geometry/lib/.libs/libdunegeometry.
a
> /usr/local_machine/dune-trunk/dune-common/lib/.libs/libdunecommon.a
> -llapack -lblas -lgfortran -lquadmath -pthread -Wl,-rpath
> -Wl,/usr/local_machine/alberta-3.0.0/lib -Wl,-rpath
> -Wl,/usr/local_machine/openmpi-1.8.4/lib -Wl,-rpath
> -Wl,/usr/local_machine/alberta-3.0.0/lib -Wl,-rpath
> -Wl,/usr/local_machine/openmpi-1.8.4/lib /usr/bin/ld:
> /usr/local_machine/suitesparse-4.4.0/lib/libcholmod.a(cholmod_metis.o)
:
> undefined reference to symbol 'METIS_ComputeVertexSeparator'
> /usr/local_machine/petsc-3.5.3/lib/libpetsc.so.3.5: error adding
> symbols: DSO missing from command line collect2: error: ld returned
> 1 exit status make[3]: *** [dune_navier_stokes_splitted] Error 1
> make[3]: Leaving directory
> `/home/clustor/ma/m/ma2413/dune-repo/dune-navier-stokes-splitted/src'
>
>
make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/clustor/ma/m/ma2413/dune-repo/dune-navier-stokes-splitted/src'
>
>
make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/clustor/ma/m/ma2413/dune-repo/dune-navier-stokes-splitted'
> make: *** [all] Error 2
>
> What is the issue?
>
> Thank you very much for your hep, Cheers, Marco.
> _______________________________________________ dune-fem mailing
> list dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
>
- --
Tobias Malkmus <tomalk at mathematik.uni-freiburg.de>
Mathematisches Institut Tel: +49 761 203 5627
Abt. für Angewandte Mathematik Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJWDTIKAAoJEBMY7DHvcWNgKh0IANfDtlI/ZuLc+jh0+w4qv8H+
FQ5KJIK3rpMySZO67yBBHnvETCZqneKea9Mvu4AKowKU8ejNuNgxN3DaPTRStLdZ
yJKCIo/Pu83tuelQMXETbb2b+viMh+fc4JfkVx+0a6rR4Xab+8W0f249XJReR9aW
WhwRrDGSzkAS/cMe6bFvTj2W1dEB4bHiT19KOGckz2mNEjiKT+xyA8aK4Sh2b1x/
FceDRuMzYFgr1oZLWn+CJ6DJEuUVSlo61cWtS7LRepUlMBuOcHjaHTeYp9qQEsAJ
XGv1erh5xeS5I1Umh/ebaL1KlKtf9pb/Qqce8lYXP5P1kH1Z81Zf4PuJFlphpjw=
=3ffG
-----END PGP SIGNATURE-----
More information about the dune-fem
mailing list