unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: bug-gnu-emacs@gnu.org
Subject: bug#4336: undefined reference to `x_any_window_to_frame'
Date: Fri, 04 Sep 2009 03:07:02 +0300	[thread overview]
Message-ID: <87r5unziu9.fsf@mail.jurta.org> (raw)

Without these lines in xterm.c:

-#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK)
-#define x_any_window_to_frame x_window_to_frame
-#define x_top_window_to_frame x_window_to_frame
-#endif

compilation fails:

xterm.o: In function `x_detect_focus_change':
emacs/src/xterm.c:3391: undefined reference to `x_any_window_to_frame'
xterm.o: In function `XTmouse_position':
emacs/src/xterm.c:3934: undefined reference to `x_any_window_to_frame'
xterm.o: In function `x_filter_event':
emacs/src/xterm.c:5736: undefined reference to `x_any_window_to_frame'
xterm.o: In function `handle_one_xevent':
emacs/src/xterm.c:5839: undefined reference to `x_any_window_to_frame'
emacs/src/xterm.c:5897: undefined reference to `x_top_window_to_frame'
emacs/src/xterm.c:5916: undefined reference to `x_any_window_to_frame'
emacs/src/xterm.c:6006: undefined reference to `x_any_window_to_frame'
emacs/src/xterm.c:6063: undefined reference to `x_top_window_to_frame'
emacs/src/xterm.c:6071: undefined reference to `x_top_window_to_frame'
emacs/src/xterm.c:6174: undefined reference to `x_top_window_to_frame'
emacs/src/xterm.c:6207: undefined reference to `x_top_window_to_frame'
emacs/src/xterm.c:6257: undefined reference to `x_any_window_to_frame'
emacs/src/xterm.c:6610: undefined reference to `x_any_window_to_frame'
emacs/src/xterm.c:6635: undefined reference to `x_top_window_to_frame'
emacs/src/xterm.c:6742: undefined reference to `x_top_window_to_frame'
ld returned 1 exit status
make[2]: *** [temacs] Error 1

in GNU Emacs 23.1.50 (x86_64-pc-linux-gnu) configured as:

  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/amdx86-64.h'
  What compiler should emacs be built with?               gcc -g3 -O0 -Wno-pointer-sign -fno-inline -fno-crossjumping
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   yes
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use -lpng?                                   yes
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   yes
  Does Emacs use toolkit scroll bars?                     no

-- 
Juri Linkov
http://www.jurta.org/emacs/






             reply	other threads:[~2009-09-04  0:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4AA09FA0.5070609@swipnet.se>
2009-09-04  0:07 ` Juri Linkov [this message]
2009-09-04  4:40   ` bug#4336: undefined reference to `x_any_window_to_frame' Jan Djärv
2009-09-04 21:01     ` Juri Linkov
2009-09-04  5:10   ` bug#4336: marked as done (undefined reference to `x_any_window_to_frame') Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5unziu9.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=4336@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).