LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   What is make *** [filename] Error 1 and how we can resolve this? (https://www.linuxquestions.org/questions/programming-9/what-is-make-%2A%2A%2A-%5Bfilename%5D-error-1-and-how-we-can-resolve-this-4175420785/)

RanjanR 08-07-2012 04:46 AM

What is make *** [filename] Error 1 and how we can resolve this?
 
Hello,

I want to know how we can handle the make error:
Code:

make: *** [/home/abc/sal/emp_sal.sas7bdat] Error 1
I have below code which is ending up with above error. I checked in log, there is no such error and output file is also created successfully. Problem here is I am trying to automate something but not able to beacuse make is stopped in between with above error.

I have gone though some of the post related to this but not able to understand why this error comes.

Appreciate your help on this.
Thanks!

NevemTeve 08-07-2012 04:49 AM

This is the last line of the log which only acknowledges the fact that the process has failed. Read backwards for more information.

RanjanR 08-07-2012 05:48 AM

Yes, this is the last line which only shows error. I have run sas program and it has no error in the log. infact the output file also has correct output.

NevemTeve 08-07-2012 06:35 AM

1. redirect make to have a logfile: make 2>&1 | tee log.make
2. edit Makefile not to hide the commands:
Code:

cp Makefile Makefile.orig
sed -e $'s;^\t@;\t;' Makefile.orig >Makefile


kauuttt 08-07-2012 11:57 PM

If already not solved.
Can you please post the output of whole "make" command.?


All times are GMT -5. The time now is 07:40 AM.