LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2012, 04:46 AM   #1
RanjanR
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Rep: Reputation: 0
Post 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!
 
Old 08-07-2012, 04:49 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,871
Blog Entries: 1

Rep: Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871
This is the last line of the log which only acknowledges the fact that the process has failed. Read backwards for more information.
 
Old 08-07-2012, 05:48 AM   #3
RanjanR
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

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.
 
Old 08-07-2012, 06:35 AM   #4
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,871
Blog Entries: 1

Rep: Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871Reputation: 1871
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
 
Old 08-07-2012, 11:57 PM   #5
kauuttt
Member
 
Registered: Dec 2008
Location: Atlanta, GA, USA
Distribution: Ubuntu
Posts: 135

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a variable = filename without the extension greengrocer Linux - Newbie 8 04-24-2011 10:16 AM
[SOLVED] php5 ./configure error: (FILENAME=- FNR=27) fatal error: internal error richinsc Linux - Software 2 07-08-2010 09:20 AM
How can I resolve this error: make: *** [HelloWorld.o] error 127 for Eclipse C++ ? drcshavers Red Hat 4 06-05-2010 10:32 AM
how to make a filename make list and feed it to the tar utility nass Slackware 9 09-25-2007 11:51 AM
how to make filename match id3tag? rickenbacherus Linux - Software 5 11-18-2003 06:19 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration