Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Do I Get a Build Error in sa_sys.h on the Line " --> Error invalid system type"?

Primary Software: MATRIXx
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
When I try to build code generated by AutoCode I get an error in sa_sys.h on the Line " --> Error invalid system type". Why am I getting this error and what should I do?

Solution:
Sa_sys.h defines different parameters based on the operating system type. If an operating system is defined then the compiler should not reach the line " --> Error invalid system type". Getting an error on this line indicates that the system type has not been defined.

To fix this error, define the system type either with a #define statement or a compiler directive.
  • There is a list of possible defines in sa_sys.h. For example Solaris would be #define SOLARIS 1.
  • There is a list of compiler directives in Section 2 - Standalone Simulation of the AutoCode Reference Manual. For Solaris you would use acc -DSOLARIS


Related Links:
Manual: Autocode Reference
Manual: Autocode User Guide

Attachments:





Report Date: 04/22/2003
Last Updated: 02/09/2006
Document ID: 2WLDPMOH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit