From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 6863@debbugs.gnu.org
Subject: bug#6863: 24.0.50; ld: duplicate symbol _QPRIMARY in nsselect.o and keyboard.o
Date: Mon, 16 Aug 2010 16:22:33 +0200 [thread overview]
Message-ID: <97C958E7-9D66-4786-9F22-7CCD0CE6A9C1@Freenet.DE> (raw)
In-Reply-To: <4C68F25F.1090807@swipnet.se>
Am 16.08.2010 um 10:10 schrieb Jan Djärv:
> I checked in a fix.
I'm not sure whether it's your fix – but compilation of the NS variant
fails here:
gcc-4.2 -I/sw/include -L/sw/lib -c -Demacs -DHAVE_CONFIG_H -I. -I/
Users/pete/Quellen/Emacs_CVS/emacs-24/src -I/usr/X11/
include -MMD -MF deps/nsselect.d -Wimplicit-function-
declaration -Wold-style-definition -Wdeclaration-after-statement -Wno-
pointer-sign -g -H -Wno-pointer-sign -pipe -fPIC -fno-common -
mcpu=7450 -mtune=7450 -fast nsselect.m
. ./config.h
.. ./s/darwin.h
.. ./m/macppc.h
................ [902 more C header files omitted]
nsselect.m:40: error: expected identifier or ‘(’ before ‘<<’ token
nsselect.m:42: error: expected identifier or ‘(’ before ‘==’ token
nsselect.m:44: error: expected identifier or ‘(’ before ‘>>’ token
nsselect.m: In function ‘symbol_to_nsstring’:
nsselect.m:70: error: ‘QCLIPBOARD’ undeclared (first use in this
function)
nsselect.m:70: error: (Each undeclared identifier is reported only once
nsselect.m:70: error: for each function it appears in.)
nsselect.m:72: error: ‘QSECONDARY’ undeclared (first use in this
function)
nsselect.m:73: error: ‘QTEXT’ undeclared (first use in this function)
nsselect.m: In function ‘ns_string_to_symbol’:
nsselect.m:82: error: ‘QCLIPBOARD’ undeclared (first use in this
function)
nsselect.m:86: error: ‘QSECONDARY’ undeclared (first use in this
function)
nsselect.m:88: error: ‘QTEXT’ undeclared (first use in this function)
nsselect.m:90: error: ‘QFILE_NAME’ undeclared (first use in this
function)
nsselect.m: In function ‘ns_handle_selection_request’:
nsselect.m:267: error: ‘Vns_sent_selection_hooks’ undeclared (first
use in this function)
nsselect.m: In function ‘ns_string_from_pasteboard’:
nsselect.m:357: warning: ‘cString’ is deprecated (declared at /System/
Library/Frameworks/Foundation.framework/Headers/NSString.h:345)
nsselect.m:362: warning: ‘lossyCString’ is deprecated (declared at /
System/Library/Frameworks/Foundation.framework/Headers/NSString.h:346)
nsselect.m: In function ‘Fx_selection_exists_p’:
nsselect.m:453: error: ‘QSECONDARY’ undeclared (first use in this
function)
nsselect.m: In function ‘Fx_selection_owner_p’:
nsselect.m:473: error: ‘QSECONDARY’ undeclared (first use in this
function)
nsselect.m: In function ‘syms_of_nsselect’:
nsselect.m:559: error: expected expression before ‘<<’ token
nsselect.m:560: error: ‘QCLIPBOARD’ undeclared (first use in this
function)
nsselect.m:562: error: expected expression before ‘==’ token
nsselect.m:564: error: ‘QSECONDARY’ undeclared (first use in this
function)
nsselect.m:565: error: ‘QTEXT’ undeclared (first use in this function)
nsselect.m:566: error: ‘QFILE_NAME’ undeclared (first use in this
function)
nsselect.m:582: error: ‘Vns_sent_selection_hooks’ undeclared (first
use in this function)
make[1]: *** [nsselect.o] Error 1
--
Greetings
Pete
Think of XML as Lisp for COBOL programmers.
- Tony-A (some guy on /.)
next prev parent reply other threads:[~2010-08-16 14:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-15 20:20 bug#6863: 24.0.50; ld: duplicate symbol _QPRIMARY in nsselect.o and keyboard.o Peter Dyballa
2010-08-16 6:37 ` Jan Djärv
2010-08-16 7:39 ` Peter Dyballa
2010-08-16 8:10 ` Jan Djärv
2010-08-16 14:22 ` Peter Dyballa [this message]
2010-08-16 15:06 ` Jan Djärv
2010-08-16 14:33 ` Peter Dyballa
2010-08-16 15:09 ` Jan Djärv
2010-08-16 15:21 ` Peter Dyballa
2010-08-16 15:43 ` Peter Dyballa
2010-08-17 6:06 ` Jan Djärv
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97C958E7-9D66-4786-9F22-7CCD0CE6A9C1@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=6863@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/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 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.