Github/Cygwin error: cygheap base mismatch detected

后端 未结 7 902
小蘑菇
小蘑菇 2020-12-28 15:50

Git has been giving me this error

    0 [main] sh (47116) C:\\Users\\Marcus\\AppData\\Local\\GitHub\\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\\us         


        
相关标签:
7条回答
  • 2020-12-28 16:27

    OK for me a similar error ffmpeg $ ./configure ...

    License: LGPL version 2.1 or later
    Creating config.mak, config.h, and doc/config.texi...
          1 [main] cmp (5984) C:\Program Files\Git\usr\bin\cmp.exe: *** fatal error - cygheap base mismatch detected - 0x180326400/0x180330400.
    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.
    

    meant "you are trying to build using MSYS2 but accidentally failing over to some git distributed cmp.exe files, which are apparently unuseable" (see VonC's answer).

    Fix in my case: install them into MSYS2 proper:

    $ pacman -S make
    
    $ pacman -S diffutils # for cmp package
    
    0 讨论(0)
提交回复
热议问题