We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 65920

2015.3 - Xilkernel - Compiler error relating to pthread_t in Xilkernel application


I have upgraded from Vivado Design Suite 2015.2 to the 2015.3 release. 

However, a previously working Xilkernel application is failing in SDK 2015.3 with the following error:

unknown type name 'pthread_attr_t'
unknown type name 'pthread_mutexattr_t'

How can I resolve this?


To address this, right click on the application, and select C/C++ Build Settings.

Under the MicroBlaze gcc compiler select Inferred Options -> Software Platform.

In the Software Platform Inferred Options, enter the following:

-D __XMK__

AR# 65920
Date Created 11/06/2015
Last Updated 11/11/2015
Status Active
Type General Article
  • Vivado Design Suite - 2015.3