Problem compiling stuff with gnustep

"Pickleman" <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Organization http://groups.google.com
Message-ID <1157838603.924620.291260__14655.3339240656$1158157027$gmane$org@m79g2000cwm.googlegroups.com>
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?
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.