delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/08/15:39:20

X-Spam-Check-By: sourceware.org
From: "Harold Rabbie" <hzrabbie AT comcast DOT net>
To: <cygwin AT cygwin DOT com>
Subject: make v3.80: *** [hello] Error 255
Date: Mon, 8 May 2006 12:39:04 -0700
Message-ID: <000001c672d7$104c78a0$8b68a8c0@vastsystems.pvt>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

This is the dumbest thing.  The makefile couldn't be simpler:

$ cat makefile
hello:  hello.c
        gcc -o hello hello.c

When I run this, I get:

$ make
gcc -o hello hello.c
make: *** [hello] Error 255

If I do a dry run and pass the output to the shell it works just fine:

$ make -n > dryrun
$ sh dryrun			(no errors)

I tried changing the line terminators in the makefile from CR/LF to LF.
The SHELL environment variable points to a valid sh.
"which sh" finds the same shell.
I tried the --unix and --win32 switches.

The output of make -d ends with:

Must remake target `hello'.
gcc -o hello hello.c
Putting child 0x1002c7f0 (hello) PID 444 on the chain.
Live child 0x1002c7f0 (hello) PID 444
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x1002c7f0 PID 444
make: *** [hello] Error 255
Removing child 0x1002c7f0 PID 444 from chain.

WTF is going on??



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019