On Wed, 2 Jan 2013, Vikram Garg wrote:

People,            I just switched to the git version of libMesh. When I copied 
over the new example for the time dependent adjoints stuff from the svn
version (was careful to only get the .C and .h files and no svn remnants), I 
found that my code compiles but I got the following linking error:

Linking heat-opt...
adjoint_initial.x86_64-unknown-linux-gnu.opt.lo: file not recognized: File 
format not recognized

I can replicate this too.

The problem appears to be that our $(obj-suffix) has been changed from
".o" to ".lo", and so our app Makefile template ends up hitting the
libtool-based pattern to compile objects, but then when our Makefiles
try to link them using plain $(libmesh_CXX) they find that g++/icpc
know nothing about libtool.  In the long run I'll want to switch all
my own apps to automake/libtool anyway, but we should probably be more
careful about preserving backwards compatibility for those who don't.
---
Roy
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to