#189 tests fail grid/io/file/dgfparser/test if no additional grids are installed
Metadata
| Property | Value | 
|---|---|
| Reported by | Markus Blatt (markus@dr-blatt.de) | 
| Reported at | Oct 19, 2006 14:25 | 
| Type | Bug Report | 
| Version | Git (pre2.4) [autotools] | 
| Operating System | Unspecified / All | 
| Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) | 
| Last edited at | Oct 20, 2006 07:53 | 
| Closed by | Markus Blatt (markus@dr-blatt.de) | 
| Closed at | Oct 20, 2006 09:08 | 
| Closed in version | 1.0 | 
| Resolution | Fixed | 
| Comment | This was a bug in the build system, due to Christian's changes. | 
| As of today it is fixed. | 
tester will only be built during make check |
Description
Currently building dune fails (if no additional grids are installed):
/bin/sh ../../../../../libtool --tag=CXX --mode=link g++-4.0  -O3 -DNDEBUG -funroll-loops    -o tester  tester-main.o ../../../../../grid/libgrid.la       -L/usr/lib/lam/lib -llammpio -llamf77mpi -lmpi -llam -lutil -ldl  -L/usr/local/ug/lib -lm
g++-4.0 -O3 -DNDEBUG -funroll-loops -o tester tester-main.o  ../../../../../grid/.libs/libgrid.a -L/usr/lib/lam/lib -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -L/usr/local/ug/lib -lm
tester-main.o: In function __tcf_0': main.cc:(.text+0x8e): undefined reference to Dune::dvverb'
tester-main.o: In function Dune::MPIHelper::instance(int&, char**&)': main.cc:(.gnu.linkonce.t._ZN4Dune9MPIHelper8instanceERiRPPc[Dune::MPIHelper::instance(int&, char**&)]+0x92): undefined reference to Dune::dvverb'
tester-main.o: In function `void Dune::checkIndexSetForCodim<0, Dune::YaspGrid<2, 2>, Dune::IndexSet<Dune::YaspGrid<2, 2> const, Dune::YaspLevelIndexSet<Dune::YaspGrid<2, 2> const>, Dune::YaspLevelIndexSetTypes<Dune::YaspGrid<2, 2> const> >, Dune::DebugStream<1u, 4u, 1u, Dune::greater_or_equal> >(Dune::YaspGrid<2, 2> const&, Dune::IndexSet<Dune::YaspGrid<2, 2> const, Dune::YaspLevelIndexSet<Dune::YaspGrid<2, 2> const>, Dune::YaspLevelIndexSetTypes<Dune::YaspGrid<2, 2> const> > const&, Dune::DebugStream<1u, 4u, 1u, Dune::greater_or_equal>&, bool)':
This seems to me as if libcommon is needed here. Unfortunately there is no portable way to specify this.
I am wondering why this line in Makefile.am is necessary anyway:
test program for all tpyes of grids
noinst_PROGRAMS = tester
In my opinion nothing should be build in any test directory when making a make all. Could we just skip building tester?