emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mysterious gzipped images


From: Eli Zaretskii
Subject: Re: Mysterious gzipped images
Date: Mon, 12 Aug 2013 15:13:49 +0300

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Sun, 11 Aug 2013 21:47:33 +0200
> Cc: address@hidden
> 
> Stefan Monnier <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]