build errors in src/backend/qsf/

Christian Stimming stimming at tuhh.de
Mon Oct 31 09:26:18 EST 2005


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


More information about the gnucash-devel mailing list