When using VxWorks653, the initial example does not use the Apex. Instead, it uses the regular vThreads library. In fact, there is no built-in example that works out of the box with the Apex. In case you are trying to figure out how to quickly add the Apex support from the original example, there is how to proceed (assuming the ARINC653 system project is called foobar):

  1. Edit the Makefile.vars from the foobar_PartitionOS project and add the following line at the end
    SSL_OBJS += apexComponent.o
  2. Edit the foobar_PartitionOS.xml file in the foobar_PartitionOS project. You should have something like the following
<Shared_Library_API
    xmlns="http://www.windriver.com/vxWorks653/SharedLibraryAPI"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    Name="vThreads"
    >

    <Interface>
    <Version Name="template"/>
    <xi:include href="$(WIND_BASE)/target/vThreads/config/comps/xml/vthreads.xml"/>
       <xi:include href="$(WIND_BASE)/target/vThreads/config/comps/xml/apex.xml"/>
   
    </Interface>
    
</Shared_Library_API>