src/engine/{qof,gnc}la-dir.h not being built

Josh Sled jsled at asynchronous.org
Sun Oct 30 17:43:31 EST 2005


Noticed during normal upgrade/build cycle (from a cvs update yesterday
evening, which was g2-latest), but I `make distclean`ed, re-autogen and
re-`make install`ed just to be sure...

... src/engine/{qof,gnc}la-dir.h is not being built:

  make[3]: Entering directory `/home/jsled/stuff/proj/gnucash/src-g2/gnucash/src/engine'
  source='gnc-date.c' object='gnc-date.lo' libtool=yes \
  depfile='.deps/gnc-date.Plo' tmpdepfile='.deps/gnc-date.TPlo' \
  depmode=gcc3 /bin/sh ../../depcomp \
  /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I /usr/include/g-wrap  -O3 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -c -o gnc-date.lo `test -f 'gnc-date.c' || echo './'`gnc-date.c
  mkdir .libs
   gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O3 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -c gnc-date.c -MT gnc-date.lo -MD -MP -MF .deps/gnc-date.TPlo  -fPIC -DPIC -o .libs/gnc-date.o
  In file included from gnc-trace.h:40,
                   from gnc-date.c:45:
  qof.h:99:23: qofla-dir.h: No such file or directory
  make[3]: *** [gnc-date.lo] Error 1

[...deletia...]

  source='gnc-engine.c' object='gnc-engine.lo' libtool=yes \
  depfile='.deps/gnc-engine.Plo' tmpdepfile='.deps/gnc-engine.TPlo' \
  depmode=gcc3 /bin/sh ../../depcomp \
  /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I /usr/include/g-wrap  -O3 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -c -o gnc-engine.lo `test -f 'gnc-engine.c' || echo './'`gnc-engine.c
   gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc -I../../src/core-utils -I../../src -I../../src/gnc-module -I../../src/business/business-core/ -I../../src/engine -DGNUCASH -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I /usr/include/g-wrap -O3 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -c gnc-engine.c -MT gnc-engine.lo -MD -MP -MF .deps/gnc-engine.TPlo  -fPIC -DPIC -o .libs/gnc-engine.o
  In file included from gnc-engine.h:40,
                   from gnc-engine.c:28:
  qof.h:99:23: qofla-dir.h: No such file or directory
  gnc-engine.c:47:23: gncla-dir.h: No such file or directory
  gnc-engine.c: In function `gnc_engine_init':
  gnc-engine.c:100: error: `QOF_LIB_DIR' undeclared (first use in this function)
  gnc-engine.c:100: error: (Each undeclared identifier is reported only once
  gnc-engine.c:100: error: for each function it appears in.)
  gnc-engine.c:102: error: `GNC_LIBDIR' undeclared (first use in this function)
  make[3]: *** [gnc-engine.lo] Error 1


It seems, however, the qofla-dir.h does get built later in the process:

  [jsled at phoenix:~/stuff/proj/gnucash/src-g2/gnucash/src/engine]$ ls -l {qof,gnc}la-dir.h
  ls: gncla-dir.h: No such file or directory
  -rw-r--r--  1 jsled users 1067 Oct 30 15:54 qofla-dir.h

If I force it built, then things are fine of course, but I shouldn't
need to.

...jsled
-- 
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`



More information about the gnucash-devel mailing list