This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Coreutils' Build Fails After Linking rm.exe


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.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]