Re: Source files in different directory? Now: linker input file unused because linking not done

2011-07-20 Thread Paul Elliott
I have found out that the error messages "linker input file unused because linking not done" is only a warning! Library and programs linking to it work correctly! I need to figure out what this message means, why having my source in a seperate directory from the directory having the autotools f

Re: Source files in different directory? Now: linker input file unused because linking not done

2011-07-19 Thread Ralf Wildenhues
* Paul Elliott wrote on Wed, Jul 20, 2011 at 08:34:11AM CEST: > On Saturday, June 25, 2011 03:47:56 PM you wrote: > > > I need to keep my source files (i.e. .c and .h ) in a different directory > > > tree > > > from the one that contains the autotools control files and the build > > > directory. >

Re: Source files in different directory? Now: linker input file unused because linking not done

2011-07-19 Thread Paul Elliott
On Saturday, June 25, 2011 03:47:56 PM you wrote: > Hi Paul, > > you may try: > > DIR = $(top_srcdir)/../other/src > > to refer to that directory. > I have moved all my .c and .h source to a defferent directory from the one wherein I am building. I now get a lot of error messages of the form: