From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sun Yijiang Newsgroups: gmane.emacs.devel Subject: Re: ANN: Emacs.app 9.0-pre1 Date: Tue, 8 Nov 2005 10:52:08 +0800 Message-ID: <5065e2900511071852m4d68b59m@mail.gmail.com> References: <5065e2900511070017l7fd6bcbt@mail.gmail.com> <277EBE35-B984-4737-9ABD-36C095A10261@cogsci.ucsd.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0924551308==" X-Trace: sea.gmane.org 1131418475 30208 80.91.229.2 (8 Nov 2005 02:54:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 02:54:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 08 03:54:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZJbe-0007Fs-Qx for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2005 03:53:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZJbd-0003O1-Lu for ged-emacs-devel@m.gmane.org; Mon, 07 Nov 2005 21:53:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZJau-000354-Gv for emacs-devel@gnu.org; Mon, 07 Nov 2005 21:52:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZJam-000342-KV for emacs-devel@gnu.org; Mon, 07 Nov 2005 21:52:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZJak-00033j-8w for emacs-devel@gnu.org; Mon, 07 Nov 2005 21:52:10 -0500 Original-Received: from [64.233.184.207] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EZJak-0000C7-DU for emacs-devel@gnu.org; Mon, 07 Nov 2005 21:52:10 -0500 Original-Received: by wproxy.gmail.com with SMTP id 58so52632wri for ; Mon, 07 Nov 2005 18:52:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=E8+DsG9of+hrqVgCJW/YMP1FdUsLcl1RXcJ8HHHEAmKDcny19mAgik3zWHYJ/tbE8qKceduLp5E2M/5knrUGF4+K4wEJtcMRUfs+VoYuWHQpfe6aGALq667S+jDzqnJUpHjtnw2enLbJcmfGdlkS1YXkn+9wUfr/OH8ltIj9hKs= Original-Received: by 10.54.151.11 with SMTP id y11mr141599wrd; Mon, 07 Nov 2005 18:52:08 -0800 (PST) Original-Received: by 10.54.103.17 with HTTP; Mon, 7 Nov 2005 18:52:08 -0800 (PST) Original-To: Adrian Robert In-Reply-To: <277EBE35-B984-4737-9ABD-36C095A10261@cogsci.ucsd.edu> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45574 Archived-At: --===============0924551308== Content-Type: multipart/alternative; boundary="----=_Part_20679_19813116.1131418328714" ------=_Part_20679_19813116.1131418328714 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you Adrian. This is my env, generally speaking, it's Gentoo 2005.1with gcc 3.4.4 and gnustep from `ACCEPT_KEYWORDS=3D"~x86" emerge gnustep-env'. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # uname -a Linux SUN 2.6.13-gentoo-r5 #3 Sun Oct 30 21:32:52 CST 2005 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux # gcc -v Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=3D/usr --bindir=3D/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=3D/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=3D/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=3D/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=3D/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=3D/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v= 3 --host=3Di686-pc-linux-gnu --build=3Di686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=3Dc,c++,objc,f77 --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) # emerge -s gnustep * gnustep-base/gnustep-back-art Latest version installed: 0.9.6-r1 * gnustep-base/gnustep-back-xlib Latest version installed: [ Not Installed ] * gnustep-base/gnustep-base Latest version installed: 1.10.3-r1 * gnustep-base/gnustep-env Latest version installed: 0.1.6-r1 * gnustep-base/gnustep-gui Latest version installed: 0.9.5 * gnustep-base/gnustep-make Latest version installed: 1.10.0-r2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I googled for a while after that reply, and found the same suggestion as yo= u gave. It works for compiling *.m to *.o, but there're still error messages when gcc links *.o to `temacs', all are "undefined reference to whatwhatwhat". I added `-lobjc' to the gcc link command line, some errors gone, but still many like "undefined reference to NSxxx" and "undefined reference to __objc_class_name_NSxxx". I searched the GNUStep directory, found no *.a but only *.so. I'm stuck here. 2005/11/7, Adrian Robert : > > > > On Nov 7, 2005, at 3:17 AM, Sun Yijiang wrote: > > > I have GNUStep installed on my GNU/Linux, but got this error message: > > # make > > gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/home/sun/ > > sandbox/emacs-23.0.0_NS-9.0pre1/src -D_BSD_SOURCE -g -O2 nsterm.m > > nsterm.m: In function `ns_init_paths': > > nsterm.m:292: error: cannot find interface declaration for > > `NXConstantString' > > Try editing nextstep/compile and add > > -fconstant-string-class=3DNSConstantString > > to the CFLAGS variable setting for the GNUstep case. Then rm ../ > config.log and invoke ./compile again. (The other warnings are "OK"..) > > At one point I needed that flag when compiling it under GNUstep, but > then I stopped needing it and I'd assumed that it was because of some > other flag settings rendering it unnecessary -- but it looks like I > might have been wrong. What OS and gcc version are you running? > What version of gnustep? > > Adrian > > > > ------=_Part_20679_19813116.1131418328714 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you Adrian.  This is my env, generally speaking, it's Gentoo 2005.1 with gcc 3.4.4 and gnustep from `ACCEPT_KEYWORDS=3D"~x86" = emerge gnustep-env'.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# uname -a
Linux SUN 2.6.13-gentoo-r5 #3 Sun Oct 30 21:32:52 CST 2005 i686 Intel(R) Pe= ntium(R) M processor 1.86GHz GenuineIntel GNU/Linux

# gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=3D/usr --bindir=3D/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=3D/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=3D/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=3D/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=3D/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=3D/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v= 3 --host=3Di686-pc-linux-gnu --build=3Di686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=3Dc,c++,objc,f77 --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

# emerge -s gnustep
*  gnustep-base/gnustep-back-art
      Latest version installed: 0.9.6-r1

*  gnustep-base/gnustep-back-xlib
      Latest version installed: [ Not Installed ]<= br>
*  gnustep-base/gnustep-base
      Latest version installed: 1.10.3-r1

*  gnustep-base/gnustep-env
      Latest version installed: 0.1.6-r1

*  gnustep-base/gnustep-gui
      Latest version installed: 0.9.5

*  gnustep-base/gnustep-make
      Latest version installed: 1.10.0-r2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I googled for a while after that reply, and found the same suggestion as you gave.  It works for compiling *.m to *.o, but there're still error messages when gcc links *.o to `temacs', all are "undefine= d reference to whatwhatwhat".  I added `-lobjc' to the gcc link command line, some errors gone, but still many like "undefined reference to NSxxx" and "undefined reference to __objc_class_name_NSxxx".  I searched the GNUStep directory, foun= d no *.a but only *.so.  I'm stuck here.

2005/11/7, Adrian Robert <arobert@cogsci.ucsd.edu>:


On Nov 7, 2005, at 3:17 AM, Sun Yijiang wrote:

> I have G= NUStep installed on my GNU/Linux, but got this error message:
> # mak= e
> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H &nb= sp; -I. -I/home/sun/
> sandbox/emacs-23.0.0_NS-9.0pre1/src -D_BSD_SOURCE -g -O2 nsterm.m<= br>> nsterm.m: In function `ns_init_paths':
> nsterm.m:292: error:= cannot find interface declaration for
> `NXConstantString'

Try editing nextstep/compile and add

  -fconstant-string-c= lass=3DNSConstantString

to the CFLAGS variable setting for the GNUst= ep case.  Then rm ../
config.log and invoke ./compile again.&n= bsp; (The other warnings are "OK"..)

At one point I needed that flag when compiling it under GNUstep, bu= t
then I stopped needing it and I'd assumed that it was because of some<= br>other flag settings rendering it unnecessary -- but it looks like I
might have been wrong.  What OS and gcc version are you running?<= br>What version of gnustep?

Adrian




------=_Part_20679_19813116.1131418328714-- --===============0924551308== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0924551308==--