discuss-gnustep
[Top][All Lists]
Advanced

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

Makefile tutorial problem and " obsolete NSGCString object" warning


From: Jeffrey Sciortino
Subject: Makefile tutorial problem and " obsolete NSGCString object" warning
Date: Tue, 13 May 2003 10:57:36 -0700 (PDT)

Hi! I've also attached a text version of this message
in case yahoo mangles it.

Thanks in advance for the help.

I am trying to do the very simple "first app" example
in the "Writing GNUstep Makefiles" tutorial. 

My source file is:

debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$ cat source.m
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>

int
main (void)
{
  NSAutoreleasePool *pool;

  pool = [NSAutoreleasePool new];

  [NSApplication sharedApplication];

  NSRunAlertPanel(@"Test",@"Hello from the GNUstep
Appkit",
                  nil,nil,nil);

  return 0;
}
debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$


My makefile is:


debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$ cat GNU*
include $(GNUSTEP_MAKEFILES)/common.make
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_USER_ROOT)

APP_NAME = PanelTest
PanelTest_OBJC_FILES = source.m

include $(GNUSTEP_MAKEFILES)/application.make
debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$


When making the "first app" example why do I get the
following "too many arguments" error:

debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$ make
Making all for app PanelTest...
 Compiling file source.m ...
source.m:1:2: warning: #import is obsolete, use an
#ifndef wrapper in the header file
 Linking app PanelTest ...
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
/usr/lib/GNUstep/System/Makefiles/transform_paths.sh:
[: too many arguments
debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$


A PanelTest app is made, but I get this error when
trying to use openapp on it:

debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$ ls
GNUmakefile  PanelTest.app  obj  shared_debug_obj 
shared_obj  source.m
debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$ openapp ./PanelTest.app
dirname: too many arguments
Try `dirname --help' for more information.
Can't find absolute path for
/home/jjs/GNUstep/Library/tutorials/Writing Makefiles
II/PanelTest.app/PanelTest! Please specify full path
when
invoking executable
debian:~/GNUstep/Library/tutorials/Writing Makefiles
II$


A general problem, not just from the tutorial is
whenever I launch an application, I get this error:

debian:~/GNUstep/Library/tutorials/Writing Makefiles
II/PanelTest.app/ix86/linux-gnu/gnu-gnu-gnu$
./PanelTest
2003-05-07 19:37:51.513 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.637 PanelTest[4164] Warning -
decoding archive containing obsolete
NSGMutableDictionary object - please delete/replace
this archive2003-05-07 19:37:51.644 PanelTest[4164]
Warning - decoding archive containing obsolete
NSGCString object - please delete/replace this archive
2003-05-07 19:37:51.645 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.645 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.646 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.646 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.646 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.647 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.647 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.647 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.647 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.648 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.648 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.648 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.648 PanelTest[4164] Warning -
decoding archive containing obsolete NSGCString object
- please delete/replace this archive
2003-05-07 19:37:51.649 PanelTest[4164] Warning -
decoding archive containing obsolete NSGMutableArray
object - please delete/replace this archive
debian:~/GNUstep/Library/tutorials/Writing Makefiles
II/PanelTest.app/ix86/linux-gnu/gnu-gnu-gnu$

I have tried to find NSGCString, but 

debian:/home/jjs/GNUstep/Downloads/GWorkspace-0.5.1# 
find /  -iname "NSGC*" -print

returns nothing.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Attachment: &
Description: &


reply via email to

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