Make fails on Windows 7

Wellington Glass wellington.glass at gmail.com
Mon Dec 8 12:24:13 EST 2014


I'm trying to compile on Windows 7, 64-bit , but it's happening the
problem below .

I have based this linkhttps://github.com/Gnucash/gnucash-on-windows

Any tips ?



make[4]: Entering directory `/c/gcdev/gnucash/build/src/libqof/qof'
Making all in .
make[5]: Entering directory `/c/gcdev/gnucash/build/src/libqof/qof'
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I/c
/gcdev/gnucash.git/src/libqof/qof -I../../..
 -I/c/gcdev/gnucash.git/lib/libc -I
/c/gcdev/gnucash.git/src -mms-bitfields -Ic:/gcdev/gnome/include/glib-2.0
-Ic:/g
cdev/gnome/lib/glib-2.0/include   -I/c/gcdev/boost/include
-DG_LOG_DOMAIN=\"qof\
" -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/libsoup/include/libsoup-2.4
-Ic:/gcdev/gnome/include/libxml
2 -Ic:/gcdev/gnome/include/glib-2.0 -Ic:/gcdev/gnome/lib/glib-2.0/include
-D_W
IN32  -Werror  -Wall -Wno-unused -Wno-deprecated-register -g  -std=gnu++11
-g  -
MT gnc-int128.lo -MD -MP -MF .deps/gnc-int128.Tpo -c -o gnc-int128.lo
/c/gcdev/g
nucash.git/src/libqof/qof/gnc-int128.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I.
-I/c/gcdev/gnucash.git/src/libqof/qof
 -I../../.. -I/c/gcdev/gnucash.git/lib/libc -I/c/gcdev/gnucash.git/src
-mms-bitf
ields -Ic:/gcdev/gnome/include/glib-2.0
-Ic:/gcdev/gnome/lib/glib-2.0/include -I
/c/gcdev/boost/include -DG_LOG_DOMAIN=\"qof\" -I/c/gcdev/regex/include
-I/c/gcde
v/gnome/include -I/c/gcdev/guile/include -I/c/gcdev/libdbi/include
-I/c/gcdev/gw
enhywfar/include -I/c/gcdev/hh/include -mms-bitfields
-Ic:/gcdev/libsoup/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 -Werror -Wall -Wno-unused
-Wno-de
precated-register -g -std=gnu++11 -g -MT gnc-int128.lo -MD -MP -MF
.deps/gnc-int
128.Tpo -c /c/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp  -DDLL_EXPORT
-DPI
C -o .libs/gnc-int128.o
In file included from
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:29:0:
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:61:14: error: 'uint'
does not
 name a type
 static const uint numlegs = 2;
              ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:62:14: error: 'uint'
does not
 name a type
 static const uint legbits = 64;
              ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:63:14: error: 'uint'
does not
 name a type
 static const uint maxbits = legbits * numlegs;
              ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:139:20: error: 'uint'
has not
 been declared
     GncInt128 pow (uint n) const noexcept;
                    ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:194:5: error: 'uint'
does not
 name a type
     uint bits() const noexcept;
     ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:215:29: error:
declaration of
 'operator<<=' as non-function
     GncInt128& operator<<= (uint i) noexcept;
                             ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:215:24: error: expected
';' a
t end of member declaration
     GncInt128& operator<<= (uint i) noexcept;
                        ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:215:34: error: expected
')' b
efore 'i'
     GncInt128& operator<<= (uint i) noexcept;
                                  ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:216:29: error:
declaration of
 'operator>>=' as non-function
     GncInt128& operator>>= (uint i) noexcept;
                             ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:216:24: error: expected
';' a
t end of member declaration
     GncInt128& operator>>= (uint i) noexcept;
                        ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:216:34: error: expected
')' b
efore 'i'
     GncInt128& operator>>= (uint i) noexcept;
                                  ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:239:36: error: 'uint'
has not
 been declared
 GncInt128 operator<< (GncInt128 a, uint b) noexcept;
                                    ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.hpp:240:36: error: 'uint'
has not
 been declared
 GncInt128 operator>> (GncInt128 a, uint b) noexcept;
                                    ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:41:18: error: 'uint'
does not
 name a type
     static const uint sublegs = GncInt128::numlegs * 2;
                  ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:42:18: error: 'uint'
does not
 name a type
     static const uint sublegbits = GncInt128::legbits / 2;
                  ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:43:56: error:
'sublegbits' wa
s not declared in this scope
     static const uint64_t sublegmask = (UINT64_C(1) << sublegbits) - 1;
                                                        ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp: In member function
'GncInt12
8 GncInt128::gcd(GncInt128) const':
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:145:5: error: 'uint' was
not
declared in this scope
     uint k {};
     ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:145:10: error: expected
';' b
efore 'k'
     uint k {};
          ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:149:11: error: no match
for '
operator>>=' (operand types are 'GncInt128' and 'int')
         a >>= 1;
           ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:150:11: error: no match
for '
operator>>=' (operand types are 'GncInt128' and 'int')
         b >>= 1;
           ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:151:11: error: 'k' was
not de
clared in this scope
         ++k;
           ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:156:42: error: no match
for '
operator>>=' (operand types are 'GncInt128' and 'int')
         while (t && ((t & one) ^ one)) t >>= 1;  //B3 & B4
                                          ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:163:17: error: 'k' was
not de
clared in this scope
     return a << k;
                 ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp: At global scope:
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:177:16: error:
'GncInt128 Gnc
Int128::pow' is not a static member of 'class GncInt128'
 GncInt128::pow(uint b) const noexcept
                ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:177:16: error: 'uint'
was not
 declared in this scope
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:177:24: error: expected
',' o
r ';' before 'const'
 GncInt128::pow(uint b) const noexcept
                        ^
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp: In member function
'GncInt12
8 GncInt128::gcd(GncInt128) const':
c:/gcdev/gnucash.git/src/libqof/qof/gnc-int128.cpp:164:1: error: control
reaches
 end of non-void function [-Werror=return-type]
 }
 ^
At global scope:
cc1plus.exe: error: unrecognized command line option
"-Wno-deprecated-register"
[-Werror]
cc1plus.exe: all warnings being treated as errors
make[5]: *** [gnc-int128.lo] Error 1
make[5]: Leaving directory `/c/gcdev/gnucash/build/src/libqof/qof'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/c/gcdev/gnucash/build/src/libqof/qof'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/gcdev/gnucash/build/src/libqof'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/gcdev/gnucash/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/gcdev/gnucash/build'
make: *** [all] Error 2


More information about the gnucash-devel mailing list