unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6864: 24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o
@ 2010-08-15 21:36 Peter Dyballa
  2010-08-16  7:56 ` Jan Djärv
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2010-08-15 21:36 UTC (permalink / raw)
  To: 6864

Hello!

Compilation of the X client (Xaw3d) fails with the message cited in  
the subject.

pete 234 /\ l src/{xselect.c,keyboard.c}
-rw-r--r-- 1 pete admin 383764 15. Aug 20:46 src/keyboard.c
-rw-r--r-- 1 pete admin  94275 15. Aug 20:46 src/xselect.c
pete 235 /\ grep -n QPRIMARY src/{xselect.c,keyboard.c}
src/xselect.c:110:Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER,  
QCLIPBOARD, QTIMESTAMP,
src/xselect.c:257:  if (EQ (sym, QPRIMARY))   return XA_PRIMARY;
src/xselect.c:309:      return QPRIMARY;
src/xselect.c:2218:  if (EQ (selection, Qnil)) selection = QPRIMARY;
src/xselect.c:2249:  if (EQ (selection, Qnil)) selection = QPRIMARY;
src/xselect.c:2920:  /* QPRIMARY is defined in keyboard.c.  */
src/keyboard.c:371:Lisp_Object Qx_set_selection, QPRIMARY, Qlazy;
src/keyboard.c:1803:		call2 (Qx_set_selection, QPRIMARY,
src/keyboard.c:1806:		call2 (Qx_set_selection, QPRIMARY,
src/keyboard.c:11719:  QPRIMARY = intern_c_string ("PRIMARY");
src/keyboard.c:11720:  staticpro (&QPRIMARY);

--
Greetings

   Pete

No man was ever taken to hell by a woman unless he already had a  
ticket in his pocket, or at least had been fooling around with  
timetables.
				– Archie Goodwin






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

* bug#6864: 24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o
  2010-08-15 21:36 bug#6864: 24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o Peter Dyballa
@ 2010-08-16  7:56 ` Jan Djärv
       [not found]   ` <F912C591-1892-47FA-93CC-557F1CF661A1@Freenet.DE>
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2010-08-16  7:56 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 6864-done

This only happens when -fno-common is used, so nobody has seen this yet.
But no-common may be default on some platforms so we should not rely on it.

Fix checked in.

	Jan D.

2010-08-15 23:36, Peter Dyballa skrev:
> Hello!
>
> Compilation of the X client (Xaw3d) fails with the message cited in the
> subject.
>
> pete 234 /\ l src/{xselect.c,keyboard.c}
> -rw-r--r-- 1 pete admin 383764 15. Aug 20:46 src/keyboard.c
> -rw-r--r-- 1 pete admin 94275 15. Aug 20:46 src/xselect.c
> pete 235 /\ grep -n QPRIMARY src/{xselect.c,keyboard.c}
> src/xselect.c:110:Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER,
> QCLIPBOARD, QTIMESTAMP,
> src/xselect.c:257: if (EQ (sym, QPRIMARY)) return XA_PRIMARY;
> src/xselect.c:309: return QPRIMARY;
> src/xselect.c:2218: if (EQ (selection, Qnil)) selection = QPRIMARY;
> src/xselect.c:2249: if (EQ (selection, Qnil)) selection = QPRIMARY;
> src/xselect.c:2920: /* QPRIMARY is defined in keyboard.c. */
> src/keyboard.c:371:Lisp_Object Qx_set_selection, QPRIMARY, Qlazy;
> src/keyboard.c:1803: call2 (Qx_set_selection, QPRIMARY,
> src/keyboard.c:1806: call2 (Qx_set_selection, QPRIMARY,
> src/keyboard.c:11719: QPRIMARY = intern_c_string ("PRIMARY");
> src/keyboard.c:11720: staticpro (&QPRIMARY);
>
> --
> Greetings
>
> Pete
>
> No man was ever taken to hell by a woman unless he already had a ticket
> in his pocket, or at least had been fooling around with timetables.
> – Archie Goodwin
>
>
>






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

* bug#6864: 24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o
       [not found]   ` <F912C591-1892-47FA-93CC-557F1CF661A1@Freenet.DE>
@ 2010-08-16 12:49     ` Jan Djärv
  2010-08-16 13:09       ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2010-08-16 12:49 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 6864


2010-08-16 13:37, Peter Dyballa skrev:
>
> Am 16.08.2010 um 09:56 schrieb Jan Djärv:
>
>> Fix checked in.
>
> Jan,
>
> GNU Emacs compiles now, but it seems to have a problem with
> <down-mouse-2>... Usually it would insert text from a previous copy.
> This fails. When I use the paste entry from the Edit menu, which is
> bound to C-y, it inserts a text from the Mac OS X pasteboard, not from
> the X (PRIMARY) selection. When I switch from the X client GNU Emacs to
> a native Aqua/Mac OS X application, the old X selection is now available
> on <down-mouse-2>...

AFAIK, that is now how it is supposed to work.  Mouse-2 inserts from PRIMARY 
and C-y from clipboard.  I assume X maps clipboard to pasteboard.  See threads 
in emacs-devel about this.

	Jan D.





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

* bug#6864: 24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o
  2010-08-16 12:49     ` Jan Djärv
@ 2010-08-16 13:09       ` Peter Dyballa
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2010-08-16 13:09 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 6864


Am 16.08.2010 um 14:49 schrieb Jan Djärv:

> I assume X maps clipboard to pasteboard.

Yes, the X server performs this service, after it has been enabled and  
configured. It works well in the three or four weeks old GNU Emacs  
24.0.50 (and elder versions like 23.2 or 22.3), but *has failed* in  
the up-to-date build – probably by some library mismatch, proved by  
next build.

--
Greetings

   Pete

Rain is saved up in cloud banks.






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

end of thread, other threads:[~2010-08-16 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-15 21:36 bug#6864: 24.0.50; ld: duplicate symbol _QPRIMARY in keyboard.o and xselect.o Peter Dyballa
2010-08-16  7:56 ` Jan Djärv
     [not found]   ` <F912C591-1892-47FA-93CC-557F1CF661A1@Freenet.DE>
2010-08-16 12:49     ` Jan Djärv
2010-08-16 13:09       ` Peter Dyballa

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