GNU bug report logs - #30240
emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid

Previous Next

Package: emacs;

Reported by: Matt Armstrong <marmstrong <at> google.com>

Date: Wed, 24 Jan 2018 19:45:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Matt Armstrong <marmstrong <at> google.com>, 30240 <at> debbugs.gnu.org
Subject: bug#30240: emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid
Date: Wed, 24 Jan 2018 21:06:21 +0100
> $ ./autogen.sh
> $ ./configure --with-x-toolkit=lucid --prefix=$HOME/opt/emacs-git
> $ make clean && make bootstrap
> [...]
> xterm.c: In function `x_set_offset`:
> xterm.c:10313:15: warning: implicit declaration of function `xg_get_scale` [-Wimplicit-function-declaration]
>     int scale = xg_get_scale (f);
>                 ^~~~~~~~~~~~
> xterm.c:10313:3: warning: nested extern declaration of `x_get_scale` [-Wnested-externs]
>     int scale = xg_get_scale (f);
>     ^~~
> xterm.c:10313:7: warning: unused variable `scale` [-Wunused-variable]
>     int scale = xg_get_scale (f);
>         ^~~~~
> [...]
> xterm.o: In function `x_set_offset':
> /usr/local/google/home/marmstrong/git/emacs/src/xterm.c:10313: undefined reference to `xg_get_scale'
> collect2: error: ld returned 1 exit status
> Makefile:600: recipe for target 'temacs' failed

Should have been fixed in the meantime.  Please try again.

Thanks, martin






This bug report was last modified 7 years and 202 days ago.

Previous Next


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