all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30240: emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid
@ 2018-01-24 19:44 Matt Armstrong
  2018-01-24 20:06 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Armstrong @ 2018-01-24 19:44 UTC (permalink / raw
  To: 30240


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@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#30240: emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid
  2018-01-24 19:44 bug#30240: emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid Matt Armstrong
@ 2018-01-24 20:06 ` martin rudalics
  2018-01-24 23:40   ` Matt Armstrong
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2018-01-24 20:06 UTC (permalink / raw
  To: Matt Armstrong, 30240

 > $ ./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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#30240: emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid
  2018-01-24 20:06 ` martin rudalics
@ 2018-01-24 23:40   ` Matt Armstrong
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Armstrong @ 2018-01-24 23:40 UTC (permalink / raw
  To: martin rudalics; +Cc: 30240

martin rudalics <rudalics@gmx.at> writes:

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

Thank you, yes, I confirmed the issue fixed.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-24 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24 19:44 bug#30240: emacs-26; xterm.c: undefined reference to `xg_get_scale' happens with --with-x-toolkit=lucid Matt Armstrong
2018-01-24 20:06 ` martin rudalics
2018-01-24 23:40   ` Matt Armstrong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.