Compile error with --enable-python-bindings

Christian Stimming stimming at tuhh.de
Tue Mar 30 16:08:26 EDT 2010


Am Dienstag, 30. März 2010 schrieb Derek Atkins:
> Mike Evans <mikee at saxicola.idps.co.uk> writes:
> > gnucash_core.c: In function '_wrap_gncSplitGetGUID':
> > gnucash_core.c:3268: error: 'GUID' undeclared (first use in this
> > function) gnucash_core.c:3268: error: (Each undeclared identifier is
> > reported only once gnucash_core.c:3268: error: for each function it
> > appears in.)
> > gnucash_core.c:3268: error: 'result' undeclared (first use in this
> > function) gnucash_core.c:3276: error: expected expression before ')'
> > token gnucash_core.c: In function '_wrap_gncTransGetGUID':
> > gnucash_core.c:3290: error: 'GUID' undeclared (first use in this
> > function) gnucash_core.c:3290: error: 'result' undeclared (first use in
> > this function) gnucash_core.c:3298: error: expected expression before ')'
> > token
> 
> GUID was changed to GncGUID.  Most likely the .i files were not fixed.

The .i files have been fixed. Instead, I guess the generated file 
gnucash_core.c hasn't been re-generated after the update. I cannot reproduce 
the compiler error here - it builds fine. @Mike: Remove the gnucash_core.c 
file in the directory where this error occurred and run the build again. Does 
this help?

Regards,

Christian


More information about the gnucash-devel mailing list