Makefile error: Unexpected end of line seen

Posted by Winston C. Yang on Stack Overflow See other posts from Stack Overflow or by Winston C. Yang
Published on 2010-04-01T02:28:55Z Indexed on 2010/04/01 2:33 UTC
Read the original article Hit count: 464

Filed under:
|
|
|
|

Trying to install Git, I ran configure and make, but got the following error message:

make: Fatal error in reader: Makefile, line 221: Unexpected end of line seen

The Makefile looks like:

218:    GIT-VERSION-FILE: FORCE
219:            @$(SHELL_PATH) ./GIT-VERSION-GEN
220:    -include GIT-VERSION-FILE
221:
222:    uname_S := $(shell sh -c 'uname -s 2>/dev/null øø echo not')

What's causing the error?

The following information may or may not be relevant:

  • I tried to install Git 1.7.0.3 on SunOS 5.9 (Solaris 9) in a directory in my account.
  • The gcc version is 3.4.2 (older then the version of 3.4.6 stated by sunfreeware.com).
  • I don't have root privileges.

© Stack Overflow or respective owner

Related posts about git

Related posts about makefile