discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubles with GNUstep Make


From: Torli Birnbauer
Subject: Re: Troubles with GNUstep Make
Date: Tue, 17 Mar 2009 17:38:16 -0400

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.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]