emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs with Cocoa/GNUstep


From: Germán Arias
Subject: Re: Emacs with Cocoa/GNUstep
Date: Tue, 26 Apr 2011 22:38:34 -0600

On mié, 2011-04-27 at 11:56 +0800, CHENG Gao wrote:
> It works for me. I build from bzr repo frequently and now I am using
> Apr. 25 build.
> 
> ,----
> | GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.7.0, NS apple-appkit-1038.35)
> |  of 2011-04-25
> `----

Hi, I have the revision:

revision-id:
address@hidden                  
date: 2011-04-26 21:17:44 -0500
build-date: 2011-04-26 22:24:07 -0600
revno: 104022
branch-nick: trunk

In gNewSense Delta H with GCC 4.2 and latest GNUstep packages. Compiling
with:

./autogen.sh
./configure --with-ns
make bootstrap (if necessary)
make install


First I noticed some methods that are not present on GNUstep:

nsterm.m: In function ‘ns_update_end’:
nsterm.m:738: warning: ‘NSView’ may not respond to
‘-unlockFocusNeedsFlush:’
nsterm.m:738: warning: (Messages without a matching method signature
nsterm.m:738: warning: will be assumed to return ‘id’ and accept
nsterm.m:738: warning: ‘...’ as arguments.)

...
...

nsfns.m: In function ‘Fns_convert_utf8_nfd_to_nfc’:
nsfns.m:1974: warning: ‘NSString’ may not respond to
‘-precomposedStringWithCanonicalMapping’
nsfns.m:1974: warning: (Messages without a matching method signature
nsfns.m:1974: warning: will be assumed to return ‘id’ and accept
nsfns.m:1974: warning: ‘...’ as arguments.)


This is not a problem, for the moment, the problem is:

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/home/german/Instalados/emacs/src 
-I../lib -I/home/german/Instalados/emacs/src/../lib    -D_REENTRANT -fPIC 
-fno-strict-aliasing    -I/usr/include/libxml2         -MMD -MF deps/nsmenu.d   
-Wimplicit-function-declaration -Wold-style-definition 
-Wdeclaration-after-statement  -g -O2 -fgnu-runtime -Wno-import 
-fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE nsmenu.m
nsmenu.m: In function ‘ns_update_menubar’:
nsmenu.m:229: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:230: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:231: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:233: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:235: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:349: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:410: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m:437: error: ‘struct Lisp_Vector’ has no member named ‘size’
nsmenu.m: In function ‘-[EmacsMenu fillWithWidgetValue:]’:
nsmenu.m:690: warning: passing argument 1 of ‘setAction:’ from
incompatible pointer type
nsmenu.m: In function ‘-[EmacsMenu addSubmenuWithTitle:forFrame:]’:
nsmenu.m:711: warning: passing argument 2 of
‘addItemWithTitle:action:keyEquivalent:’ from incompatible pointer type
make[2]: *** [nsmenu.o] Error 1
make[2]: Leaving directory `/home/german/Instalados/emacs/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/german/Instalados/emacs'
make: *** [bootstrap] Error 2


I get this error after the update I did today. Before it, the app
compiled OK, but had problems to launch. I was investigating that issue,
but after the update I can't compile the app again. Because I get the
error above.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]