Cool thanks. It works now !

On Fri, Jan 4, 2013 at 11:45 AM, John Peterson <peterson@cfdlab.ae.utexas.edu> wrote:
On Fri, Jan 4, 2013 at 9:38 AM, Vikram Garg <simulationist@gmail.com> wrote:
> Thanks, that seems to have resolved the file format not recognized error.
> However I am now getting a different error:
>
> Linking heat-dbg...
> libtool: link: you must specify an output file
> libtool: link: Try `libtool --help --mode=link' for more information.
> make: *** [heat-dbg] Error 1

It's probably because you didn't put everything on one line in the
Makefile (it came through the email on two lines)

In a Makefile you need to either put everything on one line or put a
backslash (line continuation character) anywhere you break the line.
For example:

# Production rules:  how to make the target - depends on library configuration
> $(notdir $(target)): $(objects)
> [tab] @echo "Linking "$@"..."
> [tab] @$(libmesh_LIBTOOL) --tag=CXX $(LIBTOOLFLAGS) --mode=link --quiet \
> $(libmesh_CXX) $(libmesh_CXXFLAGS) $(objects) -o $@ $(libmesh_LIBS) \
> $(libmesh_LDFLAGS) $(EXTERNAL_FLAGS)

[tab] should be replaced with an actual tab.

--
John



--
Vikram Garg
Postdoctoral Associate
Center for Computational Engineering
Massachusetts Institute of Technology

http://www.runforindia.org/runners/vikramg