Compile error with --enable-python-bindings

Mike Evans mikee at saxicola.idps.co.uk
Tue Mar 30 06:31:12 EDT 2010


On Tuesday March 30 2010 09:25:37 Andy Wingo wrote:
> Hi,
> 
> The attached patches drop the slib dependency, clean up some Scheme
> code, with the end result that Guile 2.0 seems to work with Gnucash.
> This process found a couple of bugs in Guile, so if you try with 2.0,
> try from git.
I get a compile error with R18975 and --enable-python-bindings.  Fedora11.

make[5]: Entering directory `/home/mikee/Projects/gnucash/src/optional/python-
bindings'
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -
I../../..  -I/usr/include/python2.6 -pthread -I/usr/include/glib-2.0 -
I/usr/lib/glib-2.0/include   -pthread -I../../../src/libqof/qof -I../../../src 
-I../../../src/engine -I../../../src/business/business-core  -w -Werror -
Wdeclaration-after-statement -g -O2 -Wall -Wunused -Wmissing-prototypes -
Wmissing-declarations  -Wno-unused -MT _gnucash_core_c_la-gnucash_core.lo -MD 
-MP -MF .deps/_gnucash_core_c_la-gnucash_core.Tpo -c -o _gnucash_core_c_la-
gnucash_core.lo `test -f 'gnucash_core.c' || echo './'`gnucash_core.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/python2.6 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -
I../../../src/libqof/qof -I../../../src -I../../../src/engine -
I../../../src/business/business-core -w -Werror -Wdeclaration-after-statement 
-g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused 
-MT _gnucash_core_c_la-gnucash_core.lo -MD -MP -MF .deps/_gnucash_core_c_la-
gnucash_core.Tpo -c gnucash_core.c  -fPIC -DPIC -o .libs/_gnucash_core_c_la-
gnucash_core.o
gnucash_core.c:2793: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
gnucash_core.c:2795: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
gnucash_core.c:2797: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
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

etc.


-- 
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/          
Search String: 0x050895C2


More information about the gnucash-devel mailing list