gda-dev does not compile

Phil Longstaff plongstaff at rogers.com
Fri Dec 8 12:57:33 EST 2006


On Thu, 2006-07-12 at 20:52 -0700, Mark Johnson wrote:
> I thought I'd see what the gda back end looks like so far.  After 
> checking out the branches/gda-dev (svn 15190), the compile failed:
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../.. -I../../.. 
> -I.. -I../.. -DLOCALE_DIR=\"/opt/gnucash-svn15190/share/locale\" 
> -I../../../src/backend -I../../../src/engine -I../../../src/core-utils 
> -I../../../lib/libc -I../../../lib/libqof/qof -I../../../lib/libqof/qof 
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1 
> -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/include/libgda-1.99 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Werror -O2 
> -march=i486 -mcpu=pentium2 -g -Wall -Wunused -Wmissing-prototypes 
> -Wmissing-declarations -Wno-unused -MT gnc-backend-gda.lo -MD -MP -MF 
> .deps/gnc-backend-gda.Tpo -c gnc-backend-gda.c  -fPIC -DPIC -o 
> .libs/gnc-backend-gda.o
> gnc-backend-gda.c:61:26: gnc-lots-gda.h: No such file or directory
> gnc-backend-gda.c:64:27: gnc-slots-gda.h: No such file or directory
> gnc-backend-gda.c: In function `load_numeric':
> gnc-backend-gda.c:674: warning: `num' might be used uninitialized in 
> this function
> gnc-backend-gda.c:674: warning: `denom' might be used uninitialized in 
> this function
> gnc-backend-gda.c: In function `gnc_gda_init_object_handlers':
> gnc-backend-gda.c:1823: warning: implicit declaration of function 
> `gnc_gda_init_slots_handler'
> gnc-backend-gda.c:1825: warning: implicit declaration of function 
> `gnc_gda_init_lot_handler'
> make[5]: *** [gnc-backend-gda.lo] Error 1

Fixed in r15192.

I've attached a config file which is in ~/.libgda/config.  If you use
this, have a MySQL server running with a database named 'gnucash', then
starting gnucash with URI gda://gnucash will connect to and use that
database.

I haven't tried with anything other than MySQL though it should, in
theory, work with postgresql and sqlite with no code changes but with
config changes.

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: text/xml
Size: 947 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20061208/3fd9d4d2/attachment.xml 


More information about the gnucash-devel mailing list