compile problems

Robert Jones <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
Hello, I'm having trouble compiling simple Objective-C programs using 
Gnustep. I'm using the most recent release of Gnustep on a Win2000 
system. Below is an example of my troubles:

rjones21@JONES ~/projects
$ gcc -L/c/GNUstep/System/Tools -lobjc fraction.m main.m -o fraction.exe
fraction.m:1:2: warning: #import is obsolete, use an #ifndef wrapper in 
the header file
main.m:1:2: warning: #import is obsolete, use an #ifndef wrapper in the 
header file
C:/DOCUME~1/jareth/LOCALS~1/Temp/ccglaaaa.o(.data+0x134):fraction.m: 
undefined reference to `__objc_class_name_NSObject'

What am I doing wrong here.

--
Robert Jones
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.