Skip to content

#905 linking problem with dune-common

Metadata

Property Value
Reported by Jö Fahlke (jorrit@jorrit.de)
Reported at Apr 9, 2011 07:34
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Jö Fahlke (jorrit@jorrit.de)
Last edited at Jun 8, 2011 19:15
Closed by Jö Fahlke (jorrit@jorrit.de)
Closed at Jun 8, 2011 19:15
Closed in version Unknown
Resolution Fixed
Comment Works for now.

Description

Since commit trunk@6403 "move LAPACK call to lib to avoid clashes with boost headers etc." dune-common has a linking problem. For instance, when doing "make check" I get:

====================================================================== -- mode: compilation; default-directory: "/home/joe/src/dune-noopt/dune-common/" -- Compilation started at Sat Apr 9 09:30:59

cd ~/src/dune-noopt/dune-common && make check Making check in dune make[1]: Entering directory /home/joe/src/dune-noopt/dune-common/dune' Making check in common make[2]: Entering directory /home/joe/src/dune-noopt/dune-common/dune/common' Making check in . make[3]: Entering directory /home/joe/src/dune-noopt/dune-common/dune/common' make[3]: Für das Ziel »check-am« ist nichts zu tun. make[3]: Leaving directory /home/joe/src/dune-noopt/dune-common/dune/common' Making check in test make[3]: Entering directory /home/joe/src/dune-noopt/dune-common/dune/common/test' make arraylisttest arraytest bigunsignedinttest bitsetvectortest conversiontest deprtuplestest dynmatrixtest dynvectortest enumsettest fassigntest float_cmp fmatrixtest fvectortest gcdlcmtest iteratorfacadetest iteratorfacadetest2 lrutest mpicollcomm mpiguardtest mpihelpertest mpihelpertest2 nullptr-test pathtest parametertreetest poolallocatortest shared_ptrtest_config shared_ptrtest_dune singletontest static_assert_test streamtest test-stack testfassign1 testfassign2 testfassign3 testfassign4 testfassign_fail1 testfassign_fail2 testfassign_fail3 testfassign_fail4 testfassign_fail5 testfassign_fail6 testfconstruct tuplestest_dune tuplestest_std tuplestest_tr1 tupleutilitytest utilitytest make[4]: Entering directory /home/joe/src/dune-noopt/dune-common/dune/common/test' if g++ -std=c++0x -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -UNDEBUG -ggdb3 -O0 -Wall -Wno-missing-braces -MT arraylisttest.o -MD -MP -MF ".deps/arraylisttest.Tpo" -c -o arraylisttest.o arraylisttest.cc; then mv -f ".deps/arraylisttest.Tpo" ".deps/arraylisttest.Po"; else rm -f ".deps/arraylisttest.Tpo"; exit 1; fi /bin/bash ../../../libtool --tag=CXX --mode=link g++ -std=c++0x -ggdb3 -O0 -Wall -Wno-missing-braces -o arraylisttest arraylisttest.o ../../../lib/libdunecommon.la -lm libtool: link: g++ -std=c++0x -ggdb3 -O0 -Wall -Wno-missing-braces -o .libs/arraylisttest arraylisttest.o ../../../lib/.libs/libdunecommon.so -lm ../../../lib/.libs/libdunecommon.so: undefined reference to dsyev_' collect2: ld returned 1 exit status make[4]: *** [arraylisttest] Fehler 1 make[4]: Leaving directory /home/joe/src/dune-noopt/dune-common/dune/common/test' make[3]: *** [check-am] Fehler 2 make[3]: Leaving directory /home/joe/src/dune-noopt/dune-common/dune/common/test' make[2]: *** [check-recursive] Fehler 1 make[2]: Leaving directory /home/joe/src/dune-noopt/dune-common/dune/common' make[1]: *** [check-recursive] Fehler 1 make[1]: Leaving directory `/home/joe/src/dune-noopt/dune-common/dune' make: *** [check-recursive] Fehler 1

Compilation exited abnormally with code 2 at Sat Apr 9 09:31:00

The same error also occurs when trying to configure dune-grid.