share|improve this answer answered May 5 '10 at 22:47 Diavolche 11 @Diavolche: Only the beginning of Line 219 in the code excerpt has a tab. –Winston C. Then you won't need to do any of this. > This installed the gmake. Previous by thread: 'Unexpected end of line seen' error while building CSSL using GNU make. share|improve this answer answered Feb 12 '14 at 2:45 jia103 593314 You don't need a blank line between the rules. check over here
Maybe the - in -Wall is not an ASCII hyphen (code 45) but some extended em or en dash character that Solaris make doesn't recognize. In fact, you can even write rules like this: %.o: %.c ; $(COMPILE.c) $(CFLAGS) -o [email protected] $< ... Join them; it only takes a minute: Sign up Makefile issues - fatal error in reader up vote 2 down vote favorite I am having some issues with a makefile I In reply to this post by Swaroop Sugunan Thanks for all the information.
Privacy statement Help us improve MSDN. Split python tuple in subtuples with capacity limit in functional programming style How do I handle an unterminated wire behind my wall? Why does Wikipedia list an improper pronunciation of Esperanto?
Windows newline symbols in a Unix makefile). Perhaps it's too old to support the -include directive? –Jefromi Apr 1 '10 at 2:31 3 @Jefromi: or it isn't GNU Make...the Sun Make probably does not understand '-include' - You also have what appears to be incorrect compiler flag syntax - there shouldn't be any whitespace between - and o to form the output arg -o [email protected] What compiler, gcc or Sun Studio?
You need to break out the documentation for your shell and> read about how shells are initialized, and be sure you know which shell> you are actually using so you read Makefile Unexpected End Of Line Seen Solaris HAve not been able to get back to the project until now. My make file is: Code: Code: program : main.o a.o b.o cc -o program main.o a.o b.o main.o : main.c cc -c main.c a.o : a.c cc -c a.c b.o : http://stackoverflow.com/questions/13532234/makefile-issues-fatal-error-in-reader current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.
Could you please tell us why it worked in "sh" and not in "bash"? Regards, Swaroop > Subject: Re: 'Unexpected end of line seen' error while building CSSL using GNU make.> From: [email protected]> To: [email protected]> CC: [email protected]> Date: Wed, 4 Apr 2007 19:33:48 -0400> > The gcc version is 3.4.2 (older then the version of 3.4.6 stated by sunfreeware.com). That's fine, but why not try to fix your makefiles to work correctly, by using $(MAKE) instead of "make"?
It's impossible for any of the commands you ran (configure, etc.) to add anything to your PATH. > echo $PATH gives the following > > bash-3.00# echo $PATH > /usr/local/bin:/export/meta/Atlas/v4.0//unixshared/bin/solarisx64:/usr/ccs/bin:/export/Sunstudio/SUNWspro/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb http://www.unix.com/unix-for-dummies-questions-and-answers/31697-makefile-error.html Smith <[hidden email]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org"Please remain calm...I may be mad, but Make Unexpected End Of Line Seen Solaris All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Fatal Error In Reader Makefile Line 4 Unexpected End Of Line Seen Encode the alphabet cipher Player claims their wizard character knows everything (from books).
I'm expecting $^ to expand to the prerequisites for a given rule. http://centralpedia.com/unexpected-end/unexpected-end-of-file-error-in-php.html Also there shouldn't be any spaces after the command. It was the fact I didn't have the
I have also tried to remove the blank > lines and in the makefile. Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More... share|improve this answer edited May 22 '14 at 20:24 answered May 22 '14 at 1:00 Ezry 213 This does not really answer the question. this content more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Given that ice is less dense than water, why doesn't it sit completely atop water (rather than slightly submerged)? Close Box Join Tek-Tips Today! asked 3 years ago viewed 2608 times active 3 years ago Linked 0 Fatal error in reader: makefile, unexpected end of line seen Related 208gcc makefile error: “No rule to make
I don't think it's the editor but obviously I could be wrong. –Serpent_wooer Nov 23 '12 at 16:10 add a comment| up vote 0 down vote Aside from the spaces and Dealing with a nasty recruiter Player claims their wizard character knows everything (from books). Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example). Again, this is a shell issue (your PATH is not being maintained in some situations), not a make issue.
That means you haven't set it properly in your shell initialization file. Not the answer you're looking for? Classic List Threaded ♦ ♦ Locked 6 messages Swaroop Sugunan Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ 'Unexpected end have a peek at these guys Resources Join | Indeed Jobs | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc.