Hi there, I've just done a cvs update for HEAD and I get the following compile error in src/backend/postgres/gncquery.c:
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I./.. -I../.. -I./../.. -I../../engine -I./../../engine -I../../gnc-module -I./../../gnc-module -I/usr/include/postgresql -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -I/usr/include/postgresql -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -c gncquery.c -MT gncquery.lo -MD -MP -MF .deps/gncquery.TPlo -fPIC -o .libs/gncquery.o gncquery.c:52:28: qofqueryobject.h: No such file or directory gncquery.c: In function `sqlQuery_build': gncquery.c:758: error: `QOF_QUERYCORE_GUID' undeclared (first use in this function) gncquery.c:758: error: (Each undeclared identifier is reported only once gncquery.c:758: error: for each function it appears in.) gncquery.c:764: error: `QOF_QUERYCORE_KVP' undeclared (first use in this function) gncquery.c:962: error: `QOF_QUERYCORE_STRING' undeclared (first use in this function) gncquery.c:994: error: `QOF_QUERYCORE_NUMERIC' undeclared (first use in this function) gncquery.c:1025: error: `QOF_QUERYCORE_DATE' undeclared (first use in this function) gncquery.c:1052: error: `QOF_QUERYCORE_CHAR' undeclared (first use in this function) make[2]: *** [gncquery.lo] Error 1 make[2]: Leaving directory `/home/janpascal/src/gnucash/gnucash-CVS/src/backend/postgres' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/janpascal/src/gnucash/gnucash-CVS/src/backend/postgres' make: *** [all] Error 2 It seems qofqueryobject.h has been removed from src/engine and its definitions have been moved to src/engine/QueryCore.h, but without the "QOF_" prefixes. There is a src/engine/xlate.pl script that claims to add those prefixes, but it's disabled (there's a "if(0)" somewhere in it). I think we should - add a #include "QueryCore.h" to src/backend/postgres/gncquery.c, and - run the xlate.pl script on src/engine/QueryCore.h, but I really am not familiar with this code, and wouldn't know what I was doing if I started meddling in there. Could someone with CVS access please fix this? Thanks! Jan-Pascal -- Jan-Pascal van Best Delft University of Technology http://www.tbm.tudelft.nl/webstaf/janb/index.htm _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
