I am trying to build windows binary using cygwin. The command line and the 
error I get is bellow.

 make -f Make_cyg.mak SHELL=bash CC=i686-pc-cygwin-gcc CXX=i686-pc-cygwin-g++ 
RC=windres ARCH=i686 CROSS_COMPILE=x86_64-w64-mingw32- USEDLL=no 
PYTHON=/cygdrive/c/Python27 PYTHON_VER=27 DYNAMIC_PYTHON=yes 
PERL=/cygdrive/c/htemp/Perl PERL_VER=516 DYNAMIC_PERL=yes GUI=yes gvim.exe

i686-pc-cygwin-gcc -c -O3 -fomit-frame-pointer -freg-struct-return 
-fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_BIG  -DWINVER=0x0500 
-D_WIN32_WINNT=0x0500 -DFEAT_PERL -DDYNAMIC_PERL 
-DDYNAMIC_PERL_DLL=\"perl516.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON 
-DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV 
-DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG 
-DFEAT_GUI_W32 -DFEAT_CLIPBOARD -march=i686 -Iproto 
-I/cygdrive/c/htemp/Perl/lib/CORE -s  eval.c -o gobj/eval.o
eval.c: In function ‘modify_fname’:
eval.c:23845:16: error: ‘_MAX_PATH’ undeclared (first use in this function)
eval.c:23845:16: note: each undeclared identifier is reported only once for 
each function it appears in
Make_cyg.mak:634: recipe for target `gobj/eval.o' failed
make: *** [gobj/eval.o] Error 1

The same happens if I use Make_ming.mak instead of Make_cyg.mak.

I am not sure if something is wrong with my cygwin but I have compiled vim in 
my computer like this before.

Any ideas of what is going wrong?

Thanks,

Jorge

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