From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Mysterious gzipped images
Date: Mon, 12 Aug 2013 15:13:49 +0300 [thread overview]
Message-ID: <83y587p0n6.fsf@gnu.org> (raw)
In-Reply-To: <m3a9koovqi.fsf@stories.gnus.org>
> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 11 Aug 2013 21:47:33 +0200
> Cc: emacs-devel@gnu.org
>
> Stefan Monnier <monnier@iro.umontreal.ca> 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
next prev parent reply other threads:[~2013-08-12 12:13 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 22:20 Mysterious gzipped images Lars Magne Ingebrigtsen
2013-08-06 22:30 ` Lars Magne Ingebrigtsen
2013-08-06 23:05 ` Andreas Schwab
2013-08-06 23:38 ` Lars Magne Ingebrigtsen
2013-08-07 1:08 ` Lars Magne Ingebrigtsen
2013-08-07 8:51 ` Julien Danjou
2013-08-07 14:35 ` Stefan Monnier
2013-08-07 16:47 ` chad
2013-08-08 10:35 ` Lars Magne Ingebrigtsen
2013-08-08 10:57 ` Andreas Schwab
2013-08-11 19:44 ` Lars Magne Ingebrigtsen
2013-08-08 13:22 ` Paul Eggert
2013-08-08 14:06 ` Lars Magne Ingebrigtsen
2013-08-08 15:31 ` Lars Magne Ingebrigtsen
2013-08-11 22:05 ` Lars Magne Ingebrigtsen
2013-08-08 13:24 ` Romain Francoise
2013-08-08 13:28 ` Lars Magne Ingebrigtsen
2013-08-08 13:36 ` Christopher Schmidt
2013-08-08 13:55 ` Lars Magne Ingebrigtsen
2013-08-08 14:06 ` Christopher Schmidt
2013-08-08 14:09 ` Lars Magne Ingebrigtsen
2013-08-08 15:43 ` Romain Francoise
2013-08-08 15:52 ` Lars Magne Ingebrigtsen
2013-08-11 19:51 ` Lars Magne Ingebrigtsen
2013-08-08 14:47 ` Stefan Monnier
2013-08-11 19:47 ` Lars Magne Ingebrigtsen
2013-08-12 0:54 ` Stefan Monnier
2013-08-12 14:05 ` Lars Magne Ingebrigtsen
2013-08-12 15:09 ` Stefan Monnier
2013-08-12 15:20 ` Eli Zaretskii
2013-08-12 16:27 ` Lars Magne Ingebrigtsen
2013-08-12 16:42 ` Eli Zaretskii
2013-08-12 12:13 ` Eli Zaretskii [this message]
2013-08-12 12:21 ` Eli Zaretskii
2013-08-12 13:06 ` Lars Magne Ingebrigtsen
2013-08-12 13:29 ` Eli Zaretskii
2013-08-13 23:40 ` Lars Magne Ingebrigtsen
2013-08-14 13:09 ` Lars Magne Ingebrigtsen
2013-08-14 15:12 ` Eli Zaretskii
2013-08-17 15:01 ` Lars Magne Ingebrigtsen
2013-08-17 15:27 ` Eli Zaretskii
2013-08-17 17:04 ` Eli Zaretskii
2013-08-18 17:06 ` Lars Magne Ingebrigtsen
2013-08-07 18:25 ` Rüdiger Sonderfeld
2013-08-07 21:06 ` FFI (was: Mysterious gzipped images) Stefan Monnier
2013-08-08 0:50 ` Stephen J. Turnbull
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y587p0n6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.