Re: Problem compiling stuff with gnustep

Adam Fedor <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
What does your source code look like?  Did you include 
<Foundation/Foundation.h> or AppKit.h or at least NSObject.h?


On Sep 9, 2006, at 3:50 PM, Pickleman wrote:

> Hi, I built GNUstep fine on SuSE 10.1 (i686). I installed RPMs for the
> gnustep core packages and for Gorm. Then I built ProjectCenter from
> source and it built without any errors. But if I try building any
> package now (I've tried just with a blank "Application") it comes up
> with this error:
>
>  / usr/lib/gcc/i586-suse-linux/4.1.0/../../../crt1.o: In function
> `_start':
> init.c:(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
>  make[1]: *** [Test.app/./Test] Error 1
>  make: *** [Test.all.app.variables] Error 2
>
> I searched for this error online, and I only found two similar ones:
> one was someone trying to build gnustep-base, and the other one was
> trying to compile a Java program.
>
> Can someone tell me what I need to do to fix this?
>
> _______________________________________________
> Help-gnustep mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-gnustep
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.