On Tue, 2009-03-17 at 21:09 +0000, Richard Frith-Macdonald wrote:

> All that shows is that you have got a main() in the source files for  
> LogTest and no main() in the source files for WriteStr2File
> 
> Most likely that means you changed 'TOOL_NAME = LogTest' to 'TOOL_NAME  
> = WriteStr2File' but forgot to change 'LogTest_OBJC_FILES = source.m'  
> to 'WriteStr2File_OBJC_FILES = source.m'
> 
> In that case you are telling it to build the tool 'WriteStr2File', but  
> telling it that the source files list (WriteStr2File_OBJC_FILES) is  
> empty.
> If there are no source files, then of course main() is not found in  
> any of the source files, so you get the linker error saying that.


Richard, after all you are right. For a moment you had me thinking:
"again one of those know it all!"  But indeed, there is a
"WriteStr2File_OBJC_FILES" with the prefixed string that must match the
name specified in TOOL_NAME.

Thank you very much, for pointing out that silly mistake of mine. It
does look a bit silly too that such a thing is done that way.
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to