Building tool with corebase

2010-01-19 Thread Stef Bidi
I know this might seem a bit weird since I'm the one that's been committing changes to corebase, but I haven't been able to successfully link a small tool. This is what I have: test.c: #include int main (void) { CFStringRef string = CFStringCreateWithCString (NULL, "Testing", kCFStringEncodin

Re: Building tool with corebase

2010-01-19 Thread Richard Frith-Macdonald
On 20 Jan 2010, at 00:34, Stef Bidi wrote: > > When I do a "make" I get the following linking error: > Making all for tool test... > Compiling file test.c ... > Linking tool test ... > /usr/GNUstep/System/Library/Libraries/libgnustep-base.so: undefined reference > to `gnustep_base_user_main'

Re: Building tool with corebase

2010-01-20 Thread David Chisnall
On 20 Jan 2010, at 00:34, Stef Bidi wrote: /usr/GNUstep/System/Library/Libraries/libgnustep-base.so: undefined reference to `gnustep_base_user_main' To add to what Richard has said, this is usually caused by GNUstep Make being configured without fake main support and GNUstep Base being co