code in cvs is broken

Linas Vepstas linas@linas.org
Wed, 14 Nov 2001 01:06:30 -0600


On Wed, Nov 14, 2001 at 04:41:42PM +1100, Robert Graham Merkel was heard to remark:
> 
> > top-level.c  -fPIC -o .libs/top-level.o
> > top-level.c:62: gw-gnc.h: No such file or directory
> > make[4]: *** [top-level.lo] Error 1
> > make[4]: Leaving directory `/home/linas/src/xacc/gnucash-head/src/gnome'
> > 
> > 
> > There is no gw-gnc.h that I can find, and gw-gnc-module.h doesn't seem
> > to do the trick.   I presume there's some valid excuse for having
> > code in CVS that won't compile ??
> 
> It's a generated file.  I saw the same problem, and I thought
> we'd added a fix.  Does explicitly making that file fix the problem?

Yes.

I'm, about to check in a cheesy hack to Makefile.am:

top-level.c: gw-gnc.h

(since the automated .deps stuff doesn't seem to force this, don't know
why) 

If you know a better way, let me know.

--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933