gda-dev does not compile
Mark Johnson
mrj001 at shaw.ca
Fri Dec 8 17:57:05 EST 2006
Phil Longstaff wrote:
>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
>
>
>
Thanks, Phil. My next attempt at building ended with this:
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../.. -I../../..
-I.. -I../.. -DLOCALE_DIR=\"/opt/gnucash-svn15192/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: In function `load_numeric':
gnc-backend-gda.c:656: warning: `num' might be used uninitialized in
this function
gnc-backend-gda.c:656: warning: `denom' might be used uninitialized in
this function
make[5]: *** [gnc-backend-gda.lo] Error 1
These warnings are generally important, and should be looked into.
I'm going to try again passing --disable-error-on-warning to configure.
Mark
More information about the gnucash-devel
mailing list