[FLASH-USERS] make: *** [flash4] Error 1

Klaus Weide klaus at flash.uchicago.edu
Mon Jun 13 11:27:48 EDT 2016


On Sat, 11 Jun 2016, Priscila Camacho Olachea wrote:

> On Sat, Jun 11, 2016 at 12:30 PM, Priscila Camacho Olachea <
> prgalois at gmail.com> wrote:
> 
> > Hi all,
> >
> > I have ubuntu 16.04 (MATE) When I try to gmake/make
> > FLASH for the Sedov problem, I get the following error:
> >
> > /usr/bin/ld: -f may not be used without -shared
> > collect2: error: ld returned 1 exit status
> > Makefile:345: recipe for target 'flash4' failed
> > make: *** [flash4] Error 1
> >
> > Sreenshots attached.
> >
> > Thanks in advance.

Make sure your Makefile.h is right for your computer.

In particular, make sure the compiler flags listed in FFLAGS_*, CFLAGS_*, 
LDFLAGS_*, etc., in that file  are valid for the compilers that you are 
using.

Klaus



More information about the flash-users mailing list