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'
nsterm.m:292: error: cannot find interface declaration for `NXConstantString'
nsterm.m:298: error: cannot find interface declaration for `NXConstantString'
nsterm.m:301: error: cannot find interface declaration for `NXConstantString'
nsterm.m:311: error: cannot find interface declaration for `NXConstantString'
nsterm.m:311: error: cannot find interface declaration for `NXConstantString'
nsterm.m:311: error: cannot find interface declaration for `NXConstantString'
nsterm.m:313: error: cannot find interface declaration for `NXConstantString'
nsterm.m:332: error: cannot find interface declaration for `NXConstantString'
nsterm.m:332: error: cannot find interface declaration for `NXConstantString'
nsterm.m:334: error: cannot find interface declaration for `NXConstantString'
nsterm.m:349: error: cannot find interface declaration for `NXConstantString'
nsterm.m:364: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `ns_update_end':
nsterm.m:616: warning: `NSView' may not respond to `-unlockFocusNeedsFlush:'
nsterm.m:616: warning: (Messages without a matching method signature
nsterm.m:616: warning: will be assumed to return `id' and accept
nsterm.m:616: warning: `...' as arguments.)
nsterm.m: In function `ns_get_color':
nsterm.m:1129: error: cannot find interface declaration for `NXConstantString'
nsterm.m:1246: error: cannot find interface declaration for `NXConstantString'
nsterm.m:1248: error: cannot find interface declaration for `NXConstantString'
nsterm.m:1250: error: cannot find interface declaration for `NXConstantString'
nsterm.m:1252: error: cannot find interface declaration for `NXConstantString'
nsterm.m:1254: error: cannot find interface declaration for `NXConstantString'
nsterm.m:1272: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `ns_term_init':
nsterm.m:3046: error: cannot find interface declaration for `NXConstantString'
nsterm.m:3048: error: cannot find interface declaration for `NXConstantString'
nsterm.m:3051: error: cannot find interface declaration for `NXConstantString'
nsterm.m:3058: error: cannot find interface declaration for `NXConstantString'
nsterm.m:3082: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `-[EmacsView menuDown:]':
nsterm.m:4200: warning: multiple methods named `-representedObject' found
/usr/GNUstep/System/Library/Headers/AppKit/NSCell.h:351: warning: using `-(id)representedObject'
/usr/GNUstep/System/Library/Headers/AppKit/NSRulerMarker.h:76: warning: also found `-(id <NSCopying>)representedObject'
nsterm.m:4202: warning: multiple methods named `-representedObject' found
/usr/GNUstep/System/Library/Headers/AppKit/NSCell.h:351: warning: using `-(id)representedObject'
/usr/GNUstep/System/Library/Headers/AppKit/NSRulerMarker.h:76: warning: also found `-(id <NSCopying>)representedObject'
nsterm.m: In function `-[EmacsPrefsController init]':
nsterm.m:4781: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `ns_dumpglyphs':
nsterm.m:5001: warning: comparison between pointer and integer
nsterm.m:5087: warning: comparison between pointer and integer
nsterm.m:5093: warning: comparison between pointer and integer
nsterm.m: In function `removeSynthItal':
nsterm.m:5340: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `ns_load_font':
nsterm.m:5372: warning: assignment discards qualifiers from pointer target type
nsterm.m:5423: warning: assignment discards qualifiers from pointer target type
nsterm.m:5448: error: cannot find interface declaration for `NXConstantString'
nsterm.m:5582: error: cannot find interface declaration for `NXConstantString'
nsterm.m:5583: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `ns_list_fonts':
nsterm.m:5679: warning: assignment discards qualifiers from pointer target type
nsterm.m:5688: warning: assignment makes pointer from integer without a cast
nsterm.m:5699: error: cannot find interface declaration for `NXConstantString'
nsterm.m:5702: warning: assignment discards qualifiers from pointer target type
nsterm.m:5717: warning: assignment discards qualifiers from pointer target type
nsterm.m:5724: error: cannot find interface declaration for `NXConstantString'
nsterm.m:5725: warning: assignment discards qualifiers from pointer target type
nsterm.m:5732: warning: assignment discards qualifiers from pointer target type
nsterm.m: In function `ns_font_to_xlfd':
nsterm.m:5794: warning: initialization discards qualifiers from pointer target type
nsterm.m:5800: error: cannot find interface declaration for `NXConstantString'
nsterm.m:5813: error: cannot find interface declaration for `NXConstantString'
nsterm.m: In function `ns_fontname_to_xlfd':
nsterm.m:5847: error: cannot find interface declaration for `NXConstantString'
make: *** [nsterm.o] Error 1
I add "#include <Foundation/Foundation.h>" to the head of nsterm.m, but got same error messages.
This is what configure outputs:
What operating system and machine description files should Emacs use?
`s/gnu-linux.h' and `m/intel386.h'
What compiler should emacs be built
with?
gcc -g -O2
Should Emacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs
use?
nextstep
What toolkit should Emacs
use?
none
Where do we find X Windows header
files?
NONE
Where do we find X Windows
libraries?
NONE
Does Emacs use
-lXaw3d?
no
Does Emacs use
-lXpm?
no
Does Emacs use
-ljpeg?
no
Does Emacs use
-ltiff?
no
Does Emacs use
-lungif?
no
Does Emacs use
-lpng?
no
Does Emacs use X toolkit scroll
bars?
yes