[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] Undfined references when buildign with MinGW
From: |
Bruno Haible |
Subject: |
Re: [bug-libunistring] Undfined references when buildign with MinGW |
Date: |
Sun, 24 Mar 2019 20:35:51 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
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.
Bruno