I got error during build gnucash win32 package under windows.
Tao Wang
dancefire at gmail.com
Tue May 4 23:36:58 EDT 2010
Hi,
It begin build aqbanking, however, I got this error:
Creating library file: .libs/libaqbanking.dll.a
.libs/account.o: In function `fprintf':
c:/soft/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:246:
undefined reference to `__mingw_vfprintf'
.libs/bankinfoplugin.o: In function `fprintf':
c:/soft/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdio.h:246:
undefined reference to `__mingw_vfprintf'
...
I googled, and found Keith said at
http://sourceforge.net/tracker/index.php?func=detail&aid=2816071&group_id=2435&atid=102435
--------------------------------
__mingw_vfprintf is provided by libmingwex.a, in mingwrt-3.15 and later.
--------------------------------
And the default mingw-runtime is 3.15-1, so everything should fine,
why this happened? How should I fix it?
BTW, is there a faster way to build gnucash-bin? I just modify a
single .c file, and have to wait about 10 mins to see the compile
error if I run ./install.sh again. The cycle is too long.
On Wed, May 5, 2010 at 7:17 AM, Geert Janssens
<janssens-geert at telenet.be> wrote:
> On Tuesday 4 May 2010, Geert Janssens wrote:
>> On Tuesday 4 May 2010, Tao Wang wrote:
>> > Hi,
>> >
>> > I followed the instructions on :
>> > http://wiki.gnucash.org/wiki/Windows#Instructions_for_an_.28almost.29_aut
>> >om ated_build
>> >
>> > /c/soft/packaging/win32/install.sh is ok, works fine.
>> >
>> > However, when I run
>> >
>> > rm -rf /c/soft/gnucash/dist
>> > /c/soft/packaging/win32/dist.sh
>> >
>> > I got error:
>> > =============
>> > !!! Detected multiple directories where only one was expected; please
>> > delete all but the latest on:
>> > /c/soft/gnucash/inst/../dist/lib/aqbanking/plugins/*/wizards !!!
>> > !!! ABORTING !!!
>> > =============
>> >
>> > However, I only found one directory in "plugins", and there is no
>> > "wizard" in that directory.
>>
>> The message is a bit misleading. There should be exactly one wizards
>> directory inside plugins/*. When this test code was written, it happened
>> regularly that there were two or three directories (due to previous builds
>> no properly cleaning up). But having no directories is an error as well,
>> yet the message was not formulated for this.
>>
>> > One thing I need to mention is that I was disabled AqBanking by
>> > "AQBANKING_WITH_QT=no" at first, however, I found without this
>> > enabled, I cannot make win32 package, so I remove the line in
>> > custom.sh, which is empty now, and do install.sh, rm, dist.sh again,
>> > then I got that error.
>>
>> You should remove the directory in which aqbanking was installed and run
>> install.sh again.
>> The script is not clever enough to detect a change in AQBANKING_WITH_QT to
>> rebuild aqbanking.
>>
>> Geert
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>
> As I find this message very confusing, I have changed it in r19100.
>
> Geert
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Regards
Tao Wang
More information about the gnucash-devel
mailing list