From unknown Thu Aug 14 20:52:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7790 <7790@debbugs.gnu.org> To: bug#7790 <7790@debbugs.gnu.org> Subject: Status: cannot build dev tree on windows with mingw Reply-To: bug#7790 <7790@debbugs.gnu.org> Date: Fri, 15 Aug 2025 03:52:07 +0000 retitle 7790 cannot build dev tree on windows with mingw reassign 7790 emacs submitter 7790 Sam Steingold severity 7790 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 12:52:21 2011 Received: (at submit) by debbugs.gnu.org; 5 Jan 2011 17:52:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PaXX2-00085R-JM for submit@debbugs.gnu.org; Wed, 05 Jan 2011 12:52:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PaXX1-00085G-GE for submit@debbugs.gnu.org; Wed, 05 Jan 2011 12:52:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaXdy-0003AC-Sk for submit@debbugs.gnu.org; Wed, 05 Jan 2011 12:59:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:34188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaXdy-0003A2-QB for submit@debbugs.gnu.org; Wed, 05 Jan 2011 12:59:30 -0500 Received: from [140.186.70.92] (port=52451 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaXdx-0007OM-UP for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 12:59:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaXdw-00039b-QL for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 12:59:29 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:43192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaXdw-000397-Le for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 12:59:28 -0500 Received: by ewy27 with SMTP id 27so7756730ewy.0 for ; Wed, 05 Jan 2011 09:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=amSwVrhXYfoLgZ4inkXbQlBs8lb5h7aHG6yIoJmE2dM=; b=ZbWJuEUTob6IMAtMiFU4dHGEbr3zhcCvE9KuMkPGcDIJvgrwU1EPxo0G11Z/qoDrKK 7nWa8Dd8xKdKSLDkAyCyKE9syw8vLQ7QLVm9yhqELnFjcIbLdIb/e/CNsvhcmbIgcph7 f6zEiqAAMemUswmU1OXylpuNQ25RKjebzLcbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=YOEuA5hlEqspi1BeGxFv+0DXDR4AKwZZ0VInXMP8jrmcNpbW6A9TGNZlDRzekrkGjL K8WyaZv1qEp1zFJANEbwt+vRUMrDhGIJ0jVOi+ExxzDdZbUOIX4iBjgUjE6klJgjULL3 lnfWmF5AhVDHIrhELYjf9Ntl2SeTG0KB7Vqhg= MIME-Version: 1.0 Received: by 10.14.47.71 with SMTP id s47mr41191eeb.40.1294250367584; Wed, 05 Jan 2011 09:59:27 -0800 (PST) Received: by 10.14.127.207 with HTTP; Wed, 5 Jan 2011 09:59:27 -0800 (PST) Date: Wed, 5 Jan 2011 12:59:27 -0500 X-Google-Sender-Auth: plcowgIaYL1_PzLRmCQ1xNREt24 Message-ID: Subject: cannot build dev tree on windows with mingw From: Sam Steingold To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.4 (-----) I cannot build emacs dev tree on windows using mingw. I did: ./configure.bat --no-debug --with-gcc --without-xpm \ --cflags -IC:/gnu/gnuwin32/include --ldflags -LC:/gnu/gnuwin32/lib make bootstrap which eventually failed with gcc -o oo-spd/i386/ctags.exe -mno-cygwin -LC:/gnu/gnuwin32/lib oo-spd/i386/ctags.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o oo-spd/i386/ntlib.o oo-spd/i386/regex.o -ladvapi32 oo-spd/i386/ctags.o:ctags.c:(.text+0x19f3): undefined reference to `__imp__re_set_syntax' oo-spd/i386/ctags.o:ctags.c:(.text+0x1a19): undefined reference to `__imp__re_compile_pattern' oo-spd/i386/ctags.o:ctags.c:(.text+0x1e6b): undefined reference to `__imp__re_match' oo-spd/i386/ctags.o:ctags.c:(.text+0x73ec): undefined reference to `__imp__re_search' collect2: ld returned 1 exit status make: *** [oo-spd/i386/ctags.exe] Error 1 note that the missing symbols are found in regex.o without the __imp_ prefix: $ nm oo-spd/i386/regex.o 00000000 b .bss 00000000 d .data 00000000 r .rdata 00000000 t .text U __alloca U __imp____mb_cur_max U __imp___pctype U __isctype U _abort 0000061c t _analyse_first U _exit U _free 0000083c t _group_in_compile_stack 0000080b t _insert_op1 0000088d t _insert_op2 U _malloc U _memcpy U _memset 00003d91 t _mutually_exclusive_p 00003cef T _re_compile_fastmap 00005dc9 T _re_compile_pattern 00000020 d _re_error_msgid 000002dd T _re_iswctype 00005a94 T _re_match 00005a46 T _re_match_2 00004029 t _re_match_2_internal 00000000 D _re_max_failures 00005d7f T _re_search 00005acd T _re_search_2 00003d49 T _re_set_registers 000000bd T _re_set_syntax 000000d0 T _re_set_whitespace_regexp 00000010 C _re_syntax_options 00000010 b _re_syntax_table 000000dd T _re_wctype U _realloc 00005dff T _regcomp 000060c4 T _regerror 000008cc t _regex_compile 00005f78 T _regexec 0000614d T _regfree 000005be t _skip_one_char 000007f8 t _store_op1 0000086c t _store_op2 U _strcpy U _strncpy U _tolower 00000110 b _whitespace_regexp U _write 00000000 T _xmalloc 00000054 T _xrealloc 00000000 b done.0 -- Sam Steingold From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 13:45:55 2011 Received: (at 7790-done) by debbugs.gnu.org; 5 Jan 2011 18:45:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PaYMt-0000o0-2r for submit@debbugs.gnu.org; Wed, 05 Jan 2011 13:45:55 -0500 Received: from impaqm5.telefonica.net ([213.4.138.21] helo=telefonica.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PaYMp-0000nk-Ka for 7790-done@debbugs.gnu.org; Wed, 05 Jan 2011 13:45:53 -0500 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm5.telefonica.net with bizsmtp id ruTL1f0060r0BT63Rut3t2; Wed, 05 Jan 2011 19:53:03 +0100 Received: from qcore ([88.24.214.212]) by IMPmailhost2.adm.correo with BIZ IMP id rut11f00m4bXV5U1iut2Bp; Wed, 05 Jan 2011 19:53:03 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Sam Steingold Subject: Re: bug#7790: cannot build dev tree on windows with mingw References: Date: Wed, 05 Jan 2011 19:53:01 +0100 In-Reply-To: (Sam Steingold's message of "Wed, 5 Jan 2011 12:59:27 -0500") Message-ID: <87vd23xjw2.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 7790-done Cc: 7790-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Sam Steingold writes: > I cannot build emacs dev tree on windows using mingw. > I did: > ./configure.bat --no-debug --with-gcc --without-xpm \ > --cflags -IC:/gnu/gnuwin32/include --ldflags -LC:/gnu/gnuwin32/lib > make bootstrap > which eventually failed with > > gcc -o oo-spd/i386/ctags.exe -mno-cygwin -LC:/gnu/gnuwin32/lib > oo-spd/i386/ctags.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o > oo-spd/i386/ntlib.o oo-spd/i386/regex.o -ladvapi32 > oo-spd/i386/ctags.o:ctags.c:(.text+0x19f3): undefined reference to > `__imp__re_set_syntax' Remove regex.h from your gnuwin32 setup. That's mentioned on etc/PROBLEMS under this heading. *** Building the native MS-Windows port fails due to unresolved externals Closing. [snip] From unknown Thu Aug 14 20:52:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 03 Feb 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator