build errors in src/backend/qsf/

Josh Sled jsled at asynchronous.org
Sun Oct 30 18:03:14 EST 2005


e.g....

  make[4]: Entering directory `/home/jsled/stuff/proj/gnucash/src-g2/gnucash/src/backend/qsf'
  source='qsf-backend.c' object='qsf-backend.lo' libtool=yes \
  depfile='.deps/qsf-backend.Plo' tmpdepfile='.deps/qsf-backend.TPlo' \
  depmode=gcc3 /bin/sh ../../../depcomp \
  /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I.. -I../.. -I../../../src/backend -I../../../src/engine -DLOCALE_DIR=\""/opt/gnc-g2-unstable/share/locale"\" -I../../../src/gnc-module -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O3 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -c -o qsf-backend.lo `test -f 'qsf-backend.c' || echo './'`qsf-backend.c
   gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../.. -I../../../src/backend -I../../../src/engine -DLOCALE_DIR=\"/opt/gnc-g2-unstable/share/locale\" -I../../../src/gnc-module -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O3 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -c qsf-backend.c -MT qsf-backend.lo -MD -MP -MF .deps/qsf-backend.TPlo  -fPIC -DPIC -o .libs/qsf-backend.o
  qsf-backend.c:29:21: qsf-dir.h: No such file or directory
  qsf-backend.c: In function `write_qsf_from_book':
  qsf-backend.c:786: error: `QSF_SCHEMA_DIR' undeclared (first use in this function)
  qsf-backend.c:786: error: (Each undeclared identifier is reported only once
  qsf-backend.c:786: error: for each function it appears in.)
  qsf-backend.c: In function `write_qsf_to_stdout':
  qsf-backend.c:802: error: `QSF_SCHEMA_DIR' undeclared (first use in this function)
  qsf-backend.c: In function `load_qsf_object':
  qsf-backend.c:847: error: `QSF_SCHEMA_DIR' undeclared (first use in this function)
  make[4]: *** [qsf-backend.lo] Error 1

There are similar errors in qsf-xml-map.c and qsf-xml.c.  Similar to the
src/engine/gncla-dir.h issue, if I manually build qsf-dir.h, the errors
go away.

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


More information about the gnucash-devel mailing list