Re: Static libpixman-1.a Linking Errors on Windows

Jordan Irwin <[email protected]> Tue, 23 Jul 2019 20:29:28 -0700
Newsgroups gmane.comp.lib.cairo,gmane.comp.graphics.pixman
Message-ID <CAKzMRNtEAYyEzchG2pto0hu_F5e4q1Cfa5kG-946=qAqOtQ71g@mail.gmail.com>
--===============1704189635==
Content-Type: multipart/alternative; boundary="0000000000001b445c058e64ebbd"

--0000000000001b445c058e64ebbd
Content-Type: text/plain; charset="UTF-8"

I found the options -Dmmx=disabled -Dsse2=disabled -Dssse3=disabled for the
pixman library & going to try rebuilding. Perhaps those options are only
available in the shared version of the library?

On Tue, Jul 23, 2019 at 5:31 PM Jordan Irwin <[email protected]> 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/
>

--0000000000001b445c058e64ebbd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"color:rgb(36,39,41);font-f=
amily:Arial,&quot;Helvetica Neue&quot;,Helvetica,sans-serif;font-size:15px"=
>I found the options=C2=A0</span><code style=3D"margin:0px;padding:1px 5px;=
border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;fon=
t-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,&qu=
ot;Lucida Console&quot;,&quot;Liberation Mono&quot;,&quot;DejaVu Sans Mono&=
quot;,&quot;Bitstream Vera Sans Mono&quot;,&quot;Courier New&quot;,monospac=
e,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;back=
ground-color:rgb(239,240,241);white-space:pre-wrap;color:rgb(36,39,41)">-Dm=
mx=3Ddisabled -Dsse2=3Ddisabled -Dssse3=3Ddisabled</code><span style=3D"col=
or:rgb(36,39,41);font-family:Arial,&quot;Helvetica Neue&quot;,Helvetica,san=
s-serif;font-size:15px">=C2=A0for the pixman library &amp; going to try reb=
uilding. Perhaps those options are only available in the shared version of =
the library?</span>=C2=A0=C2=A0<br></div><br><div class=3D"gmail_quote"><di=
v dir=3D"ltr" class=3D"gmail_attr">On Tue, Jul 23, 2019 at 5:31 PM Jordan I=
rwin &lt;<a href=3D"mailto:[email protected]">[email protected]</a>=
&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div=
 dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">I am having troubl=
e linking cairo with static pixman library on Windows system using <a href=
=3D"https://www.msys2.org/" target=3D"_blank">MSYS2/MinGW</a>:<div><br></di=
v><blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><di=
v><font face=3D"courier new, monospace">libtool: link: ranlib .libs/libcair=
oboilerplate.a</font></div><div><font face=3D"courier new, monospace">C:/De=
velopment/MSYS2/mingw32/lib/libpixman-1.a(pixman-x86.c.obj):(.text+0x204): =
undefined reference to `_pixman_implementation_create_mmx&#39;</font></div>=
<div><font face=3D"courier new, monospace">C:/Development/MSYS2/mingw32/lib=
/libpixman-1.a(pixman-x86.c.obj):(.text+0x213): undefined reference to `_pi=
xman_implementation_create_sse2&#39;</font></div><div><font face=3D"courier=
 new, monospace">C:/Development/MSYS2/mingw32/lib/libpixman-1.a(pixman-x86.=
c.obj):(.text+0x1b8): undefined reference to `_pixman_implementation_create=
_ssse3&#39;</font></div></blockquote><div><br></div><div>Is something wrong=
 with my <font face=3D"courier new, monospace">libpixman-1.a</font> static =
library? I&#39;ve searched around on the web &amp; haven&#39;t found anythi=
ng in reference to the errors I am receiving. I also sent a message on the =
<a href=3D"https://webchat.freenode.net/?channels=3D#cairo" target=3D"_blan=
k">Cairo IRC channel</a> but haven&#39;t received an answer yet.</div><div>=
<br></div><div>Trying to build cairo 1.16.0. pixman library is 0.38.4.<br c=
lear=3D"all"><div><div dir=3D"ltr" class=3D"gmail-m_-5710679386342112553m_-=
3503309091312995490gmail_signature"><div dir=3D"ltr"><div><br>Thank you,<br=
></div>- Jordan<br><br><a href=3D"http://antumdeluge.wordpress.com/" target=
=3D"_blank">http://antumdeluge.wordpress.com/</a><br></div></div></div></di=
v></div>
</div></div>
</blockquote></div></div>

--0000000000001b445c058e64ebbd--

--===============1704189635==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCmNhaXJvIG1haWxpbmcgbGlzdApjYWlyb0BjYWlyb2dyYXBoaWNzLm9yZwpodHRwczovL2xp
c3RzLmNhaXJvZ3JhcGhpY3Mub3JnL21haWxtYW4vbGlzdGluZm8vY2Fpcm8=

--===============1704189635==--