I updated Cygwin on my machine a week or two ago, which included new gcc-mingw packages, and suddenly I could no longer include Strawberry Perl in my native Vim builds. I do not believe this is the fault of Vim, but I am looking for tips on how to correct this problem since my own investigations, including Google, haven't helped.

(Please do NOT tell me to use Make_cyg.mak. That has had a different longstanding problem--also with including Perl--that nobody here has been able to help resolve. See: https://groups.google.com/forum/#!searchin/vim_dev/make_cyg$20_pow )


i686-pc-mingw32-gcc -c -Iproto -DWIN32 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500  -DHAVE_PATHDEF 
-DFEAT_BIG -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DMSWINPS -DFEAT_OLE -DFEAT_CSCOPE 
-DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME 
-DDYNAMIC_ICONV -pipe -w -march=i386 -Wall -I/cygdrive/c/strawberry/perl/lib/Core -DFEAT_PERL 
-L/cygdrive/c/strawberry/perl/lib/Core -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl518.dll\" 
-DFEAT_RUBY -I /cygdrive/c/Ruby193/lib/ruby/1.9.1/i386-mingw32 -I 
/cygdrive/c/Ruby193/include/ruby-1.9.1 -I /cygdrive/c/Ruby193/include/ruby-1.9.1/i386-mingw32 
-DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby191.dll\" -DDYNAMIC_RUBY_VER=19 
-DFEAT_PYTHON  -DDYNAMIC_PYTHON -DFEAT_XPM_W32 -I xpm/x86/include -I xpm/x86/../include -O3 
-fomit-frame-pointer -freg-struct-return -s if_perl.c -o gobji386/if_perl.o
In file included from /cygdrive/c/strawberry/perl/lib/Core/sys/socket.h:30:0,
                 from /cygdrive/c/strawberry/perl/lib/Core/win32.h:381,
                 from /cygdrive/c/strawberry/perl/lib/Core/win32thread.h:4,
                 from /cygdrive/c/strawberry/perl/lib/Core/perl.h:2869,
                 from if_perl.xs:29:
/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:38:2: error: #error 
"ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."
In file included from /cygdrive/c/strawberry/perl/lib/Core/sys/socket.h:30:0,
                 from /cygdrive/c/strawberry/perl/lib/Core/win32.h:381,
                 from /cygdrive/c/strawberry/perl/lib/Core/win32thread.h:4,
                 from /cygdrive/c/strawberry/perl/lib/Core/perl.h:2869,
                 from if_perl.xs:29:
/usr/i686-pc-mingw32/sys-root/mingw/include/ws2tcpip.h:147:8: error: 
redefinition of ‘struct ip_mreq’
In file included from 
/usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:93:0,
                 from os_win32.h:104,
                 from vim.h:330,
                 from if_perl.xs:26:
/usr/i686-pc-mingw32/sys-root/mingw/include/winsock.h:315:8: note: originally 
defined here
Make_ming.mak:740: recipe for target `gobji386/if_perl.o' failed
make: *** [gobji386/if_perl.o] Error 1


--
 It is better to keep your mouth closed and let people think you are a fool
            than to open it and remove all doubt.  -- Mark Twain
Christian J. Robinson <[email protected]>      http://christianrobinson.name/

--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui