From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: andres.ramirez Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs for GNUstep Date: Fri, 11 Jul 2014 14:58:14 -0500 Message-ID: <87ion3mzvt.wl%andres.ramirez@kipuamutay.com> References: <53BCE582.8020402@yandex.ru> <87d2dc50do.wl%andres.ramirez@kipuamutay.com> <27EB515E-F1DA-4FA9-8C90-FD4191E31C16@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405108821 16401 80.91.229.3 (11 Jul 2014 20:00:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 20:00:21 +0000 (UTC) Cc: Dmitry Antipov , Stefan Monnier , emacs-devel@gnu.org To: Jan =?UTF-8?B?RGrDpHJ2?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 22:00:13 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5gzK-0005Nb-TJ for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 22:00:11 +0200 Original-Received: from localhost ([::1]:46495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5gzK-0003YZ-A8 for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 16:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5gzC-0003VC-Is for emacs-devel@gnu.org; Fri, 11 Jul 2014 16:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5gz5-0005l4-WA for emacs-devel@gnu.org; Fri, 11 Jul 2014 16:00:02 -0400 Original-Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]:35114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5gz5-0005km-Rl for emacs-devel@gnu.org; Fri, 11 Jul 2014 15:59:55 -0400 Original-Received: by mail-yk0-f173.google.com with SMTP id q200so270496ykb.18 for ; Fri, 11 Jul 2014 12:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=0h1nkeaICI1XQ2sHZ1eXIQBZfy4sPTIhNmCsIIG+vs0=; b=QnqbnQo+g3ucIg6pDuQ6SiesGQ4MfGRUz/wxDvQ21KtPXKd/3ccVXN2QeMvQoxynnY AOC9gnQQJNn/sSJFThq/0PdQParA3u2FXeAhptqg20l1/fnMzuHxxV18V86eyV6HuKJ0 dpsYrYwDI4ga2vLDXXm1+OT6Z2GZNW0QtwiXP2hV0TMLyd/6ekoD+xxEtR5tpgTZnJB9 f5T1aNxQ1pekOE3K61y7abwfJw1rQ5Dtf85gzwcTNMvkCJOWGeYHbGHaw27HxlXQLeVF 6wCvhIRFLh7CcVHWjSb7n7CFlAz6QVYjCg9ZlpLclbqbS3NYJdwtmMN21PcIiCFOauws w9hA== X-Received: by 10.236.165.199 with SMTP id e47mr1687439yhl.12.1405108794464; Fri, 11 Jul 2014 12:59:54 -0700 (PDT) Original-Received: from tiahua.kipuamutay.com ([190.43.246.202]) by mx.google.com with ESMTPSA id w36sm7016174yhn.4.2014.07.11.12.59.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jul 2014 12:59:53 -0700 (PDT) In-Reply-To: <27EB515E-F1DA-4FA9-8C90-FD4191E31C16@swipnet.se> X-Mailer: Wanderlust/2.15.9 X-Attribution: AR User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172995 Archived-At: Hi Jan. $ gcc --version gcc (GCC) 4.9.0 20140604 (prerelease) compiling with gcc the ns port; after installing with the package manager (no dev versions): gcc-objc gnustep-libobjc2-git gnustep-make 2.6.6-1 gnustep-base 1.24.6-1 gnustep-gui 0.24.0-2 with ./configure --with-ns --with-gnustep-conf=3D/etc/GNUstep/GNUstep.conf checking if GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS... no checking AppKit/AppKit.h usability... no checking AppKit/AppKit.h presence... yes configure: WARNING: AppKit/AppKit.h: present but cannot be compiled configure: WARNING: AppKit/AppKit.h: check for missing prerequisite hea= ders? configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation configure: WARNING: AppKit/AppKit.h: section "Present But Cannot Be Com= piled" configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's result checking for AppKit/AppKit.h... no configure: error: `--with-ns' was specified, but the include files are missing or cannot be compiled. checking the cotent of config.log this is found: configure:10234: result: no configure:10246: checking AppKit/AppKit.h usability configure:10246: gcc -std=3Dgnu99 -c -g3 -O2 -x objective-c -I/usr/include = -I/usr/include -x objective-c -I/usr/include -I/usr/include conftest.c = >&5 In file included from /usr/include/AppKit/NSPanel.h:34:0, from /usr/include/AppKit/NSColorPanel.h:39, from /usr/include/AppKit/AppKit.h:63, from conftest.c:101: /usr/include/AppKit/NSWindow.h:876:1: error: cannot find protocol declarati= on for 'NSWindowDelegate' @interface NSObject (NSWindowDelegateAdditions) Any ideas?. Regards At Fri, 11 Jul 2014 10:06:37 +0200, Jan Dj=C3=A4rv wrote: >=20 > Hello. >=20 > 11 jul 2014 kl. 00:12 skrev andres.ramirez : >=20 > > Hi Guys. Following this thread. > >=20 > > I tried to compile the ns-port on my distro (archlinux) > >=20 > >=20 > > nsterm.m:5015: error: undefined reference to 'macfont_get_nsctfont' > > nsfns.m:1391: error: undefined reference to 'macfont_get_nsctfont' > > clang: error: linker command failed with exit code 1 (use -v to see inv= ocation) > > Makefile:664: recipe for target 'temacs' failed > > make[1]: *** [temacs] Error 1 > > make[1]: Leaving directory '/home/aramirez/abs/emacs/ns/emacs-24.3.92/s= rc' > > Makefile:382: recipe for target 'src' failed > > make: *** [src] Error 2 > >=20 > > Any idea how to solve this?. >=20 > The clang preprocessor seems to be broken. Use gcc. >=20 > Jan D. >=20