[Pixman] Static libpixman-1.a Linking Errors on Windows

Jordan Irwin antumdeluge at gmail.com
Wed Jul 24 00:39:11 UTC 2019


This is the configuration I use for building:

  CFLAGS+=" -Wno-implicit-function-declaration"
  ../${_realname}-${pkgver}/configure \
    --prefix=${MINGW_PREFIX} \
    --build=${MINGW_CHOST} \
    --host=${MINGW_CHOST} \
    --enable-win32 \
    --enable-win32-font \
    --enable-png \
    --enable-shared=no \
    --enable-static \
    --enable-gobject \
    --enable-tee \
    --disable-xlib \
    --disable-xcb \
    --enable-fc \
    --enable-ft \
    --disable-silent-rules \
    LIBS="-lharfbuzz -lbz2" \
    ac_cv_prog_GS=${MINGW_PREFIX}/bin/gsc


On Tue, Jul 23, 2019 at 5:31 PM Jordan Irwin <antumdeluge at gmail.com> wrote:

> I am having trouble linking cairo with static pixman library on Windows
> system using MSYS2/MinGW <https://www.msys2.org/>:
>
> libtool: link: ranlib .libs/libcairoboilerplate.a
> C:/Development/MSYS2/mingw32/lib/libpixman-1.a(pixman-x86.c.obj):(.text+0x204):
> undefined reference to `_pixman_implementation_create_mmx'
> C:/Development/MSYS2/mingw32/lib/libpixman-1.a(pixman-x86.c.obj):(.text+0x213):
> undefined reference to `_pixman_implementation_create_sse2'
> C:/Development/MSYS2/mingw32/lib/libpixman-1.a(pixman-x86.c.obj):(.text+0x1b8):
> undefined reference to `_pixman_implementation_create_ssse3'
>
>
> Is something wrong with my libpixman-1.a static library? I've searched
> around on the web & haven't found anything in reference to the errors I am
> receiving. I also sent a message on the Cairo IRC channel
> <https://webchat.freenode.net/?channels=#cairo> but haven't received an
> answer yet.
>
> Trying to build cairo 1.16.0. pixman library is 0.38.4.
>
> Thank you,
> - Jordan
>
> http://antumdeluge.wordpress.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pixman/attachments/20190723/140ca72b/attachment.html>


More information about the Pixman mailing list