From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William Xue" Newsgroups: gmane.emacs.devel Subject: EXIT_SUCCESS and NO_RETURN in /lib-src Date: Mon, 12 Feb 2007 14:33:49 +0800 Organization: wv Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: Quoted-Printable X-Trace: sea.gmane.org 1171262044 8237 80.91.229.12 (12 Feb 2007 06:34:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Feb 2007 06:34:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 12 07:33:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HGUlB-0000se-4x for ged-emacs-devel@m.gmane.org; Mon, 12 Feb 2007 07:33:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGUlA-0006MB-Mi for ged-emacs-devel@m.gmane.org; Mon, 12 Feb 2007 01:33:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HGUl0-0006M6-Ij for emacs-devel@gnu.org; Mon, 12 Feb 2007 01:33:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HGUky-0006Lu-1G for emacs-devel@gnu.org; Mon, 12 Feb 2007 01:33:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGUkx-0006Lr-RQ for emacs-devel@gnu.org; Mon, 12 Feb 2007 01:33:43 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.228]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HGUkx-0002LB-Hm for emacs-devel@gnu.org; Mon, 12 Feb 2007 01:33:43 -0500 Original-Received: by nz-out-0506.google.com with SMTP id s1so1416178nze for ; Sun, 11 Feb 2007 22:33:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:content-type:mime-version:content-transfer-encoding:message-id:user-agent; b=dJ+hDLD9i0aM9pkC/JaCO/+nuxbXS4X5yjhv+NM58Glnt5MH6qQI6cyIZP9EmArEngpM5i4KjHDuLh4OSzLpRTMwT6q5WKxYSnKHyI+K0yaXowFSP2uxs9fkUPi/pWiEy3dnLyg7ytmXBnzyvkFQVKGHK4wnliSsfrA2y8Dh/xY= Original-Received: by 10.35.93.19 with SMTP id v19mr14020665pyl.1171262022772; Sun, 11 Feb 2007 22:33:42 -0800 (PST) Original-Received: from williamnb ( [58.33.96.191]) by mx.google.com with ESMTP id n45sm9700312pyh.2007.02.11.22.33.41; Sun, 11 Feb 2007 22:33:42 -0800 (PST) User-Agent: Opera Mail/9.20 (Win32) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66280 Archived-At: I build emacs-unicode-2 in winxp with MinGW, and it failed in /lib-src. It says that the compile could not find the definition of EXIT_* and = NO_RETURN in hexl.c and ebrowser.c and sorted-doc.c. In hexl.c, I added #ifdef HAVE_STDLIB_H #include #endif in ebrowser.c, I added #define NO_RETURN and in sorted-doc.c, I added #else #include #endif in #ifndef HAVE_STDLIB_H Maybe this is not the right way to build emacs under windows, but it = works. This is not the first time that I encountered these errors. I think that somebody should have a check about them. Another error is about the movemail.c: ---8<-------------------------------------------------------------------= ------------------>8--- gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=3D0x0500 -D_X86_=3D1 -c = -mno-cygwin -m cpu=3Di686 -O2 -Di386 -D_CRTAPI1=3D_cdecl -I./inc -DWINDOWSNT -DDOS_NT= = -DSTDC_HEAD ERS=3D1 -DNO_LDAV=3D1 -DNO_ARCHIVES=3D1 -DHAVE_CONFIG_H=3D1 -I../nt/inc = -I../src = -DUSG - o oo-spd/i386/movemail.o movemail.c gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=3D0x0500 -D_X86_=3D1 -c = -mno-cygwin -m cpu=3Di686 -O2 -Di386 -D_CRTAPI1=3D_cdecl -I./inc -DWINDOWSNT -DDOS_NT= = -DSTDC_HEAD ERS=3D1 -DNO_LDAV=3D1 -DNO_ARCHIVES=3D1 -DHAVE_CONFIG_H=3D1 -I../nt/inc = -I../src = -o oo-s pd/i386/pop.o pop.c gcc -o oo-spd/i386/movemail.exe -mno-cygwin oo-spd/i386/movemail.o = oo-spd/i38 6/pop.o oo-spd/i386/ntlib.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o = -lwsock32 -ladvapi32 Info: resolving __sys_nerr by linking to __imp___sys_nerr (auto-import) Info: resolving __sys_errlist by linking to __imp___sys_errlist = (auto-import) oo-spd/i386/movemail.o(.text+0x358):movemail.c: undefined reference to = `link' fu000001.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname' fu000003.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname' nmth000000.o(.idata$4+0x0): undefined reference to `_nm___sys_nerr' nmth000002.o(.idata$4+0x0): undefined reference to `_nm___sys_errlist' mingw32-make: *** [oo-spd/i386/movemail.exe] Error 1 I:\opensource\emacs\lib-src> ---8<-------------------------------------------------------------------= ------------------>8--- I have no idea about how to do with it. -- = Sincerely yours, William