Reputation: 13
I'm working on xinu and I've changed some *.c
files: resched
, create
, initiali
, clkint
. I have also created a header file called newheader.h
and included it in the source files above like this
#include "hewheader.h"
The modified *.c
files and the newheader.h
(which contains three extern arrays) are saved in a directory called try
so they have the path: c:\xinu4win\newsrc\try
The problem is, when compiling I get this error:
Error: Unable to open include file "newheader.h"
Any ideas why?!
Upvotes: 0
Views: 1853
Reputation: 881103
Since from your image you appear to be using DosBox and (ugh!) Turbo C, that means you're running under DOS of some description.
So it will almost certainly still have the 8.3 limit on file names, meaning that newheader.h
will be too long.
Try shortening it to something that will fit within the confines of your environment, such as newhdr.h
(both for the file and the #include
).
Upvotes: 1