On Wed, Feb 16, 2005 at 11:40:25PM +0300, Paul P Komkoff Jr wrote:
> Replying to Wilfried Goesgens:
> > The automake version complaints about files in subdirs. 
> > Automake isn't specified as make to build files in Subdirs,
> > but to recurse into them.
> > My first aproach was just to copy the Structure from the gwlib 
> > dir, but this resulted in the smsc's being built as .so's, 
> > which makes them almost un-gdb'able.
> 
> Huh?
> Maybe I've spent too much sleepless nights before LCD but I cannot
> understand anything, except:
> 
> 1. Your patch is hosed. It contains part from here, part from there.
> 2. I've uploaded latest patchset with more recent automake stuff,
> which did not complain, to http://stingr.net/l/patchset-P4.tgz
I've used the kannel source you provided on your website, i didn't find 
the patch mentioned on the ml last September. 

Yes, the Configure is just modified by adding the 
AC_OUTPUT(.....,gw/smsc/Makefile.am,..).
I don't know why its that different to the one from the branch...

> 3. what the point in separating smsc/* files into library?
make and Automake is not able to cope with subdirs, unless you do nasty 
things. So you do a static lib, which is linked at compiletime. 
Thats a widely used way to solve this problem.
Allso it's anoying not being able to just do make in Emacs and get your 
compile errors from the source you just edited.

Allso you shouldn't use relative paths in the Makefiles, you use ${topsrcdir}
to make autoconf expand that. This enables foreign or aliend build, 
i.e. configuring and building in a completely different directory than
the source.

Wilfried Goesgens

Reply via email to