From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Lilja Newsgroups: gmane.emacs.devel Subject: I can't build from cvs sources on cygwin for some time now Date: Sun, 12 Nov 2006 23:17:26 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163369892 16057 80.91.229.2 (12 Nov 2006 22:18:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Nov 2006 22:18:12 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 12 23:18:10 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 1GjNeN-0002Fk-Q7 for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2006 23:18:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjNeN-0001oP-2B for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2006 17:18:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GjNe9-0001nR-32 for emacs-devel@gnu.org; Sun, 12 Nov 2006 17:17:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GjNe7-0001n9-Ei for emacs-devel@gnu.org; Sun, 12 Nov 2006 17:17:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjNe7-0001n6-8H for emacs-devel@gnu.org; Sun, 12 Nov 2006 17:17:47 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GjNe6-0001XH-Nx for emacs-devel@gnu.org; Sun, 12 Nov 2006 17:17:47 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GjNdx-0002B5-5V for emacs-devel@gnu.org; Sun, 12 Nov 2006 23:17:37 +0100 Original-Received: from cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se ([85.194.49.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 23:17:37 +0100 Original-Received: from mindcooler by cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 23:17:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 74 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) 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:62139 Archived-At: Hello group! Not sure when it broke, I have a build dated 11:th of september that works just fine. But when I tried to build a new version two weeks or so ago using the same procedure as before, it wouldn't build. Tried again now. Still won't build. Error: In file included from emacsclient.c:286: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:103:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This may cause runtime problems with W32 sockets" gcc -o oo-spd/i386/emacsclient.exe -mno-cygwin oo-spd/i386/emacsclient.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o oo-spd/i386/ntlib.o -lwsock32 -ladvapi32 oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x11b): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x1b9): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x45b): undefined reference to `__imp___ctype_' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x473): undefined reference to `__imp___ctype_' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x4f0): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x724): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x7b4): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x8b9): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0x923): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xa2f): more undefined references to `___getreent' follow oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xbc5): undefined reference to `_errno' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xbd4): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xcfc): undefined reference to `__imp___ctype_' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xdd2): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xe5e): undefined reference to `___getreent' oo-spd/i386/emacsclient.o:emacsclient.c:(.text+0xf29): undefined reference to `___getreent' collect2: ld returned 1 exit status mingw32-make[1]: *** [oo-spd/i386/emacsclient.exe] Error 1 mingw32-make[1]: Leaving directory `c:/cvsemacs/emacs/lib-src' mingw32-make: *** [all-other-dirs-gmake] Error 2 My steps: $ export CVS_RSH="ssh" $ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs $ cd emacs/nt/ $ ./configure.bat --with-gcc --no-cygwin --no-debug $ mingw32-make bootstrap-clean Cygwin is fully updated (gcc version is 3.4.4-1), mingw32-make is version 3.81. I scanned this group and founds some posts seeming to indicate a problem with debug builds of emacs on cygwin using that version of gcc. I'm not building a debug build, but I built gcc-4.1.1 myself a few days ago just to try. Unfortunately, I couldn't build emacs using it (sorry, no error log). And even if I has succeeded doing that, I really would like to use cygwin's gcc so I can pass it -mno-cygwin because I don't want emacs to depend on cygwin1.dll. What should I do? I've been enjoying following the cvs version for more than two years now. There have been problems compiling before but they were usually fixed promptly. Now I don't even see any posts from people having the same problems as me... What prompted me to compile a new version from cvs was that I wanted to ask about a few problems I'm having and I wanted to test the latest sources first to see if they fixed the problems before I asked. / E