prepare a duplicate backend loader suitable for QOF

David Hampton hampton-gnucash at rainbolthampton.net
Fri Aug 12 20:15:20 EDT 2005


On Fri, 2005-08-12 at 23:59 +0100, Neil Williams wrote:
> Not as far as I can tell - I checked the build twice before the commit - on 
> two platforms. Can you send me a list of discrete top-level errors? I'm not 
> quite ready to commit the business-core changes - I was hoping to do that 
> Sunday at the earliest but I'll see if I can pick out the problem and commit 
> a sufficient portion to prevent your error messages tomorrow evening. 
> (working tomorrow).

Error log attached below.

> I do have changes that I'm testing in business-core/file but those were only 
> copied into my local G2 tree (from CashUtil) after the commit. 
> 
> Are you using --disable-error-on-warning?

No.  Why would I want to do that?

> My ./autogen on Debian:
> ./autogen.sh --disable-error-on-warning --enable-doxygen \ 
> --enable-opt-style-install --prefix=/opt/garfield/gnome2
> 
> (My Mac OSX build doesn't use disable-error-on-warning).
> 
> Are these errors related to not being able to find GNCBook and 
> GNCObjectForeachBackend?

Yes and "I don't think so".

> GNCBook is QofBook and GNCObjectForeachBackend is qof_object_foreach_backend - 
> I've already changed those over whilst working on CashUtil.

Yes.  Adding a "#define GNCBook QofBook" resolves the problems in the
first two files I tried.  The business code seems to have been picking
this up from an include of src/backend/file/gnc-xml.h.

> I spent all day trying to ensure this would work. (And the best part of this 
> week preparing it!)
> :-(

I know the feeling.

> BTW. David, meant to ask you - I'm getting errors with GConf but only on Mac 
> OSX - symbols not found in src/app-utils/test that are defined in 
> src/core-utils:
> 
> _gnc_gconf_general_register_cb
> _gnc_gconf_get_bool
> _gnc_gconf_get_string
> 
> when compiling test-exp-parser.c
> 
> I get no errors on Debian, only OSX. Have you seen anything like that? I think 
> it could be "lazy binding" of the libraries on OSX if that makes sense.

I haven't seen it, but the statement makes sense.

> I can't find the right library in core-utils to link against test-exp-parser.c

Should be libcore-utils.la.

David

-------------- next part --------------
make[7]: Entering directory `/home/david/projects/gnucash-devel/g2unused2/src/business/business-core/file'
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gncmod-business-backend-file.lo -MD -MP -MF ".deps/gncmod-business-backend-file.Tpo" -c -o gncmod-business-backend-file.lo gncmod-business-backend-file.c; \
then mv -f ".deps/gncmod-business-backend-file.Tpo" ".deps/gncmod-business-backend-file.Plo"; else rm -f ".deps/gncmod-business-backend-file.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gncmod-business-backend-file.lo -MD -MP -MF .deps/gncmod-business-backend-file.Tpo -c gncmod-business-backend-file.c  -fPIC -o .libs/gncmod-business-backend-file.o
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-address-xml-v2.lo -MD -MP -MF ".deps/gnc-address-xml-v2.Tpo" -c -o gnc-address-xml-v2.lo gnc-address-xml-v2.c; \
then mv -f ".deps/gnc-address-xml-v2.Tpo" ".deps/gnc-address-xml-v2.Plo"; else rm -f ".deps/gnc-address-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-address-xml-v2.lo -MD -MP -MF .deps/gnc-address-xml-v2.Tpo -c gnc-address-xml-v2.c  -fPIC -o .libs/gnc-address-xml-v2.o
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-bill-term-xml-v2.lo -MD -MP -MF ".deps/gnc-bill-term-xml-v2.Tpo" -c -o gnc-bill-term-xml-v2.lo gnc-bill-term-xml-v2.c; \
then mv -f ".deps/gnc-bill-term-xml-v2.Tpo" ".deps/gnc-bill-term-xml-v2.Plo"; else rm -f ".deps/gnc-bill-term-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-bill-term-xml-v2.lo -MD -MP -MF .deps/gnc-bill-term-xml-v2.Tpo -c gnc-bill-term-xml-v2.c  -fPIC -o .libs/gnc-bill-term-xml-v2.o
gnc-bill-term-xml-v2.c:143: error: syntax error before "GNCBook"
gnc-bill-term-xml-v2.c:143: warning: no semicolon at end of struct or union
gnc-bill-term-xml-v2.c: In function `days_duedays_handler':
gnc-bill-term-xml-v2.c:174: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `days_discdays_handler':
gnc-bill-term-xml-v2.c:181: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `days_discount_handler':
gnc-bill-term-xml-v2.c:188: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `prox_dueday_handler':
gnc-bill-term-xml-v2.c:217: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `prox_discday_handler':
gnc-bill-term-xml-v2.c:224: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `prox_discount_handler':
gnc-bill-term-xml-v2.c:231: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `prox_cutoff_handler':
gnc-bill-term-xml-v2.c:238: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `set_parent_child':
gnc-bill-term-xml-v2.c:273: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:273: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:275: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:282: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_guid_handler':
gnc-bill-term-xml-v2.c:307: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:307: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:309: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:310: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:313: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_name_handler':
gnc-bill-term-xml-v2.c:325: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_desc_handler':
gnc-bill-term-xml-v2.c:332: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_refcount_handler':
gnc-bill-term-xml-v2.c:342: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_invisible_handler':
gnc-bill-term-xml-v2.c:354: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_days_data_handler':
gnc-bill-term-xml-v2.c:378: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:380: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_prox_data_handler':
gnc-bill-term-xml-v2.c:390: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c:392: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: In function `billterm_slots_handler':
gnc-bill-term-xml-v2.c:401: error: dereferencing pointer to incomplete type
gnc-bill-term-xml-v2.c: At top level:
gnc-bill-term-xml-v2.c:419: error: syntax error before "GNCBook"
gnc-bill-term-xml-v2.c: In function `dom_tree_to_billterm':
gnc-bill-term-xml-v2.c:421: error: storage size of 'billterm_pdata' isn't known
gnc-bill-term-xml-v2.c:424: error: `book' undeclared (first use in this function)
gnc-bill-term-xml-v2.c:424: error: (Each undeclared identifier is reported only once
gnc-bill-term-xml-v2.c:424: error: for each function it appears in.)
gnc-bill-term-xml-v2.c:428: error: `node' undeclared (first use in this function)
gnc-bill-term-xml-v2.c:421: warning: unused variable `billterm_pdata'
gnc-bill-term-xml-v2.c: In function `gnc_billterm_end_handler':
gnc-bill-term-xml-v2.c:452: error: `GNCBook' undeclared (first use in this function)
gnc-bill-term-xml-v2.c:452: error: `book' undeclared (first use in this function)
gnc-bill-term-xml-v2.c: At top level:
gnc-bill-term-xml-v2.c:495: error: syntax error before '*' token
gnc-bill-term-xml-v2.c: In function `billterm_get_count':
gnc-bill-term-xml-v2.c:498: error: `book' undeclared (first use in this function)
gnc-bill-term-xml-v2.c: At top level:
gnc-bill-term-xml-v2.c:516: error: syntax error before "GNCBook"
gnc-bill-term-xml-v2.c: In function `billterm_write':
gnc-bill-term-xml-v2.c:518: error: `book' undeclared (first use in this function)
gnc-bill-term-xml-v2.c:518: error: `out' undeclared (first use in this function)
gnc-bill-term-xml-v2.c: At top level:
gnc-bill-term-xml-v2.c:669: error: syntax error before '*' token
gnc-bill-term-xml-v2.c: In function `billterm_scrub':
gnc-bill-term-xml-v2.c:676: error: `book' undeclared (first use in this function)
make[7]: *** [gnc-bill-term-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-customer-xml-v2.lo -MD -MP -MF ".deps/gnc-customer-xml-v2.Tpo" -c -o gnc-customer-xml-v2.lo gnc-customer-xml-v2.c; \
then mv -f ".deps/gnc-customer-xml-v2.Tpo" ".deps/gnc-customer-xml-v2.Plo"; else rm -f ".deps/gnc-customer-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-customer-xml-v2.lo -MD -MP -MF .deps/gnc-customer-xml-v2.Tpo -c gnc-customer-xml-v2.c  -fPIC -o .libs/gnc-customer-xml-v2.o
gnc-customer-xml-v2.c:150: error: syntax error before "GNCBook"
gnc-customer-xml-v2.c:150: warning: no semicolon at end of struct or union
gnc-customer-xml-v2.c: In function `customer_name_handler':
gnc-customer-xml-v2.c:186: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_guid_handler':
gnc-customer-xml-v2.c:198: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:198: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:200: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:201: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:204: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_id_handler':
gnc-customer-xml-v2.c:217: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_notes_handler':
gnc-customer-xml-v2.c:225: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_terms_handler':
gnc-customer-xml-v2.c:237: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:237: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:239: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:247: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_addr_handler':
gnc-customer-xml-v2.c:257: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_shipaddr_handler':
gnc-customer-xml-v2.c:266: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_taxincluded_handler':
gnc-customer-xml-v2.c:285: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_active_handler':
gnc-customer-xml-v2.c:294: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_discount_handler':
gnc-customer-xml-v2.c:306: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_credit_handler':
gnc-customer-xml-v2.c:321: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_currency_handler':
gnc-customer-xml-v2.c:333: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:336: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_taxtable_handler':
gnc-customer-xml-v2.c:350: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:350: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:352: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c:359: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_taxtableoverride_handler':
gnc-customer-xml-v2.c:368: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: In function `customer_slots_handler':
gnc-customer-xml-v2.c:376: error: dereferencing pointer to incomplete type
gnc-customer-xml-v2.c: At top level:
gnc-customer-xml-v2.c:400: error: syntax error before "GNCBook"
gnc-customer-xml-v2.c: In function `dom_tree_to_customer':
gnc-customer-xml-v2.c:402: error: storage size of 'cust_pdata' isn't known
gnc-customer-xml-v2.c:405: error: `book' undeclared (first use in this function)
gnc-customer-xml-v2.c:405: error: (Each undeclared identifier is reported only once
gnc-customer-xml-v2.c:405: error: for each function it appears in.)
gnc-customer-xml-v2.c:409: error: `node' undeclared (first use in this function)
gnc-customer-xml-v2.c:402: warning: unused variable `cust_pdata'
gnc-customer-xml-v2.c: In function `gnc_customer_end_handler':
gnc-customer-xml-v2.c:434: error: `GNCBook' undeclared (first use in this function)
gnc-customer-xml-v2.c:434: error: `book' undeclared (first use in this function)
gnc-customer-xml-v2.c: At top level:
gnc-customer-xml-v2.c:491: error: syntax error before '*' token
gnc-customer-xml-v2.c: In function `customer_get_count':
gnc-customer-xml-v2.c:494: error: `book' undeclared (first use in this function)
gnc-customer-xml-v2.c: At top level:
gnc-customer-xml-v2.c:515: error: syntax error before "GNCBook"
gnc-customer-xml-v2.c: In function `customer_write':
gnc-customer-xml-v2.c:517: error: `book' undeclared (first use in this function)
gnc-customer-xml-v2.c:517: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-customer-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-employee-xml-v2.lo -MD -MP -MF ".deps/gnc-employee-xml-v2.Tpo" -c -o gnc-employee-xml-v2.lo gnc-employee-xml-v2.c; \
then mv -f ".deps/gnc-employee-xml-v2.Tpo" ".deps/gnc-employee-xml-v2.Plo"; else rm -f ".deps/gnc-employee-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-employee-xml-v2.lo -MD -MP -MF .deps/gnc-employee-xml-v2.Tpo -c gnc-employee-xml-v2.c  -fPIC -o .libs/gnc-employee-xml-v2.o
gnc-employee-xml-v2.c:133: error: syntax error before "GNCBook"
gnc-employee-xml-v2.c:133: warning: no semicolon at end of struct or union
gnc-employee-xml-v2.c: In function `employee_username_handler':
gnc-employee-xml-v2.c:155: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_guid_handler':
gnc-employee-xml-v2.c:169: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c:169: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c:171: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c:172: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c:175: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_id_handler':
gnc-employee-xml-v2.c:188: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_language_handler':
gnc-employee-xml-v2.c:196: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_acl_handler':
gnc-employee-xml-v2.c:204: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_addr_handler':
gnc-employee-xml-v2.c:212: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_active_handler':
gnc-employee-xml-v2.c:224: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_workday_handler':
gnc-employee-xml-v2.c:237: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_rate_handler':
gnc-employee-xml-v2.c:251: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_currency_handler':
gnc-employee-xml-v2.c:263: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c:266: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: In function `employee_ccard_handler':
gnc-employee-xml-v2.c:281: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c:285: error: dereferencing pointer to incomplete type
gnc-employee-xml-v2.c: At top level:
gnc-employee-xml-v2.c:314: error: syntax error before "GNCBook"
gnc-employee-xml-v2.c: In function `dom_tree_to_employee':
gnc-employee-xml-v2.c:316: error: storage size of 'employee_pdata' isn't known
gnc-employee-xml-v2.c:319: error: `book' undeclared (first use in this function)
gnc-employee-xml-v2.c:319: error: (Each undeclared identifier is reported only once
gnc-employee-xml-v2.c:319: error: for each function it appears in.)
gnc-employee-xml-v2.c:323: error: `node' undeclared (first use in this function)
gnc-employee-xml-v2.c:316: warning: unused variable `employee_pdata'
gnc-employee-xml-v2.c: In function `gnc_employee_end_handler':
gnc-employee-xml-v2.c:347: error: `GNCBook' undeclared (first use in this function)
gnc-employee-xml-v2.c:347: error: `book' undeclared (first use in this function)
gnc-employee-xml-v2.c: At top level:
gnc-employee-xml-v2.c:404: error: syntax error before '*' token
gnc-employee-xml-v2.c: In function `employee_get_count':
gnc-employee-xml-v2.c:407: error: `book' undeclared (first use in this function)
gnc-employee-xml-v2.c: At top level:
gnc-employee-xml-v2.c:428: error: syntax error before "GNCBook"
gnc-employee-xml-v2.c: In function `employee_write':
gnc-employee-xml-v2.c:430: error: `book' undeclared (first use in this function)
gnc-employee-xml-v2.c:430: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-employee-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-entry-xml-v2.lo -MD -MP -MF ".deps/gnc-entry-xml-v2.Tpo" -c -o gnc-entry-xml-v2.lo gnc-entry-xml-v2.c; \
then mv -f ".deps/gnc-entry-xml-v2.Tpo" ".deps/gnc-entry-xml-v2.Plo"; else rm -f ".deps/gnc-entry-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-entry-xml-v2.lo -MD -MP -MF .deps/gnc-entry-xml-v2.Tpo -c gnc-entry-xml-v2.c  -fPIC -o .libs/gnc-entry-xml-v2.o
gnc-entry-xml-v2.c:224: error: syntax error before "GNCBook"
gnc-entry-xml-v2.c:224: warning: no semicolon at end of struct or union
gnc-entry-xml-v2.c:226: error: syntax error before '}' token
gnc-entry-xml-v2.c: In function `set_account':
gnc-entry-xml-v2.c:284: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:289: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:291: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `set_taxtable':
gnc-entry-xml-v2.c:304: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:304: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:306: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:313: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_guid_handler':
gnc-entry-xml-v2.c:327: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:327: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:329: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:330: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:333: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_date_handler':
gnc-entry-xml-v2.c:346: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_dateentered_handler':
gnc-entry-xml-v2.c:354: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_description_handler':
gnc-entry-xml-v2.c:362: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_action_handler':
gnc-entry-xml-v2.c:370: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_notes_handler':
gnc-entry-xml-v2.c:378: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_qty_handler':
gnc-entry-xml-v2.c:386: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_iprice_handler':
gnc-entry-xml-v2.c:403: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_idiscount_handler':
gnc-entry-xml-v2.c:411: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_idisctype_handler':
gnc-entry-xml-v2.c:429: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_idischow_handler':
gnc-entry-xml-v2.c:449: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_itaxable_handler':
gnc-entry-xml-v2.c:458: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_itaxincluded_handler':
gnc-entry-xml-v2.c:465: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_bprice_handler':
gnc-entry-xml-v2.c:489: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_btaxable_handler':
gnc-entry-xml-v2.c:496: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_btaxincluded_handler':
gnc-entry-xml-v2.c:503: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_billable_handler':
gnc-entry-xml-v2.c:517: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_billto_handler':
gnc-entry-xml-v2.c:527: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:529: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_billpayment_handler':
gnc-entry-xml-v2.c:550: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_order_handler':
gnc-entry-xml-v2.c:566: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:566: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:568: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:574: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_invoice_handler':
gnc-entry-xml-v2.c:590: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:590: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:592: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:598: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_bill_handler':
gnc-entry-xml-v2.c:614: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:614: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:616: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:622: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: In function `entry_price_handler':
gnc-entry-xml-v2.c:649: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:651: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c:651: error: dereferencing pointer to incomplete type
gnc-entry-xml-v2.c: At top level:
gnc-entry-xml-v2.c:711: error: syntax error before "GNCBook"
gnc-entry-xml-v2.c: In function `dom_tree_to_entry':
gnc-entry-xml-v2.c:713: error: storage size of 'entry_pdata' isn't known
gnc-entry-xml-v2.c:716: error: `book' undeclared (first use in this function)
gnc-entry-xml-v2.c:716: error: (Each undeclared identifier is reported only once
gnc-entry-xml-v2.c:716: error: for each function it appears in.)
gnc-entry-xml-v2.c:721: error: `node' undeclared (first use in this function)
gnc-entry-xml-v2.c:713: warning: unused variable `entry_pdata'
gnc-entry-xml-v2.c: In function `gnc_entry_end_handler':
gnc-entry-xml-v2.c:752: error: `GNCBook' undeclared (first use in this function)
gnc-entry-xml-v2.c:752: error: `book' undeclared (first use in this function)
gnc-entry-xml-v2.c: At top level:
gnc-entry-xml-v2.c:795: error: syntax error before '*' token
gnc-entry-xml-v2.c: In function `entry_get_count':
gnc-entry-xml-v2.c:798: error: `book' undeclared (first use in this function)
gnc-entry-xml-v2.c: At top level:
gnc-entry-xml-v2.c:821: error: syntax error before "GNCBook"
gnc-entry-xml-v2.c: In function `entry_write':
gnc-entry-xml-v2.c:823: error: `book' undeclared (first use in this function)
gnc-entry-xml-v2.c:823: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-entry-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-invoice-xml-v2.lo -MD -MP -MF ".deps/gnc-invoice-xml-v2.Tpo" -c -o gnc-invoice-xml-v2.lo gnc-invoice-xml-v2.c; \
then mv -f ".deps/gnc-invoice-xml-v2.Tpo" ".deps/gnc-invoice-xml-v2.Plo"; else rm -f ".deps/gnc-invoice-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-invoice-xml-v2.lo -MD -MP -MF .deps/gnc-invoice-xml-v2.Tpo -c gnc-invoice-xml-v2.c  -fPIC -o .libs/gnc-invoice-xml-v2.o
gnc-invoice-xml-v2.c:170: error: syntax error before "GNCBook"
gnc-invoice-xml-v2.c:170: warning: no semicolon at end of struct or union
gnc-invoice-xml-v2.c: In function `invoice_guid_handler':
gnc-invoice-xml-v2.c:206: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:206: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:208: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:209: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:212: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_id_handler':
gnc-invoice-xml-v2.c:225: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_owner_handler':
gnc-invoice-xml-v2.c:235: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:237: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_opened_handler':
gnc-invoice-xml-v2.c:247: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_posted_handler':
gnc-invoice-xml-v2.c:255: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_billing_id_handler':
gnc-invoice-xml-v2.c:263: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_notes_handler':
gnc-invoice-xml-v2.c:271: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_active_handler':
gnc-invoice-xml-v2.c:283: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_terms_handler':
gnc-invoice-xml-v2.c:297: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:297: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:299: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:307: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_posttxn_handler':
gnc-invoice-xml-v2.c:321: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:325: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_postlot_handler':
gnc-invoice-xml-v2.c:338: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:342: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_postacc_handler':
gnc-invoice-xml-v2.c:355: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:359: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_currency_handler':
gnc-invoice-xml-v2.c:369: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:372: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_billto_handler':
gnc-invoice-xml-v2.c:384: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c:386: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: In function `invoice_tochargeamt_handler':
gnc-invoice-xml-v2.c:398: error: dereferencing pointer to incomplete type
gnc-invoice-xml-v2.c: At top level:
gnc-invoice-xml-v2.c:431: error: syntax error before "GNCBook"
gnc-invoice-xml-v2.c: In function `dom_tree_to_invoice':
gnc-invoice-xml-v2.c:433: error: storage size of 'invoice_pdata' isn't known
gnc-invoice-xml-v2.c:436: error: `book' undeclared (first use in this function)
gnc-invoice-xml-v2.c:436: error: (Each undeclared identifier is reported only once
gnc-invoice-xml-v2.c:436: error: for each function it appears in.)
gnc-invoice-xml-v2.c:440: error: `node' undeclared (first use in this function)
gnc-invoice-xml-v2.c:433: warning: unused variable `invoice_pdata'
gnc-invoice-xml-v2.c: In function `gnc_invoice_end_handler':
gnc-invoice-xml-v2.c:465: error: `GNCBook' undeclared (first use in this function)
gnc-invoice-xml-v2.c:465: error: `book' undeclared (first use in this function)
gnc-invoice-xml-v2.c: At top level:
gnc-invoice-xml-v2.c:522: error: syntax error before '*' token
gnc-invoice-xml-v2.c: In function `invoice_get_count':
gnc-invoice-xml-v2.c:525: error: `book' undeclared (first use in this function)
gnc-invoice-xml-v2.c: At top level:
gnc-invoice-xml-v2.c:546: error: syntax error before "GNCBook"
gnc-invoice-xml-v2.c: In function `invoice_write':
gnc-invoice-xml-v2.c:548: error: `book' undeclared (first use in this function)
gnc-invoice-xml-v2.c:548: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-invoice-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-job-xml-v2.lo -MD -MP -MF ".deps/gnc-job-xml-v2.Tpo" -c -o gnc-job-xml-v2.lo gnc-job-xml-v2.c; \
then mv -f ".deps/gnc-job-xml-v2.Tpo" ".deps/gnc-job-xml-v2.Plo"; else rm -f ".deps/gnc-job-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-job-xml-v2.lo -MD -MP -MF .deps/gnc-job-xml-v2.Tpo -c gnc-job-xml-v2.c  -fPIC -o .libs/gnc-job-xml-v2.o
gnc-job-xml-v2.c:101: error: syntax error before "GNCBook"
gnc-job-xml-v2.c:101: warning: no semicolon at end of struct or union
gnc-job-xml-v2.c: In function `job_name_handler':
gnc-job-xml-v2.c:123: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c: In function `job_guid_handler':
gnc-job-xml-v2.c:135: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c:135: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c:137: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c:138: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c:141: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c: In function `job_id_handler':
gnc-job-xml-v2.c:154: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c: In function `job_reference_handler':
gnc-job-xml-v2.c:162: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c: In function `job_owner_handler':
gnc-job-xml-v2.c:172: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c:174: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c: In function `job_active_handler':
gnc-job-xml-v2.c:188: error: dereferencing pointer to incomplete type
gnc-job-xml-v2.c: At top level:
gnc-job-xml-v2.c:211: error: syntax error before "GNCBook"
gnc-job-xml-v2.c: In function `dom_tree_to_job':
gnc-job-xml-v2.c:213: error: storage size of 'job_pdata' isn't known
gnc-job-xml-v2.c:216: error: `book' undeclared (first use in this function)
gnc-job-xml-v2.c:216: error: (Each undeclared identifier is reported only once
gnc-job-xml-v2.c:216: error: for each function it appears in.)
gnc-job-xml-v2.c:220: error: `node' undeclared (first use in this function)
gnc-job-xml-v2.c:213: warning: unused variable `job_pdata'
gnc-job-xml-v2.c: In function `gnc_job_end_handler':
gnc-job-xml-v2.c:245: error: `GNCBook' undeclared (first use in this function)
gnc-job-xml-v2.c:245: error: `book' undeclared (first use in this function)
gnc-job-xml-v2.c: At top level:
gnc-job-xml-v2.c:302: error: syntax error before '*' token
gnc-job-xml-v2.c: In function `job_get_count':
gnc-job-xml-v2.c:305: error: `book' undeclared (first use in this function)
gnc-job-xml-v2.c: At top level:
gnc-job-xml-v2.c:326: error: syntax error before "GNCBook"
gnc-job-xml-v2.c: In function `job_write':
gnc-job-xml-v2.c:328: error: `book' undeclared (first use in this function)
gnc-job-xml-v2.c:328: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-job-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-order-xml-v2.lo -MD -MP -MF ".deps/gnc-order-xml-v2.Tpo" -c -o gnc-order-xml-v2.lo gnc-order-xml-v2.c; \
then mv -f ".deps/gnc-order-xml-v2.Tpo" ".deps/gnc-order-xml-v2.Plo"; else rm -f ".deps/gnc-order-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-order-xml-v2.lo -MD -MP -MF .deps/gnc-order-xml-v2.Tpo -c gnc-order-xml-v2.c  -fPIC -o .libs/gnc-order-xml-v2.o
gnc-order-xml-v2.c:115: error: syntax error before "GNCBook"
gnc-order-xml-v2.c:115: warning: no semicolon at end of struct or union
gnc-order-xml-v2.c: In function `order_guid_handler':
gnc-order-xml-v2.c:151: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c:151: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c:153: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c:154: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c:157: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_id_handler':
gnc-order-xml-v2.c:170: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_owner_handler':
gnc-order-xml-v2.c:180: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c:182: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_opened_handler':
gnc-order-xml-v2.c:192: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_closed_handler':
gnc-order-xml-v2.c:200: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_notes_handler':
gnc-order-xml-v2.c:208: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_reference_handler':
gnc-order-xml-v2.c:216: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: In function `order_active_handler':
gnc-order-xml-v2.c:228: error: dereferencing pointer to incomplete type
gnc-order-xml-v2.c: At top level:
gnc-order-xml-v2.c:253: error: syntax error before "GNCBook"
gnc-order-xml-v2.c: In function `dom_tree_to_order':
gnc-order-xml-v2.c:255: error: storage size of 'order_pdata' isn't known
gnc-order-xml-v2.c:258: error: `book' undeclared (first use in this function)
gnc-order-xml-v2.c:258: error: (Each undeclared identifier is reported only once
gnc-order-xml-v2.c:258: error: for each function it appears in.)
gnc-order-xml-v2.c:262: error: `node' undeclared (first use in this function)
gnc-order-xml-v2.c:255: warning: unused variable `order_pdata'
gnc-order-xml-v2.c: In function `gnc_order_end_handler':
gnc-order-xml-v2.c:287: error: `GNCBook' undeclared (first use in this function)
gnc-order-xml-v2.c:287: error: `book' undeclared (first use in this function)
gnc-order-xml-v2.c: At top level:
gnc-order-xml-v2.c:344: error: syntax error before '*' token
gnc-order-xml-v2.c: In function `order_get_count':
gnc-order-xml-v2.c:347: error: `book' undeclared (first use in this function)
gnc-order-xml-v2.c: At top level:
gnc-order-xml-v2.c:368: error: syntax error before "GNCBook"
gnc-order-xml-v2.c: In function `order_write':
gnc-order-xml-v2.c:370: error: `book' undeclared (first use in this function)
gnc-order-xml-v2.c:370: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-order-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-owner-xml-v2.lo -MD -MP -MF ".deps/gnc-owner-xml-v2.Tpo" -c -o gnc-owner-xml-v2.lo gnc-owner-xml-v2.c; \
then mv -f ".deps/gnc-owner-xml-v2.Tpo" ".deps/gnc-owner-xml-v2.Plo"; else rm -f ".deps/gnc-owner-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-owner-xml-v2.lo -MD -MP -MF .deps/gnc-owner-xml-v2.Tpo -c gnc-owner-xml-v2.c  -fPIC -o .libs/gnc-owner-xml-v2.o
gnc-owner-xml-v2.c:101: error: syntax error before "GNCBook"
gnc-owner-xml-v2.c:101: warning: no semicolon at end of struct or union
gnc-owner-xml-v2.c: In function `owner_type_handler':
gnc-owner-xml-v2.c:112: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:114: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:116: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:118: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c: In function `owner_id_handler':
gnc-owner-xml-v2.c:138: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:141: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:141: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:143: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:146: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:151: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:151: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:153: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:156: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:161: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:161: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:163: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:166: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:171: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:171: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:173: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:176: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c:180: error: dereferencing pointer to incomplete type
gnc-owner-xml-v2.c: At top level:
gnc-owner-xml-v2.c:196: error: syntax error before "GNCBook"
gnc-owner-xml-v2.c: In function `gnc_dom_tree_to_owner':
gnc-owner-xml-v2.c:197: error: number of arguments doesn't match prototype
gnc-owner-xml-v2.h:30: error: prototype declaration
gnc-owner-xml-v2.c:198: error: storage size of 'owner_pdata' isn't known
gnc-owner-xml-v2.c:201: error: `owner' undeclared (first use in this function)
gnc-owner-xml-v2.c:201: error: (Each undeclared identifier is reported only once
gnc-owner-xml-v2.c:201: error: for each function it appears in.)
gnc-owner-xml-v2.c:202: error: `book' undeclared (first use in this function)
gnc-owner-xml-v2.c:204: error: `node' undeclared (first use in this function)
gnc-owner-xml-v2.c:198: warning: unused variable `owner_pdata'
make[7]: *** [gnc-owner-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-tax-table-xml-v2.lo -MD -MP -MF ".deps/gnc-tax-table-xml-v2.Tpo" -c -o gnc-tax-table-xml-v2.lo gnc-tax-table-xml-v2.c; \
then mv -f ".deps/gnc-tax-table-xml-v2.Tpo" ".deps/gnc-tax-table-xml-v2.Plo"; else rm -f ".deps/gnc-tax-table-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-tax-table-xml-v2.lo -MD -MP -MF .deps/gnc-tax-table-xml-v2.Tpo -c gnc-tax-table-xml-v2.c  -fPIC -o .libs/gnc-tax-table-xml-v2.o
gnc-tax-table-xml-v2.c:144: error: syntax error before "GNCBook"
gnc-tax-table-xml-v2.c:144: warning: no semicolon at end of struct or union
gnc-tax-table-xml-v2.c: In function `ttentry_acct_handler':
gnc-tax-table-xml-v2.c:156: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:160: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `ttentry_type_handler':
gnc-tax-table-xml-v2.c:179: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `ttentry_amount_handler':
gnc-tax-table-xml-v2.c:191: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: At top level:
gnc-tax-table-xml-v2.c:204: error: syntax error before "GNCBook"
gnc-tax-table-xml-v2.c: In function `dom_tree_to_ttentry':
gnc-tax-table-xml-v2.c:206: error: storage size of 'ttentry_pdata' isn't known
gnc-tax-table-xml-v2.c:210: error: `book' undeclared (first use in this function)
gnc-tax-table-xml-v2.c:210: error: (Each undeclared identifier is reported only once
gnc-tax-table-xml-v2.c:210: error: for each function it appears in.)
gnc-tax-table-xml-v2.c:212: error: `node' undeclared (first use in this function)
gnc-tax-table-xml-v2.c:206: warning: unused variable `ttentry_pdata'
gnc-tax-table-xml-v2.c: At top level:
gnc-tax-table-xml-v2.c:229: error: syntax error before "GNCBook"
gnc-tax-table-xml-v2.c:229: warning: no semicolon at end of struct or union
gnc-tax-table-xml-v2.c: In function `set_parent_child':
gnc-tax-table-xml-v2.c:241: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:241: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:244: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:250: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:257: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `taxtable_guid_handler':
gnc-tax-table-xml-v2.c:271: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:271: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:273: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:274: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:277: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `taxtable_name_handler':
gnc-tax-table-xml-v2.c:292: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `taxtable_refcount_handler':
gnc-tax-table-xml-v2.c:304: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `taxtable_invisible_handler':
gnc-tax-table-xml-v2.c:316: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: In function `taxtable_entries_handler':
gnc-tax-table-xml-v2.c:352: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c:355: error: dereferencing pointer to incomplete type
gnc-tax-table-xml-v2.c: At top level:
gnc-tax-table-xml-v2.c:382: error: syntax error before "GNCBook"
gnc-tax-table-xml-v2.c: In function `dom_tree_to_taxtable':
gnc-tax-table-xml-v2.c:384: error: storage size of 'taxtable_pdata' isn't known
gnc-tax-table-xml-v2.c:387: error: `book' undeclared (first use in this function)
gnc-tax-table-xml-v2.c:391: error: `node' undeclared (first use in this function)
gnc-tax-table-xml-v2.c:384: warning: unused variable `taxtable_pdata'
gnc-tax-table-xml-v2.c: In function `gnc_taxtable_end_handler':
gnc-tax-table-xml-v2.c:416: error: `GNCBook' undeclared (first use in this function)
gnc-tax-table-xml-v2.c:416: error: `book' undeclared (first use in this function)
gnc-tax-table-xml-v2.c: At top level:
gnc-tax-table-xml-v2.c:459: error: syntax error before '*' token
gnc-tax-table-xml-v2.c: In function `taxtable_get_count':
gnc-tax-table-xml-v2.c:462: error: `book' undeclared (first use in this function)
gnc-tax-table-xml-v2.c: At top level:
gnc-tax-table-xml-v2.c:480: error: syntax error before "GNCBook"
gnc-tax-table-xml-v2.c: In function `taxtable_write':
gnc-tax-table-xml-v2.c:482: error: `book' undeclared (first use in this function)
gnc-tax-table-xml-v2.c:482: error: `out' undeclared (first use in this function)
gnc-tax-table-xml-v2.c: At top level:
gnc-tax-table-xml-v2.c:631: error: syntax error before '*' token
gnc-tax-table-xml-v2.c: In function `taxtable_scrub':
gnc-tax-table-xml-v2.c:638: error: `book' undeclared (first use in this function)
make[7]: *** [gnc-tax-table-xml-v2.lo] Error 1
if /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include   -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   -Werror -Wdeclaration-after-statement -MT gnc-vendor-xml-v2.lo -MD -MP -MF ".deps/gnc-vendor-xml-v2.Tpo" -c -o gnc-vendor-xml-v2.lo gnc-vendor-xml-v2.c; \
then mv -f ".deps/gnc-vendor-xml-v2.Tpo" ".deps/gnc-vendor-xml-v2.Plo"; else rm -f ".deps/gnc-vendor-xml-v2.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src -I../../../../src/backend -I../../../../src/backend/file -I../../../../src/engine -I../../../../src/gnc-module -I../../../../src/business/business-core -I/opt/fc3-gnome28-gtk24/include/libxml2 -pthread -I/opt/fc3-gnome28-gtk24/include/glib-2.0 -I/opt/fc3-gnome28-gtk24/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror -Wdeclaration-after-statement -MT gnc-vendor-xml-v2.lo -MD -MP -MF .deps/gnc-vendor-xml-v2.Tpo -c gnc-vendor-xml-v2.c  -fPIC -o .libs/gnc-vendor-xml-v2.o
gnc-vendor-xml-v2.c:133: error: syntax error before "GNCBook"
gnc-vendor-xml-v2.c:133: warning: no semicolon at end of struct or union
gnc-vendor-xml-v2.c: In function `vendor_name_handler':
gnc-vendor-xml-v2.c:169: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_guid_handler':
gnc-vendor-xml-v2.c:181: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:181: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:183: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:184: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:187: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_id_handler':
gnc-vendor-xml-v2.c:200: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_notes_handler':
gnc-vendor-xml-v2.c:208: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_terms_handler':
gnc-vendor-xml-v2.c:220: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:220: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:222: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:230: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_addr_handler':
gnc-vendor-xml-v2.c:240: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_taxincluded_handler':
gnc-vendor-xml-v2.c:258: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_active_handler':
gnc-vendor-xml-v2.c:267: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_currency_handler':
gnc-vendor-xml-v2.c:276: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:279: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_taxtable_handler':
gnc-vendor-xml-v2.c:293: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:293: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:295: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c:302: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: In function `vendor_taxtableoverride_handler':
gnc-vendor-xml-v2.c:311: error: dereferencing pointer to incomplete type
gnc-vendor-xml-v2.c: At top level:
gnc-vendor-xml-v2.c:338: error: syntax error before "GNCBook"
gnc-vendor-xml-v2.c: In function `dom_tree_to_vendor':
gnc-vendor-xml-v2.c:340: error: storage size of 'vendor_pdata' isn't known
gnc-vendor-xml-v2.c:343: error: `book' undeclared (first use in this function)
gnc-vendor-xml-v2.c:343: error: (Each undeclared identifier is reported only once
gnc-vendor-xml-v2.c:343: error: for each function it appears in.)
gnc-vendor-xml-v2.c:347: error: `node' undeclared (first use in this function)
gnc-vendor-xml-v2.c:340: warning: unused variable `vendor_pdata'
gnc-vendor-xml-v2.c: In function `gnc_vendor_end_handler':
gnc-vendor-xml-v2.c:372: error: `GNCBook' undeclared (first use in this function)
gnc-vendor-xml-v2.c:372: error: `book' undeclared (first use in this function)
gnc-vendor-xml-v2.c: At top level:
gnc-vendor-xml-v2.c:429: error: syntax error before '*' token
gnc-vendor-xml-v2.c: In function `vendor_get_count':
gnc-vendor-xml-v2.c:432: error: `book' undeclared (first use in this function)
gnc-vendor-xml-v2.c: At top level:
gnc-vendor-xml-v2.c:453: error: syntax error before "GNCBook"
gnc-vendor-xml-v2.c: In function `vendor_write':
gnc-vendor-xml-v2.c:455: error: `book' undeclared (first use in this function)
gnc-vendor-xml-v2.c:455: error: `out' undeclared (first use in this function)
make[7]: *** [gnc-vendor-xml-v2.lo] Error 1
make[7]: Target `all-am' not remade because of errors.
make[7]: Leaving directory `/home/david/projects/gnucash-devel/g2unused2/src/business/business-core/file'


More information about the gnucash-devel mailing list