GNU bug report logs -
#30240
emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30240 in the body.
You can then email your comments to 30240 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30240
; Package
emacs
.
(Wed, 24 Jan 2018 19:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matt Armstrong <marmstrong <at> google.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 24 Jan 2018 19:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I built from the emacs-26 branch:
$ git checkout emacs-26
$ git log -l
commit 59db8dca030ba6a34d143c3cc6715f02beba1068 (HEAD -> emacs-26, origin/emacs-26)
Author: Robert Pluim <rpluim <at> gmail.com>
Date: Wed Jan 24 08:55:34 2018 +0100
Use scaled coordinates when calling into GTK
This is part two of a two part fix for the GTK scaling
problems. See the thread starting at
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html
for an explanation of why it has been added to Emacs 26.
* src/gtkutil.c (xg_set_geometry): Scale down the coordinates that we
pass to gtk_window_move and to gtk_window_parse_geometry.
* src/xterm.c (x_set_offset): Likewise.
$ ./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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30240
; Package
emacs
.
(Wed, 24 Jan 2018 20:07:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 30240 <at> debbugs.gnu.org (full text, mbox):
> $ ./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
bug closed, send any further explanations to
30240 <at> debbugs.gnu.org and Matt Armstrong <marmstrong <at> google.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 24 Jan 2018 21:01:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30240
; Package
emacs
.
(Wed, 24 Jan 2018 23:41:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 30240 <at> debbugs.gnu.org (full text, mbox):
martin rudalics <rudalics <at> gmx.at> writes:
> Should have been fixed in the meantime. Please try again.
Thank you, yes, I confirmed the issue fixed.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 22 Feb 2018 12:24:03 GMT)
Full text and
rfc822 format available.
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.