Results 1 to 3 of 3
make Error - make: c: Command not found
First time poster here. Excited to get started w/ my research!
I'm trying to build and compile a chemical mechanism solver.
In ...
- 05-10-2007 #1
make Error - make: c: Command not found
make Error - make: c: Command not found
First time poster here. Excited to get started w/ my research!
I'm trying to build and compile a chemical mechanism solver.
In the code, of main.mk I have the following line
%.o: %.f90
$(F90) $(F90FLAGS) $(LINCLUDES) -c $<
For some reason that is giving me an error because of the c. The error is this and is repeated about ten times for ten different files.
c messy_main_constants_mem.f90
make: c: Command not found
make: [messy_main_constants_mem.o] Error 127 (ignored)
Thanks a bunch for all of your help!
--Luke
- 05-11-2007 #2Linux User
- Join Date
- Oct 2004
- Location
- /dev/random
- Posts
- 404
This is because the make variables F90, F90FLAGS and LINCLUDES are not set, so $(F90), $(F90FLAGS) and $(LINCLUDES) evaluate to empty strings - this brings the command down to -c $<. Obviously, there is no standard command/binary with the name c, so the error - command not found.
NB.: When a make command starts with -, the meaning of - is to suppress stderr.
HTH
The Unforgiven
Registered Linux User #358564
- 05-16-2007 #3
Thanks
Thanks,
I figured out my issue. I had unblocked a manual compiler options block which was setting all of my compiler options to blanks.
I got that up and running and now I am having further issues, but ones that are directly related to the automatic configuration of the program's input files.
Thanks again,
Luke


Reply With Quote