build errors in src/backend/qsf/

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build errors in src/backend/qsf/

Josh Sled
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}`
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: build errors in src/backend/qsf/

Christian Stimming
Josh Sled schrieb:
> 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

Huh? In that directory, qsf-dir.h is added to the BUILT_SOURCES variable
in the Makefile. That's about as correct as it can get, in order to
ensure that this header is built before the rest of the stuff in this
directory. Does your version of automake/autoconf somehow ignore
BUILT_SOURCES? Maybe the docs of your automake might explain how to use
the BUILT_SOURCES variable? I got autoconf-2.59 and automake-1.9.5 and
with these the header is corretly built before everything else. (So
that's probably true in src/engine as well).

Christian
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: build errors in src/backend/qsf/

Josh Sled
In reply to this post by Josh Sled
On Sun, 2005-10-30 at 18:03 -0500, Josh Sled wrote:
> 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.

Derek reports this (and the src/engine/ issue) does not occur for him
with a clean tree, so perhaps it's just me, somehow.  I'll dig into it
some more.

...jsled
--
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel