Compile error with --enable-python-bindings

Mike Evans mikee at saxicola.idps.co.uk
Tue Mar 30 20:22:24 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

Christian

I removed gnucash_core.c then edited gnucash_core.py to change all instances 
of GUID to GbcGUID which seems to have worked.

Regards 

Mike


More information about the gnucash-devel mailing list