Windows Build failure
John Ralls
jralls at ceridwen.us
Wed Jul 15 19:58:37 EDT 2015
> On Jul 15, 2015, at 8:51 AM, Robert Fewell <14ubobit at gmail.com> wrote:
>
> I tried to build the windows version on my XP VM but it failed with the
> following error...
> Did a git pull on gnucash-on-windows.git and gnucash.git to get the latest
> builds and then ran the install.sh under mingw which updated some parts of
> the software as usual but the gnucash sections fails.
>
> Have I failed to upgrade some component part ?
>
> Regards,
>
> Bob
>
>
> make all-recursive
> make[1]: Entering directory `/c/gcdev/gnucash/build'
> Making all in .
> make[2]: Entering directory `/c/gcdev/gnucash/build'
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/c/gcdev/gnucash.git
> -I/c/gcdev/regex/include -I/c/gcdev/gnome/include -I/c/gcdev
> /guile/include -I/c/gcdev/libdbi/include -I/c/gcdev/gwenhywfar/include
> -I/c/gcdev/hh/include -mms-bitfields -Ic:/gcdev/l
> ibsoup/include/libsoup-2.4 -Ic:/gcdev/gnome/include/libxml2
> -Ic:/gcdev/gnome/include/glib-2.0 -Ic:/gcdev/gnome/lib/glib-
> 2.0/include -D_WIN32 -pthread -Ic:/gcdev/guile/include
> -I/c/gcdev/readline/include -I/c/gcdev/regex/include -g -st
> d=gnu99 -mms-bitfields -g -MT gnc_guile-guile.o -MD -MP -MF
> .deps/gnc_guile-guile.Tpo -c -o gnc_guile-guile.o `test -f
> 'util/guile.c' || echo '/c/gcdev/gnucash.git/'`util/guile.c
> In file included from c:\gcdev\mingw\include\unistd.h:95:0,
> from c:/gcdev/guile/include/libguile/stime.h:27,
> from c:/gcdev/guile/include/libguile.h:91,
> from c:/gcdev/gnucash.git/util/guile.c:32:
> c:\gcdev\mingw\include\parts\time.h:65:8: error: redefinition of 'struct
> timespec'
> struct timespec
> ^
> In file included from c:/gcdev/guile/include/libguile/__scm.h:52:0,
> from c:/gcdev/guile/include/libguile.h:30,
> from c:/gcdev/gnucash.git/util/guile.c:32:
> c:/gcdev/guile/include/libguile/scmconfig.h:114:16: note: originally
> defined here
> typedef struct timespec scm_t_timespec;
That’s from a Makefile that needs to be rebuilt. Delete the build directory and start from scratch.
Regards,
John Ralls
More information about the gnucash-devel
mailing list