From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45303: 28.0.50; [feature/native-comp] comp.c compilation error on Windows 10 Date: Thu, 17 Dec 2020 21:41:44 +0000 Message-ID: References: <838s9w6t8d.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20679"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45303@debbugs.gnu.org To: =?UTF-8?Q?Li=C4=81u@debbugs.gnu.org, _?= =?UTF-8?Q?Kiong-G=C4=93_?= =?UTF-8?Q?=E5=BB=96=E5=AE=AE=E6=AF=85?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 17 22:42:17 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kq12P-0005Gp-7S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Dec 2020 22:42:17 +0100 Original-Received: from localhost ([::1]:59046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq12O-0001yF-6z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Dec 2020 16:42:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq12B-0001y3-Ad for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 16:42:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq12A-0007X0-JY for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 16:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kq12A-0007oB-G7 for bug-gnu-emacs@gnu.org; Thu, 17 Dec 2020 16:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Dec 2020 21:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45303 X-GNU-PR-Package: emacs Original-Received: via spool by 45303-submit@debbugs.gnu.org id=B45303.160824130929984 (code B ref 45303); Thu, 17 Dec 2020 21:42:02 +0000 Original-Received: (at 45303) by debbugs.gnu.org; 17 Dec 2020 21:41:49 +0000 Original-Received: from localhost ([127.0.0.1]:37193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq11w-0007nY-Ok for submit@debbugs.gnu.org; Thu, 17 Dec 2020 16:41:48 -0500 Original-Received: from mab.sdf.org ([205.166.94.33]:47830 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq11t-0007nP-Tp for 45303@debbugs.gnu.org; Thu, 17 Dec 2020 16:41:48 -0500 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kq11s-0002fC-AR; Thu, 17 Dec 2020 21:41:44 +0000 In-Reply-To: ("=?UTF-8?Q?Li=C4=81u, _?= =?UTF-8?Q?Kiong-G=C4=93_?= =?UTF-8?Q?=E5=BB=96=E5=AE=AE=E6=AF=85?="'s message of "Thu, 17 Dec 2020 15:27:40 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196291 Archived-At: "Li=C4=81u, Kiong-G=C4=93 =E5=BB=96=E5=AE=AE=E6=AF=85" writes: > commit 87f6e93799 lead to successful compilation of comp.c, but lead > to linker errors while generating temacs.exe: > > > CCLD temacs.exe > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x8= 6_64-w64-mingw32/bin/ld.exe: > comp.o: in function `md5_gz_stream': > C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/= src/comp.c:713: > undefined reference to `inflateInit2_' > C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x8= 6_64-w64-mingw32/bin/ld.exe: > C:\msys64\home\VWinUser0\Downloads\emacs\native-comp\build\src/../../src/= src/comp.c:730: > undefined reference to `inflate' That's curious, looks you've not zlib but from the config.log you do... Closing the day and will think about that tomorrow, perhaps someone will suggest what I'm missing in the meanwhile. Andrea