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: Mysterious gzipped images Date: Mon, 12 Aug 2013 15:13:49 +0300 Message-ID: <83y587p0n6.fsf@gnu.org> References: <87mwoul8sz.fsf@igel.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1376309634 17626 80.91.229.3 (12 Aug 2013 12:13:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2013 12:13:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 12 14:13:55 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V8r0N-0005Pn-A1 for ged-emacs-devel@m.gmane.org; Mon, 12 Aug 2013 14:13:47 +0200 Original-Received: from localhost ([::1]:46724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8r0M-0001Z5-ST for ged-emacs-devel@m.gmane.org; Mon, 12 Aug 2013 08:13:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8r0G-0001Yu-4y for emacs-devel@gnu.org; Mon, 12 Aug 2013 08:13:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8r0C-0005Yl-3t for emacs-devel@gnu.org; Mon, 12 Aug 2013 08:13:40 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8r0B-0005YX-R8 for emacs-devel@gnu.org; Mon, 12 Aug 2013 08:13:36 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MRF00A0039FB300@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 12 Aug 2013 15:13:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MRF00AI33AC7Y30@a-mtaout20.012.net.il>; Mon, 12 Aug 2013 15:13:25 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162605 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Sun, 11 Aug 2013 21:47:33 +0200 > Cc: emacs-devel@gnu.org > > Stefan Monnier writes: > > > Could you try and use a "package prefix". E.g. "libz-" or "zlib-"? > > I've checked in what I had now so that other people can fix my code. > :-) It breaks the Windows build: gcc -std=gnu99 -Demacs -I. -I/d/gnu/bzr/emacs/trunk/src -I../lib -I/d/gnu/bzr/emacs/trunk/src/../lib -mtune=pentium4 -Id:/usr/include/libxml2 -MMD -MF deps/.d -MP -Id:/usr/include -Id:/usr/include/p11-kit-1 -O0 -gdwarf-2 -g3 -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-entry,__start -Wl,-Map,./temacs.map \ -o temacs firstfile.o vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexw32.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o w32notify.o profiler.o decompress.o w32fns.o w32menu.o w32reg.o w32font.o w32term.o w32xfns.o w32select.o w32uniscribe.o w32.o w32console.o w32heap.o w32inevt.o w32proc.o fontset.o fringe.o image. o tparam.o gmalloc.o ralloc.o lastfile.o ../lib/libgnu.a emacs.res -lwinmm -lgdi32 -lcomdlg32 -lmpr -lwinspool -lole32 -lcomctl32 -lusp10 decompress.o(.text+0x16): In function `unwind_decompress': d:\gnu\bzr\emacs\trunk\src/decompress.c:40: undefined reference to `inflateEnd' decompress.o(.text+0xf7): In function `Fdecompress_gzipped_region': d:\gnu\bzr\emacs\trunk\src/decompress.c:83: undefined reference to `inflateInit2_' decompress.o(.text+0x242):d:\gnu\bzr\emacs\trunk\src/decompress.c:114: undefined reference to `inflate' collect2: ld returned 1 exit status Makefile:677: recipe for target `temacs.exe' failed make[1]: *** [temacs.exe] Error 1 Looks like -lz is missing from the link command line. The configure script did discover (correctly) that zlib is installed: Does Emacs directly use zlib? yes