Technical article 126502

OSR6:UX:acomp: ERROR: "test.c", line 1: cannot find include file: <stdio.h>

OpenServer 6.0.0

Written · Last revised

Problem

I am trying to compile some code using the

-Kosr option

and I am getting the error similar to:

UX:acomp: ERROR: "test.c", line 1: cannot find include file: <stdio.h>

Cause

The SCO OpenServer 6 Development Kit has not been installed.

Solution

While the C Compiler is included as part of the base OpenServer 6 Operating System, the OpenServer 5 ABI libraries, header files and tools are not.

To be able to compile your source to create an OpenServer 5 binary using the -Kosr switch you must install the SCO OpenServer 6 Development Kit.

You will find the Development Kit on CD1 of your OpenServer 6 Media Kit.

NOTE: You will need to purchase a license to use the Development Kit.

From the Xinuos technical article database, record 126502. Reproduced with permission. The original is at www.sco.com/ta/126502, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.