From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building on Windows Date: Thu, 29 Jun 2006 01:02:14 +0300 Message-ID: References: <4rf5a2pbkc5tn8c73mjamhr94bejumbfnu@4ax.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1151532205 13428 80.91.229.2 (28 Jun 2006 22:03:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jun 2006 22:03:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 00:03:22 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fvi7q-0008Ib-JZ for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 00:03:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvi7n-0004vr-8r for ged-emacs-devel@m.gmane.org; Wed, 28 Jun 2006 18:03:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fvi7A-0004W8-6B for emacs-devel@gnu.org; Wed, 28 Jun 2006 18:02:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fvi78-0004Uj-G2 for emacs-devel@gnu.org; Wed, 28 Jun 2006 18:02:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fvi78-0004Uf-CK for emacs-devel@gnu.org; Wed, 28 Jun 2006 18:02:26 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FviJX-00049u-Hw for emacs-devel@gnu.org; Wed, 28 Jun 2006 18:15:15 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by mx20.gnu.org with esmtp (Exim 4.52) id 1Fvi6z-0006Pv-2y for emacs-devel@gnu.org; Wed, 28 Jun 2006 18:02:17 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-153-59.inter.net.il [80.230.153.59]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id FAI86952 (AUTH halo1); Thu, 29 Jun 2006 01:02:15 +0300 (IDT) Original-To: Paul Moore In-reply-to: <4rf5a2pbkc5tn8c73mjamhr94bejumbfnu@4ax.com> (message from Paul Moore on Wed, 28 Jun 2006 18:46:31 +0100) 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:56266 Archived-At: > From: Paul Moore > Date: Wed, 28 Jun 2006 18:46:31 +0100 > > gcc -o oo-spd/i386/movemail.exe -gstabs+ -g3 oo-spd/i386/movemail.o oo-spd/i86/pop.o oo-spd/i386/ntlib.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o -lwsock2 -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: In function `main': > C:/Data/emacs/lib-src/movemail.c:345: undefined reference to `link' > fu000001.o:: undefined reference to `libmsvcrt_a_iname' > fu000003.o:: undefined reference to `libmsvcrt_a_iname' > nmth000000.o:: undefined reference to `_nm___sys_nerr' > nmth000002.o:: undefined reference to `_nm___sys_errlist' > collect2: ld returned 1 exit status > mingw32-make: *** [oo-spd/i386/movemail.exe] Error 1 I don't have these problems on Windows. I also build with MinGW. The error message about `link' in line 345 is strange, since that line is not supposed to be compiled on Windows. Please see how come the build tried to compile it on your system. How about showing the full transcript of the build, not just the last command? Also, what are your versions of GCC and MinGW runtime, and what shell, if any, do you have installed? > Are there any known problems building on Windows? No, not with MinGW. > If not, should I expect stuff in lib-src to fail No, it should all build cleanly. > and is there a way of skipping it cleanly? I wouldn't recommend skipping it, since these problems might hint on some serious problem with your development environment. The Emacs binary could be faulty even if you succeed in building it.