From: John P. <pet...@cf...> - 2013-01-04 16:46:18
|
On Fri, Jan 4, 2013 at 9:38 AM, Vikram Garg <sim...@gm...> 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 |