Hi, 2016/3/16 Wed 2:35:06 UTC+9 Marslo Jiao wrote: > On Thursday, 18 February 2016 13:58:47 UTC-8, Bram Moolenaar wrote: > > Patch 7.4.1353 > > Problem: Test_connect_waittime is skipped for MS-Windows. > > Solution: Add the test back, it works now. > > Files: src/testdir/test_channel.vim > > > > > > *** ../vim-7.4.1352/src/testdir/test_channel.vim 2016-02-18 > > 22:23:21.173660406 +0100 > > --- src/testdir/test_channel.vim 2016-02-18 22:55:42.037193693 +0100 > > *************** > > *** 268,277 **** > > > > " Test that trying to connect to a non-existing port fails quickly. > > func Test_connect_waittime() > > - if !has('unix') > > - " TODO: Make this work again for MS-Windows. > > - return > > - endif > > call ch_log('Test_connect_waittime()') > > let start = reltime() > > let handle = ch_open('localhost:9876', s:chopt) > > --- 268,273 ---- > > *** ../vim-7.4.1352/src/version.c 2016-02-18 22:25:37.468230944 +0100 > > --- src/version.c 2016-02-18 22:57:51.127835583 +0100 > > *************** > > *** 749,750 **** > > --- 749,752 ---- > > { /* Add new patch number below this line */ > > + /**/ > > + 1353, > > /**/ > > > > -- > > FATHER: One day, lad, all this will be yours ... > > PRINCE: What - the curtains? > > "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES > > LTD > > > > /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ > > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ > > \\\ an exciting new programming language -- http://www.Zimbu.org /// > > \\\ help me help AIDS victims -- http://ICCF-Holland.org /// > > Since 7.4.1306, vim.exe and gvim.exe cannot be built. Do you know why? and is > this my environment error? > > ---------- > Here is my build command: > > make -B -f Make_cyg.mak PYTHON=/cygdrive/c/Marslo/MyProgramFiles/Python27 > DYNAMIC_PYTHON=yes PYTHON_VER=27 > PYTHON3=/cygdrive/c/Marslo/MyProgramFiles/Python35 DYNAMIC_PYTHON3=yes > PYTHON3_VER=35 FEATURES=huge IME=yes GIME=yes MBYTE=yes CSCOPE=yes > USERNAME=Marslo.Jiao USERDOMAIN=China GUI=yes > > make -B -f Make_cyg.mak PYTHON=/cygdrive/c/Marslo/MyProgramFiles/Python27 > DYNAMIC_PYTHON=yes PYTHON_VER=27 > PYTHON3=/cygdrive/c/Marslo/MyProgramFiles/Python35 DYNAMIC_PYTHON3=yes > PYTHON3_VER=35 FEATURES=huge IME=yes GIME=yes MBYTE=yes CSCOPE=yes > USERNAME=Marslo.Jiao USERDOMAIN=China GUI=no > > ----------- > And this is the error log: > >>> for vim.exe: obji386/os_win32.o:os_win32.c:(.text+0x64df): undefined > >>> reference to `AttachConsole' > collect2: error: ld returned 1 exit status > Make_cyg_ming.mak:806: recipe for target 'vim.exe' failed > make: *** [vim.exe] Error 1 > > >>> for gvim.exe: > channel.c: In function ‘channel_open’: > channel.c:426:39: error: ‘EINPROGRESS’ undeclared (first use in this function) > channel.c:426:39: note: each undeclared identifier is reported only once for > each function it appears in > Make_cyg_ming.mak:890: recipe for target 'gobji386/channel.o' failed > make: *** [gobji386/channel.o] Error 1
Does the error still occur after 7.4.1354? Some errors with old MinGW should have been fixed with 7.4.1354. Or I suggest you to use MinGW-w64. (Cygwin also has MinGW-w64 packages.) Regards, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.