Phil Longstaff wrote: >>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. >> >> > >I don't get these warnings. What version of GCC do you have? > >I will fix this. The warning is correct but the uninitialized value >would never be used so there would be no effect. > >Phil > > > I am using gcc 3.3.6. It may also be that I am passing --enable-compile-warnings to configure. I see that -Wall is part of the options being passed to gcc. I expect that the --enable-compile-warnings caused the -Wall. I would recommend its use for development.
When I checked my build script, I found I was passing --enable-error-on-warning to configure. I changed it and tried again. Now, I have the following error: make[4]: *** No rule to make target `gnucash-gdb.in', needed by `gnucash-gdb'. Stop. make[4]: Leaving directory `/mnt/raid/download/computer/software/www.gnucash.org/new/svn/branches/gda-dev/src/bin' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/raid/download/computer/software/www.gnucash.org/new/svn/branches/gda-dev/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/raid/download/computer/software/www.gnucash.org/new/svn/branches/gda-dev/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/raid/download/computer/software/www.gnucash.org/new/svn/branches/gda-dev' make: *** [all] Error 2 make failed I'm not sure how to get past this one. Is there a file missing? Mark _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel