X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org X-Eon-Dm: dm0202 X-Eon-Sig: AQMb1uJNWpzDHwGcKAIAAAAB,6dd78c1e7f4fe6e96f4926e155450d59 Message-ID: <4D5A9CD0.5070502@member.fsf.org> Date: Tue, 15 Feb 2011 07:33:36 -0800 From: L Anderson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.16) Gecko/20101123 SeaMonkey/2.0.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Coreutils' Build Fails After Linking rm.exe References: <4D5A321C DOT 4020608 AT member DOT fsf DOT org> <4D5A9978 DOT 3020903 AT redhat DOT com> In-Reply-To: <4D5A9978.3020903@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1102150069 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Eric Blake wrote: > On 02/15/2011 12:58 AM, L Anderson wrote: >> 3rd--I ran 'cygport coreutils-8.10-1 compile', which appeared to work >> ok until it exited with a "make error" as shown by the following last >> few lines of the output: > > All those steps match what I do when building coreutils. > >> CCLD pwd.exe >> CCLD readlink.exe >> CCLD rm.exe >> CCLD rmdir.exe<<<---up to and including rmdir.exe have been linked >> ./rm: ./rm: cannot execute binary file > > Hmm. Does your $PATH include '.' somewhere near the beginning? That > may be the culprit; I _never_ run with '.' at the beginning (too much > risk of a trojan horse executable taking over); running with '.' at the > end or not in PATH at all would be safer. Yes, I'm afraid so :-(. I finally figured it out about an hour ago. Thanks for your confirming reply! I have fixed it and have now successfully build coreutils--yea! Regards, LA -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple