mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qdbm build crash.


From: Niels Kristian Bech Jensen
Subject: Re: [Mingw-cross-env-list] Qdbm build crash.
Date: Thu, 27 Jun 2013 14:05:21 +0200

The changes made no difference. I have attached the config.log.
 
The problem seems to be a link error with qdbm-test.c. It appears with i686-w64-mingw32 but not with i686-pc-mingw32.
 
Best regards,
Niels Kristian Bech Jensen

Subject: Re: [Mingw-cross-env-list] Qdbm build crash.
From: address@hidden
Date: Thu, 27 Jun 2013 21:01:25 +1000
CC: address@hidden
To: address@hidden


On 27/06/2013, at 12:51 AM, Niels Kristian Bech Jensen <address@hidden> wrote:

I get a crash while building qdbm. Build log attached.

Hi Niels,

Could you check if the below fixes it:

diff --git a/src/qdbm.mk b/src/qdbm.mk
index 162f946..dc11c94 100644
--- a/src/qdbm.mk
+++ b/src/qdbm.mk
@@ -19,6 +19,8 @@ endef
 define $(PKG)_BUILD
     find '$(1)' -name 'Makefile.in' \
         -exec $(SED) -i 's,make ,$(MAKE) ,g' {} \;
+    $(SED) -i 's,LD=`which ld`,LD=$(TARGET)-ld,' '$(1)/configure'
+    $(SED) -i 's,AR=`which ar`,AR=$(TARGET)-ar,' '$(1)/configure'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --prefix='$(PREFIX)/$(TARGET)' \


Otherwise, could you send `config.log`?

Cheers,

Tony

Attachment: config.log
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]