On 12/19/2014 11:54 AM, Clark, Randy wrote:
To whom it may concern,

I am trying to run a program that requires both the bash shell and tcsh shell 
of Cygwin, along with many different tools that are not part of the default 
installation package. I had installed the default cygwin a few months ago, and 
then last night I updated my installation to add the dos2unix tools (namely, I 
needed d2u.exe, diff.exe, sdiff.exe and u2d.exe, which I was able to add in the 
update).  I am still missing the tools ar.exe and make.exe. However, when I 
added the tools, I also started getting the following error message in my 
cygwin window upon startup.

       1 [main] uname (1516) C:\cygwin64\usr\local\bin\uname.exe: *** fatal 
error - cygheap base mismatch detected - 0x1802E1408/0x1802DD408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
-bash: [: =: unary operator expected
       1 [main] sed (5160) C:\cygwin64\usr\local\bin\sed.exe: *** fatal error - 
cygheap base mismatch detected - 0x1802E1408/0x1802DD408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
       1 [main] ls (5108) C:\cygwin64\usr\local\bin\ls.exe: *** fatal error - 
cygheap base mismatch detected - 0x1802E1408/0x1802DD408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
-bash: 
/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Program:
 No such file or directory

I have attached the cygcheck.out file, per the request of the cygwin help page, 
in order to assist any users who might be able to help. I should also point out 
that when I entered the command for the cygcheck.out printout, I received the 
following error message.

rrclark@rrclark-2 ~
$ cygcheck -s -v -r > cygcheck.out
       1 [main] cygcheck (4428) C:\cygwin64\usr\local\bin\cygcheck.exe: *** 
fatal error - cygheap base mismatch detected - 0x1802E1408/0x1802DD408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

In summary, I am asking if someone will help me clear up these error messages 
and also tell me which packages I need to install to get the tools ar.exe and 
make.exe.

Your cygcheck output (as well as the paths in the error messages above) seem to show that you have a Cygwin installation in C:\cygwin64\usr\local, nested in your original installation in C:\cygwin64. I suggest that you get rid of that. Then reinstall whatever packages you installed last night (being careful to specify C:\cygwin64 as the root). Finally, make.exe is in the "make" package, and ar.exe is in the "binutils" package. You can answer questions like this yourself by using the search facility at https://cygwin.com/packages/ .

Ken

--
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

Reply via email to