Re: compile error on Windows XP

2007-07-17 Thread Eli Zaretskii
Cc: emacs-pretest-bug@gnu.org From: Zhang Wei [EMAIL PROTECTED] Date: Tue, 17 Jul 2007 13:26:53 +0800 Eli Zaretskii [EMAIL PROTECTED] writes: I suspect that this is some strange interaction between MSYS and MinGW (you do use MSYS Bash and maybe MSYS Make, right?). You didn't upgrade

Re: compile error on Windows XP

2007-07-16 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes: From: Zhang Wei [EMAIL PROTECTED] Cc: Zhang Wei [EMAIL PROTECTED], [EMAIL PROTECTED], emacs-pretest-bug@gnu.org Date: Mon, 16 Jul 2007 05:55:47 +0800 Eli Zaretskii [EMAIL PROTECTED] writes: Can you please tell what version of MinGW do you have

Re: compile error on Windows XP

2007-07-16 Thread Eli Zaretskii
Cc: emacs-pretest-bug@gnu.org From: Zhang Wei [EMAIL PROTECTED] Date: Mon, 16 Jul 2007 21:33:34 +0800 I upgraded MinGW to version 3.12, but run into another compilation error: I'm sorry that I caused you trouble. gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0501 -D_X86_=1 -c

Re: compile error on Windows XP

2007-07-16 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes: Could you please add -v to the compiler switches, and show here what it displays for this failing command? I'd like to know what arguments GCC sees, because the input file (emacsclient.c) is clearly there. I added the -v switch, but it seems the error

Re: compile error on Windows XP

2007-07-16 Thread Eli Zaretskii
Cc: emacs-pretest-bug@gnu.org From: Zhang Wei [EMAIL PROTECTED] Date: Tue, 17 Jul 2007 05:57:47 +0800 and I rechecked the emacsclient.c file, it is there. That's expected: the error message says that GCC didn't see any input files on its command line, not that the file is not found. Looks

Re: compile error on Windows XP

2007-07-16 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes: [...] I suspect that this is some strange interaction between MSYS and MinGW (you do use MSYS Bash and maybe MSYS Make, right?). You didn't upgrade any of them together with MinGW, did you? Maybe you should downgrade back to the older versions, and

Re: compile error on Windows XP

2007-07-16 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes: I suspect that this is some strange interaction between MSYS and MinGW (you do use MSYS Bash and maybe MSYS Make, right?). You didn't upgrade any of them together with MinGW, did you? Maybe you should downgrade back to the older versions, and if MinGW

compile error on Windows XP

2007-07-15 Thread Zhang Wei
make -C ../src all make[1]: Entering directory `D:/emacs-gbk/src' gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0501 -D_X86_=1 -c -mno-cygwin cpu=i686 -O2 -Di386 -D_CRTAPI1=_cdecl -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE ONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o

Re: compile error on Windows XP

2007-07-15 Thread Jason Rumney
Zhang Wei wrote: process.c: In function `conv_sockaddr_to_lisp': process.c:2307: `uint16_t' undeclared (first use in this function) Please check if it compiles now. I checked in a Windows specific fix, since there have never been reports of this in the past, and that code has been there some

Re: compile error on Windows XP

2007-07-15 Thread Zhang Wei
Jason Rumney [EMAIL PROTECTED] writes: Zhang Wei wrote: process.c: In function `conv_sockaddr_to_lisp': process.c:2307: `uint16_t' undeclared (first use in this function) Please check if it compiles now. I checked in a Windows specific fix, since there have never been reports of this in

Re: compile error on Windows XP

2007-07-15 Thread Eli Zaretskii
From: Zhang Wei [EMAIL PROTECTED] Date: Sun, 15 Jul 2007 20:58:16 +0800 Cc: emacs-pretest-bug@gnu.org Jason Rumney [EMAIL PROTECTED] writes: Zhang Wei wrote: process.c: In function `conv_sockaddr_to_lisp': process.c:2307: `uint16_t' undeclared (first use in this function)

Re: compile error on Windows XP

2007-07-15 Thread Zhang Wei
Eli Zaretskii [EMAIL PROTECTED] writes: Can you please tell what version of MinGW do you have installed? (You should be able to see it in the _mingw.h header file in your include directory; look for the definition of __MINGW32_VERSION there.) #define __MINGW32_VERSION 3.1

Re: compile error on Windows XP

2007-07-15 Thread Eli Zaretskii
From: Zhang Wei [EMAIL PROTECTED] Cc: Zhang Wei [EMAIL PROTECTED], [EMAIL PROTECTED], emacs-pretest-bug@gnu.org Date: Mon, 16 Jul 2007 05:55:47 +0800 Eli Zaretskii [EMAIL PROTECTED] writes: Can you please tell what version of MinGW do you have installed? (You should be able to see