Thanks Allan

This would appear to be a problem with kmymoney. I have compiled kmymoney correctly in the past but it was 4.6.1 which is the same version as can be downloaded as a binary.

At the suggestion of this list I am trying to compile kmymoney 4.6.4 and now I am getting these errors (plus others I have resolved)

I am assuming something in kmymoney has changed and introduced this error. Its probably a flag but I cant find it.

DC

P.S. I hadn't searched for just "_imp__" there is a lot of chatter about it isn't there, I couldn't find anything specific but I'll keep looking.


On 5/03/2014 10:41 PM, Allan wrote:
On 05/03/14 11:58, Chris wrote:
At the risk of having a conversation entirely with myself...

Well, at least you have one reader!  Sadly, though, not a helper.

However, doing a google did show of an issue when using Mingw. Whether they may help you, I don't know. However, they do show you are not alone.

Allan




I have discovered that the libraries in fact do have the _imp__ prefix

it appears there is a missing underscore

when I grep for one of the missing functions I get the following

r:\lib>nm *.a | grep _ZNK7KLocale28negativeMonetarySignPositionEv
00000000 T __ZNK7KLocale28negativeMonetarySignPositionEv
00000000 I __imp___ZNK7KLocale28negativeMonetarySignPositionEv

Clearly the prefix is there. but it looks like its missing the first
underscore

The prefix is __imp__ whereas the linker is looking for _imp__

Any ideas how I can resolve this??

DC



On 5/03/2014 9:57 PM, Chris wrote:
I am resending this as it seems to have not gone to the list. My
apologies if you get it twice.

...

When compiling kmymoney 4.6.4 on windows it appears my imports and
exports are somehow out of sync

I get a huge number of unresolved references as I have previously
mentioned.

It appears the problem is that the libraries are built without the
windows specific "_imp__" on the exports but when I am compiling
kmymoney the linker is expecting the "_imp__" + mangled name

for example the linker is looking for
_imp___ZNK7KLocale28negativeMonetarySignPositionEv
but the export is called _ZNK7KLocale28negativeMonetarySignPositionEv

I assume I have to pass another flag or remove a flag from gcc to tell
it to look for the correct export. but I am not sure how to do this.

Any pointers would be greatly appreciated.


DC

_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel


_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to