the problem is that strlen is included in C++ namespace instead of C.<div><br></div><div><div>%svn diff include/</div><div>Index: include/iprt/string.h</div><div>===================================================================</div>
<div>--- include/iprt/string.h       (revision 35623)</div><div>+++ include/iprt/string.h       (working copy)</div><div>@@ -38,6 +38,7 @@</div><div> # include "xf86_ansic.h"</div><div> RT_C_DECLS_END</div><div>
 #elif defined(RT_OS_FREEBSD) && defined(_KERNEL)</div><div>+RT_C_DECLS_BEGIN</div><div> /** @todo</div><div>  * XXX: Very ugly hack to get things build on recent FreeBSD builds. They have</div><div>  * memchr now and we need to include param.h to get __FreeBSD_version and make</div>
<div>@@ -65,6 +66,7 @@</div><div>    * Defining a macro using bcopy here</div><div>    */</div><div> # define memmove(dst, src, size) bcopy(src, dst, size)</div><div>+RT_C_DECLS_END</div><div> #elif defined(RT_OS_SOLARIS) && defined(_KERNEL)</div>
<div>   /*</div><div>    * Same case as with FreeBSD kernel:</div><div><br></div><br>-- <br>-Howard<br>
</div>