unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4336: undefined reference to `x_any_window_to_frame'
@ 2009-09-04  0:07 ` Juri Linkov
  2009-09-04  4:40   ` Jan Djärv
  2009-09-04  5:10   ` bug#4336: marked as done (undefined reference to `x_any_window_to_frame') Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Juri Linkov @ 2009-09-04  0:07 UTC (permalink / raw)
  To: bug-gnu-emacs

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/






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

* bug#4336: undefined reference to `x_any_window_to_frame'
  2009-09-04  0:07 ` bug#4336: undefined reference to `x_any_window_to_frame' Juri Linkov
@ 2009-09-04  4:40   ` 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
  1 sibling, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2009-09-04  4:40 UTC (permalink / raw)
  To: Juri Linkov, 4336; +Cc: bug-gnu-emacs

I checked in a fix.  Please try again.

	Jan D.


Juri Linkov skrev:
> 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
> 






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

* bug#4336: marked as done (undefined reference to `x_any_window_to_frame')
  2009-09-04  0:07 ` bug#4336: undefined reference to `x_any_window_to_frame' Juri Linkov
  2009-09-04  4:40   ` Jan Djärv
@ 2009-09-04  5:10   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-09-04  5:10 UTC (permalink / raw)
  To: Jan Djärv

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

Your message dated Fri, 04 Sep 2009 07:03:28 +0200
with message-id <4AA09FA0.5070609@swipnet.se>
and subject line Re: bug#4336: Info received (bug#4336: undefined reference to `x_any_window_to_frame')
has caused the Emacs bug report #4336,
regarding undefined reference to `x_any_window_to_frame'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4336: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4336
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5032 bytes --]

From: Juri Linkov <juri@jurta.org>
To: bug-gnu-emacs@gnu.org
Subject: undefined reference to `x_any_window_to_frame'
Date: Fri, 04 Sep 2009 03:07:02 +0300
Message-ID: <87r5unziu9.fsf@mail.jurta.org>

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/



[-- Attachment #3: Type: message/rfc822, Size: 2088 bytes --]

From: "Jan Djärv" <jan.h.d@swipnet.se>
To: 4336-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4336: Info received (bug#4336: undefined reference to `x_any_window_to_frame')
Date: Fri, 04 Sep 2009 07:03:28 +0200
Message-ID: <4AA09FA0.5070609@swipnet.se>

Fixed.

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

* bug#4336: undefined reference to `x_any_window_to_frame'
  2009-09-04  4:40   ` Jan Djärv
@ 2009-09-04 21:01     ` Juri Linkov
  0 siblings, 0 replies; 4+ messages in thread
From: Juri Linkov @ 2009-09-04 21:01 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 4336

> I checked in a fix.  Please try again.

Thanks, it now compiles all right.

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





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

end of thread, other threads:[~2009-09-04 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4AA09FA0.5070609@swipnet.se>
2009-09-04  0:07 ` bug#4336: undefined reference to `x_any_window_to_frame' Juri Linkov
2009-09-04  4:40   ` 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

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).