GNU bug report logs -
#61988
error compiling emacs
Previous Next
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
View this message in rfc822 format
Ok excuse me i try to explain better now:
I have installed libwebpdecoder3 and in the log I see:
checking for libwebpdemux >= 0.6.0... yes
Does Emacs use -lwebp? Yes
And at the end I see the error:
CCLD temacs
/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
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:705: temacs] Errore 1
make[1]: uscita dalla directory «/app/emacs/src»
make: *** [Makefile:544: src] Errore 2
-----Messaggio originale-----
Da: Eli Zaretskii <eliz <at> gnu.org>
Inviato: martedì 7 marzo 2023 15:11
A: Ugo Tomei <utomei <at> tiscali.it>
Cc: luangruo <at> yahoo.com; 61988 <at> debbugs.gnu.org
Oggetto: Re: bug#61988: error compiling emacs
> 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.