From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Germ=E1n?= "A. Arias" Newsgroups: gmane.emacs.devel Subject: Emacs with GNUstep Date: Fri, 28 Dec 2012 19:00:13 -0600 Message-ID: <1356742813.1641.3.camel@german-desktop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356742825 30983 80.91.229.3 (29 Dec 2012 01:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Dec 2012 01:00:25 +0000 (UTC) To: Emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 29 02:00:41 2012 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 1Tokn3-0007iT-21 for ged-emacs-devel@m.gmane.org; Sat, 29 Dec 2012 02:00:41 +0100 Original-Received: from localhost ([::1]:57496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tokmo-0007Lo-Du for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2012 20:00:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tokml-0007Li-N2 for emacs-devel@gnu.org; Fri, 28 Dec 2012 20:00:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tokmh-0002Qe-MX for emacs-devel@gnu.org; Fri, 28 Dec 2012 20:00:23 -0500 Original-Received: from mail-gh0-f181.google.com ([209.85.160.181]:38491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tokmh-0002Qa-IN for emacs-devel@gnu.org; Fri, 28 Dec 2012 20:00:19 -0500 Original-Received: by mail-gh0-f181.google.com with SMTP id y8so1188834ghb.40 for ; Fri, 28 Dec 2012 17:00:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:subject:from:to:date:content-type:x-mailer :content-transfer-encoding:mime-version:x-gm-message-state; bh=WqqiE9UJitNtTeNUuQIpjd9S4GRcRvXHDN2kyc5QJVs=; b=MRh28YDtT3yry9+2o/pV9k9/6nRrCIhNtEe8cd+58fHNIGZpNGAbSgbi5qJwbBFbCn Hn3IiLNEa1/Z6G+tmrD+FZmgQdwv/wE3ycENwW3RnuvTMFOiF6YOAbSzzYUBg61eB2rV Sz1NsjC0S3MuG0hl5KCAHc7VHhUvLnx6c4uSfkNZAYzm1cI3cjXAMwLQkgfoEFheJoyc WrbnyVoIL1IdrFx56umvs/uCkX3bcksDE5jj0xj6IYNaD3sXujlankY85S7Pcg/mvg7+ WmaAKDwfguU4KMjOYOZquT2BIheiDkMmaNxk2ZCEGCOauJNuRrqXJyeMo8gam5n2Zdy7 RiTA== X-Received: by 10.101.4.40 with SMTP id g40mr4858662ani.28.1356742818376; Fri, 28 Dec 2012 17:00:18 -0800 (PST) Original-Received: from [192.168.1.2] ([190.149.96.9]) by mx.google.com with ESMTPS id e7sm28038761ang.8.2012.12.28.17.00.16 (version=SSLv3 cipher=OTHER); Fri, 28 Dec 2012 17:00:17 -0800 (PST) X-Mailer: Evolution 3.2.2- X-Gm-Message-State: ALoCoQkRsvB94Z7B80E33hnVRj9oWjKtlM+qR/ZTmfQC9vqQy3V0sucUN9EgJaBuLrd+QQjaTyp7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.181 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:155971 Archived-At: With pretest 24.2.91 I had a problem to compile. I get something like: gcc -std=gnu99 -rdynamic -Demacs -I. -I/home/german/Instalados/desde-codigo/emacs-24.2.91/src -I../lib -I/home/german/Instalados/desde-codigo/emacs-24.2.91/src/../lib -D_REENTRANT -fPIC -fno-strict-aliasing -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -MMD -MF deps/.d -MP -g3 -O2 -L/usr/GNUstep/System/Library/Libraries -L/usr/GNUstep/Local/Library/Libraries -lgnustep-gui -lgnustep-base -lobjc -lpthread \ -o temacs dispnew.o frame.o scroll.o xdisp.o menu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o profiler.o fontset.o fringe.o image.o nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o terminfo.o lastfile.o vm-limit.o ../lib/libgnu.a -lrt -lrt -ldbus-1 -lpthread -lrt -lxml2 -ltinfo -lselinux -lgnutls -lpthread -lm nsterm.o: In function `ns_constrain_all_frames': /home/german/Instalados/desde-codigo/emacs-24.2.91/src/nsterm.m:574: undefined reference to `objc_msg_lookup' the gnustep libraries flags are present. But this don't works. Googling I found this: http://stackoverflow.com/questions/11425120/objective-c-on-linux-compile-error So, I solved the problem adding "-Wl,--no-as-needed" at line 4360 in configure.ac: LD_SWITCH_SYSTEM_TEMACS="${LD_SWITCH_SYSTEM_TEMACS} -L ${GNUSTEP_SYSTEM_LIBRARIES} ${GNUSTEP_LOCAL_LIBRARIES} -Wl,--no-as-needed -lgnustep-gui -lgnustep-base -lobjc -lpthread" Could be possible add this flag in trunk? Thanks.