<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hey,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I’m trying to build cairo release 1.12.16 against pixman release 0.32.6 on windows using VC2010.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Everything works fine if I use MMX=off with pixman, but if I enable MMX, cairo build fails with the following linker errors:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>[…]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cairo-pdf-operators.c<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cairo-pdf-shading.c<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cairo-deflate-stream.c<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> Creating library release/cairo.lib and object release/cairo.exp<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_psrlqi referenced in function shift<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_psllqi referenced in function shift<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pxor referenced in function negate<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pmulhuw referenced in function pix_multiply<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_paddusw referenced in function pix_multiply<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pmullw referenced in function pix_multiply<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_paddusb referenced in function pix_add<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pshufw referenced in function expand_alpha<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_porreferenced in function over_rev_non_pre<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_from_int referenced in function load<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_punpcklbw referenced in function load8888<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _mm_setzero_si64 referenced in function load8888<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_packuswb referenced in function pack8888<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_to_int referenced in function store<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pmovmskb referenced in function is_equal<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pcmpeqb referenced in function is_equal<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_psrlwi referenced in function expand565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pand referenced in function expand565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_punpckhwd referenced in function expand_4xpacked565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_punpcklwd referenced in function expand_4xpacked565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_psllwi referenced in function expand_4xpacked565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pcmpeqd referenced in function expand_4xpacked565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_punpckhbw referenced in function expand8888<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_pmaddwd referenced in function pack_4xpacked565<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_empty referenced in function mmx_combine_over_u<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_packssdw referenced in function scaled_bilinear_scanline_mmx_8888_8888_SRC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_psrldi referenced in function scaled_bilinear_scanline_mmx_8888_8888_SRC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _m_paddw referenced in function scaled_bilinear_scanline_mmx_8888_8888_SRC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>pixman-1.lib(pixman-mmx.obj) : error LNK2019: unresolved external symbol _mm_set_pi16 referenced in function scaled_bilinear_scanline_mmx_8888_8888_SRC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>release/cairo.dll : fatal error LNK1120: 29 unresolved externals<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>make[1]: *** [release/cairo.dll] Error 96<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I used<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>CFG_CFLAGS := -MD –Ox<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>LD_CFLAGS := -MACHINE:X64<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>on both pixman and cairo.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The error only occurs with MMX enabled in pixman!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Ideas? </span><span lang=EN-US style='font-family:Wingdings'>J</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Greetings,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;color:black;mso-fareast-language:DE'>--</span><span lang=EN-US style='font-size:10.0pt;color:black;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;color:black;mso-fareast-language:DE'>David Weiß</span><span lang=EN-US style='font-size:10.0pt;color:#E02129;mso-fareast-language:DE'> <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;color:#E02129;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;color:#E02129;mso-fareast-language:DE'>PTV GROUP</span><span lang=EN-US style='font-size:10.0pt;color:black;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;color:black;mso-fareast-language:DE'>Logistics Software Development<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;color:black;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;color:black;mso-fareast-language:DE'>Haid-und-Neu-Str. 15, 76131 Karlsruhe, Germany<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;color:black;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;mso-fareast-language:DE'><a href="mailto:david.weiss@ptvgroup.com"><span style='color:windowtext;text-decoration:none'>david.weiss</span><span style='color:windowtext;text-decoration:none'>@ptvgroup.com</span></a></span><span style='font-size:10.0pt;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;mso-fareast-language:DE'><a href="http://www.ptvgroup.com/"><span lang=DE style='color:windowtext;text-decoration:none'>www.ptvgroup.com</span></a></span><span style='font-size:10.0pt;mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;mso-fareast-language:DE'>http://ptv.to/facebook<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:7.0pt;color:black;mso-fareast-language:DE'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:7.0pt;color:black;mso-fareast-language:DE'>PTV Planung Transport Verkehr AG<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:7.0pt;color:black;mso-fareast-language:DE'>Headquarters: Karlsruhe<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:7.0pt;color:black;mso-fareast-language:DE'>Executive Board: Vincent Kobesen (CEO)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:7.0pt;color:black;mso-fareast-language:DE'>Chairman of the Supervisory Board: Dr. h.c. Frank-Jürgen Weise<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:7.0pt;color:black;mso-fareast-language:DE'>Commercial Register (HRB-Nr): 109262<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:7.0pt;color:black;mso-fareast-language:DE'>Local Court: Mannheim</span><span lang=EN-US style='mso-fareast-language:DE'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>