The message was complaining about the &#39;errcode&#39; variable in regex.c<br>I changed regex.c code at lines 4876, 4877, 4885, 4886, 4893 and replaced all occurences of &#39;errcode&#39; in the regerror function with &#39;errcode2&#39;.&nbsp; Then mapserver compiled :)&nbsp;&nbsp; <br>