[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] Undfined references when buildign with MinGW
From: |
Tim Rühsen |
Subject: |
Re: [bug-libunistring] Undfined references when buildign with MinGW |
Date: |
Sun, 24 Mar 2019 20:47:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Hi Bruno,
On 24.03.19 20:35, Bruno Haible wrote:
> Hi Tim,
>
>> lastest git master stops building with MinGW with the following output:
>>
>>
>> /usr/bin/x86_64-w64-mingw32-ld: cannot export UC_CATEGORY_C: symbol not
>> defined
>
> It works for me. I proceed as follows:
> 1) On a Linux machine:
> ./autogen.sh
> ./configure
> make dist
> 2) Transfer the tarball to a Windows machine.
> 3) Follow the INSTALL.windows file.
> The configure command, for 64-bit mingw, is
> ../configure --host=x86_64-w64-mingw32 --prefix=/usr/local/mingw64 \
> CC=x86_64-w64-mingw32-gcc \
> CXX=x86_64-w64-mingw32-g++ \
> CPPFLAGS="-I/usr/local/mingw64/include -Wall" \
> LDFLAGS="-L/usr/local/mingw64/lib"
>
> You haven't told how you generated the tarball and with which configure
> arguments you configured the package. I cannot guess these.
Just today I couldn't reproduce it with a fresh git clone.
It looks like (since I am on a different machine now) that the issue
came up after a 'git pull' on master. I (ir)regularly update
libunistring that way and "./autogen.sh && ./configure && make clean &&
make". Never had such a problem before.
I am not sure how the status is on my other machine, will check
tomorrow. But maybe I already removed and re-installed the libunistring
directory. If I can reproduce, I'll let you know more details.
Thanks for looking into it.
Regards, Tim
signature.asc
Description: OpenPGP digital signature