[Dune] [#696] empty libdunegrid accepted as valid by DUNE_GRID_CHECK_MODULE (Attachment added)
Dune
flyspray at dune-project.org
Sat Dec 12 10:08:41 CET 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#696 - empty libdunegrid accepted as valid by DUNE_GRID_CHECK_MODULE
User who did this - Martin Nolte (nolte)
----------
There seem to be more problems with libs; I attached a small test module to (hopefully) show them:
a) When I tried to build a module that depends on dune-grid yesterday, configure reported libdunegrid could not be found. I could resolve this issue by disabling shared library support.
b) It seems that libtool does not correctly order the libs. libdunegrid should depend on the alberta libs, yet it does not. To make it work, you have to write the following lines in the Makefile of your project:
LIBS=
LDADD=$(DUNE_LIBS) $(ALBERTA_LDFLAGS) $(ALBERTA_LIBS)
What did I miss? For more details, have a look at the attached module (As far as I remember, the same problem applies to UG).
I should state that I used ALBERTA 3.0 (dynamic linking enabled). To reproduce the result, you can use the current release candidate found under
http://www.mathematik.uni-freiburg.de/IAM/homepages/claus/download/alberta/alberta-3.0-rc6.tar.gz.
----------
One or more files have been attached.
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=696#comment1524
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list