GNU bug report logs - #61988
error compiling emacs

Previous Next

Package: emacs;

Reported by: Ugo Tomei <utomei <at> tiscali.it>

Date: Sun, 5 Mar 2023 19:03:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #51 received at 61988 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Ugo Tomei" <utomei <at> tiscali.it>
Cc: luangruo <at> yahoo.com, 61988 <at> debbugs.gnu.org
Subject: Re: bug#61988: error compiling emacs
Date: Tue, 07 Mar 2023 16:11:14 +0200
> From: "Ugo Tomei" <utomei <at> tiscali.it>
> Date: Tue, 7 Mar 2023 14:36:19 +0100
> 
> If i remove libwebpdecoder3 on my ubuntu 22.04 emacs compile well.

Compiles and supports display of WebP images?  Or compiles without
WebP support?  What does the "configure" script say when it ends? does
it say

  Does Emacs use -lwebp?                                  yes

or does not say

  Does Emacs use -lwebp?                                  no

> If I install libwebpdecoder3 not compile (/usr/bin/ld:
> /lib/x86_64-linux-gnu/libwebp.so.7: error adding symbols: DSO missing from
> command line):
> 
>   CC       textconv.o
>   CC       xgselect.o
>   CC       json.o
>   CC       terminfo.o
>   CC       lastfile.o
>   CCLD     temacs
>   GEN      ../etc/DOC
> /usr/bin/ld: image.o: undefined reference to symbol 'WebPGetInfo'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libwebp.so.7: error adding symbols: DSO
> missing from command line

Please show the parts of config.log where the configure script makes
the WebP related tests.  Here's what I see on my system:

  configure:14271: checking for libwebpdemux >= 0.6.0
  configure:14278: $PKG_CONFIG --exists --print-errors "$WEBP_MODULE"
  configure:14281: $? = 0
  configure:14295: $PKG_CONFIG --exists --print-errors "$WEBP_MODULE"
  configure:14298: $? = 0
  configure:14336: result: yes
  configure:14350: checking for WebPGetInfo
  configure:14350: gcc -I ./nt/inc -o conftest.exe -O0 -gdwarf-4 -g3 -mms-bitfields -isystem d:/usr/include/librsvg-2.0 -isystem d:/usr/include/gdk-pixbuf-2.0 -isystem d:/usr/include/libpng16 -isystem d:/usr/include/cairo -isystem d:/usr/include/glib-2.0 -isystem d:/usr/lib/glib-2.0/include -isystem d:/usr/include/pixman-1 -isystem d:/usr/include/libpng16   -mtune=pentium4    conftest.c   -lwebpdemux -lwebp  >&5 
  configure:14350: $? = 0
  configure:14350: result: yes




This bug report was last modified 1 year and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.