AqBanking on Win32 - GWEN_TYPE_UINT32 undefined

Gary Bartlett Gary at GaryBartlett.com
Mon Jun 22 16:26:22 EDT 2009


Hi Derek.

Yes, I have the latest copy of packaging/win32 from SVN.  I bit the bullet
and decided to install the QT Windows binaries (V4.2.2 as recommended on the
GnuCash Windows Wiki), and so I removed my "AQBANKING_WITH_QT=no" setting
from my custom.sh (I left "AQBANKING3=no" so that it would try to build the
more stable 2.3.3 version of aqbanking), and set QTDIR accordingly.

Now, the build gets much further, getting past the various MOC and UI3
steps.  But I still end up with an aborted make (this time with a compile
error):

...
make[5]: Entering directory
`/c/soft/tmp/aqbanking-2.3.3/src/libs/aqbanking/types'
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../../../.. -I../../../../headers
-I/c/soft/gwenhywfar/include/gwenhywfar3 -I/c/soft/qt-win-4.2.2/include
-I/c/soft/qt-win-4.2.2/include/Qt -I/c/soft/qt-win-4.2.2/include/QtCore
-I/c/soft/qt-win-4.2.2/include/QtGui
-I/c/soft/qt-win-4.2.2/include/Qt3Support -mms-bitfields -mms-bitfields
-mms-bitfields -mms-bitfields  -I/c/soft/libofx/include
-I/c/soft/gwenhywfar/include -I/c/soft/gnome/include   -DBUILDING_AQBANKING
-g -O2 -g -Wall -Wdeclaration-after-statement -MT accstatus.lo -MD -MP -MF
".deps/accstatus.Tpo" -c -o accstatus.lo accstatus.c; \
then mv -f ".deps/accstatus.Tpo" ".deps/accstatus.Plo"; else rm -f
".deps/accstatus.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../headers
-I/c/soft/gwenhywfar/include/gwenhywfar3 -I/c/soft/qt-win-4.2.2/include
-I/c/soft/qt-win-4.2.2/include/Qt -I/c/soft/qt-win-4.2.2/include/QtCore
-I/c/soft/qt-win-4.2.2/include/QtGui
-I/c/soft/qt-win-4.2.2/include/Qt3Support -mms-bitfields -mms-bitfields
-mms-bitfields -mms-bitfields -I/c/soft/libofx/include
-I/c/soft/gwenhywfar/include -I/c/soft/gnome/include -DBUILDING_AQBANKING -g
-O2 -g -Wall -Wdeclaration-after-statement -MT accstatus.lo -MD -MP -MF
.deps/accstatus.Tpo -c accstatus.c  -DDLL_EXPORT -DPIC -o .libs/accstatus.o
accstatus.c: In function `AB_AccountStatus_fromDb':
accstatus.c:70: error: `GWEN_TYPE_UINT32' undeclared (first use in this
function)
accstatus.c:70: error: (Each undeclared identifier is reported only once
accstatus.c:70: error: for each function it appears in.)
accstatus.c:70: error: syntax error before "i"
accstatus.c:75: error: `i' undeclared (first use in this function)
make[5]: *** [accstatus.lo] Error 1
make[5]: Leaving directory
`/c/soft/tmp/aqbanking-2.3.3/src/libs/aqbanking/types'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/c/soft/tmp/aqbanking-2.3.3/src/libs/aqbanking'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/soft/tmp/aqbanking-2.3.3/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/soft/tmp/aqbanking-2.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/soft/tmp/aqbanking-2.3.3'
make: *** [all] Error 2


Any thoughts on this?

Thanks,
Gary

On Mon, Jun 22, 2009 at 7:57 AM, Derek Atkins <warlord at mit.edu> wrote:

> Hi,
>
> Gary Bartlett <Developer at GaryBartlett.com> writes:
>
> > I'm trying to build the SVN version of GnuCash for the first time on a
> clean
> > Windows installation using the packaging/win32/install.sh script, with a
> > custom.sh setting that includes "AQBANKING_WITH_QT=no" (I've also tried
> > adding "AQBANKING3=no").  But when the install procedure gets to the
> > AqBanking module, the build fails (with several 'program not found'
> errors)
> > because there is no makefile definition for $(qt3_moc) or $(RC).  Where
> are
> > these definitions supposed to come from?  Or can anyone give me any tips
> on
> > getting past these errors?  I think I've followed all the steps needed as
> > specified on the Windows Wiki page (I have not installed any QT
> components).
> >
> > The config.log file seems to list RC='windres', but this, seemingly,
> doesn't
> > make it into any Makefiles.  It also lists $(qt3_moc)=''.
>
> Do you have a fully updates packaging/win32 directory from SVN?
> I got this all working last weekend.  AqB 3.8.3 doesn't work on
> Win32 out of the box, but the fully updated packaging/win32 should
> have everything you need to build it.
>
> > Thanks,
> > Gary
>
> -derek
>
> --
>       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>       Member, MIT Student Information Processing Board  (SIPB)
>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>       warlord at MIT.EDU                        PGP key available
>


More information about the gnucash-devel mailing list